diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-08-19 14:39:02 +0000 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-08-19 14:39:02 +0000 |
commit | 220108ffc1e4104514b7b7a08f2239a16ec90e9c (patch) | |
tree | 15f0696ed5e9fb380e66b3e091c808dbe2fae0eb | |
parent | 0e24547af13d316e0e2c985cffab67e404ef49c2 (diff) | |
download | FreeBSD-ports-220108ffc1e4104514b7b7a08f2239a16ec90e9c.zip FreeBSD-ports-220108ffc1e4104514b7b7a08f2239a16ec90e9c.tar.gz |
MFH: r448283
Unbreak this port
PR: 221334
Reported by: pi
Approved by: ports-secteam (blanket)
-rw-r--r-- | graphics/gmt/Makefile | 2 | ||||
-rw-r--r-- | graphics/gmt/files/patch-src-gmt_io.c | 14 | ||||
-rw-r--r-- | graphics/gmt/files/patch-src-gmtmath.c | 14 | ||||
-rw-r--r-- | graphics/gmt/files/patch-src-grdmath.c | 14 | ||||
-rw-r--r-- | graphics/gmt/files/patch-src-misc-gmtdigitize.c | 14 |
5 files changed, 56 insertions, 2 deletions
diff --git a/graphics/gmt/Makefile b/graphics/gmt/Makefile index e96aa96..3b6daac 100644 --- a/graphics/gmt/Makefile +++ b/graphics/gmt/Makefile @@ -25,8 +25,6 @@ LICENSE_COMB= multi LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_LGPL3= ${GSHHG_DISTNAME}${EXTRACT_SUFX} -BROKEN= fails to build - LIB_DEPENDS= libnetcdf.so:science/netcdf RUN_DEPENDS= bash:shells/bash diff --git a/graphics/gmt/files/patch-src-gmt_io.c b/graphics/gmt/files/patch-src-gmt_io.c new file mode 100644 index 0000000..f048f58 --- /dev/null +++ b/graphics/gmt/files/patch-src-gmt_io.c @@ -0,0 +1,14 @@ +--- src/gmt_io.c.orig 2016-03-07 01:35:42 UTC ++++ src/gmt_io.c +@@ -80,11 +80,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #define GMT_WITH_NO_PS + #include "gmt.h" diff --git a/graphics/gmt/files/patch-src-gmtmath.c b/graphics/gmt/files/patch-src-gmtmath.c new file mode 100644 index 0000000..fef1c4c --- /dev/null +++ b/graphics/gmt/files/patch-src-gmtmath.c @@ -0,0 +1,14 @@ +--- src/gmtmath.c.orig 2016-03-07 01:35:42 UTC ++++ src/gmtmath.c +@@ -61,11 +61,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #include "gmt.h" + diff --git a/graphics/gmt/files/patch-src-grdmath.c b/graphics/gmt/files/patch-src-grdmath.c new file mode 100644 index 0000000..51d98b6 --- /dev/null +++ b/graphics/gmt/files/patch-src-grdmath.c @@ -0,0 +1,14 @@ +--- src/grdmath.c.orig 2016-03-07 01:35:42 UTC ++++ src/grdmath.c +@@ -51,11 +51,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #include "gmt.h" + diff --git a/graphics/gmt/files/patch-src-misc-gmtdigitize.c b/graphics/gmt/files/patch-src-misc-gmtdigitize.c new file mode 100644 index 0000000..78d57d8 --- /dev/null +++ b/graphics/gmt/files/patch-src-misc-gmtdigitize.c @@ -0,0 +1,14 @@ +--- src/misc/gmtdigitize.c.orig 2016-03-07 01:35:42 UTC ++++ src/misc/gmtdigitize.c +@@ -38,11 +38,7 @@ + */ + + /* Circumvent Solaris problem. See bug #817 */ +-#ifdef __FreeBSD__ +-#define _XOPEN_SOURCE +-#else + #define _XOPEN_SOURCE 600 +-#endif + + #ifdef HAVE_UNISTD_H + #include <unistd.h> |