Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 04:49:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448283 - in head/graphics/gmt: . files
Message-ID:  <201708190449.v7J4nSOv020439@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug 19 04:49:28 2017
New Revision: 448283
URL: https://svnweb.freebsd.org/changeset/ports/448283

Log:
  Unbreak this port
  
  PR:		221334
  Reported by:	pi
  MFH:		2017Q3

Added:
  head/graphics/gmt/files/patch-src-gmt_io.c   (contents, props changed)
  head/graphics/gmt/files/patch-src-gmtmath.c   (contents, props changed)
  head/graphics/gmt/files/patch-src-grdmath.c   (contents, props changed)
  head/graphics/gmt/files/patch-src-misc-gmtdigitize.c   (contents, props changed)
Modified:
  head/graphics/gmt/Makefile

Modified: head/graphics/gmt/Makefile
==============================================================================
--- head/graphics/gmt/Makefile	Sat Aug 19 04:48:49 2017	(r448282)
+++ head/graphics/gmt/Makefile	Sat Aug 19 04:49:28 2017	(r448283)
@@ -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
 

Added: head/graphics/gmt/files/patch-src-gmt_io.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gmt/files/patch-src-gmt_io.c	Sat Aug 19 04:49:28 2017	(r448283)
@@ -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"

Added: head/graphics/gmt/files/patch-src-gmtmath.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gmt/files/patch-src-gmtmath.c	Sat Aug 19 04:49:28 2017	(r448283)
@@ -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"
+ 

Added: head/graphics/gmt/files/patch-src-grdmath.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gmt/files/patch-src-grdmath.c	Sat Aug 19 04:49:28 2017	(r448283)
@@ -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"
+ 

Added: head/graphics/gmt/files/patch-src-misc-gmtdigitize.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gmt/files/patch-src-misc-gmtdigitize.c	Sat Aug 19 04:49:28 2017	(r448283)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708190449.v7J4nSOv020439>