Can't makepatch to a port (graphics/py-gdal)

L.Bartoletti lbartoletti at tuxfamily.org
Fri Jan 19 06:02:10 UTC 2018


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?

Regards



More information about the freebsd-ports mailing list