Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 12:13:16 +0300
From:      Sergey Akhmatov <sergey@akhmatov.ru>
To:        "L.Bartoletti" <lbartoletti@tuxfamily.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Can't makepatch to a port (graphics/py-gdal)
Message-ID:  <860e81f3-969b-d090-b88a-2d8c1433d81a@akhmatov.ru>
In-Reply-To: <c0fe6915-dc93-252c-3714-4ab2d4523047@tuxfamily.org>
References:  <c0fe6915-dc93-252c-3714-4ab2d4523047@tuxfamily.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 19/01/2018 09:01, L.Bartoletti wrote:
> Hi,
>
> A dummy question, but, I haven't be able to make a simple patch to a 
> port (graphics/py-gdal).
>
> My patch (using diff -u) is:
>
>    --- swig/include/gdal_array.i.orig      2018-01-19
>    06:46:50.571482000 +0100
>    +++ swig/include/gdal_array.i   2018-01-19 06:46:50.571393000 +0100
>    @@ -1065,6 +1065,7 @@
>
>      %pythoncode %{
>      import numpy
>    +from . import _gdal_array
>
>      import gdalconst
>      import gdal
>
> > make makepatch
>
> produces nothing
>
> running the "make patch", I got
>
> ===>  Patching for py27-gdal-2.2.3
> ===>  Applying FreeBSD patches for py27-gdal-2.2.3
> File to patch:
>
> and unable to apply the patch.
>
> Any hint?
>
Hello/

The port has
WRKSRC_SUBDIR=  swig/python

Everything, including 'make patch' is running inside this dir. 
swig/include is not there.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?860e81f3-969b-d090-b88a-2d8c1433d81a>