summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/gmt/files/gmt-4.5.8-impl-dec.patch')
-rw-r--r--sci-geosciences/gmt/files/gmt-4.5.8-impl-dec.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-geosciences/gmt/files/gmt-4.5.8-impl-dec.patch b/sci-geosciences/gmt/files/gmt-4.5.8-impl-dec.patch
new file mode 100644
index 000000000000..5c63bb209578
--- /dev/null
+++ b/sci-geosciences/gmt/files/gmt-4.5.8-impl-dec.patch
@@ -0,0 +1,16 @@
+diff --git a/src/gmt.h b/src/gmt.h
+index d4c9c20..ea6ddc5 100644
+--- a/src/gmt.h
++++ b/src/gmt.h
+@@ -34,9 +34,11 @@ extern "C" {
+
+ /* GMT is POSIX.1 COMPLIANT */
+
++/*
+ #ifndef _POSIX_SOURCE
+ #define _POSIX_SOURCE 1
+ #endif
++*/
+
+ /* Declaration modifiers for DLL support (MSC et al) */
+ \ No newline at end of file