Can't makepatch to a port (graphics/py-gdal)
Sergey Akhmatov
sergey at akhmatov.ru
Fri Jan 19 09:24:59 UTC 2018
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.
More information about the freebsd-ports
mailing list