summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-03-03 22:22:32 +0000
committerhubertf <hubertf>1999-03-03 22:22:32 +0000
commit4243c3e1d745419b3f1b1639692aeede3272d933 (patch)
tree1727394199ca22a9446e15955be4f958a581e098 /graphics/gnuplot/patches
parent03588a7aa45babbb487144e7dbf367e9f727d70e (diff)
downloadpkgsrc-4243c3e1d745419b3f1b1639692aeede3272d933.tar.gz
Add to #define unix, per PR 7079 by Jaromir Dolecek <dolecek@ics.muni.cz>
Diffstat (limited to 'graphics/gnuplot/patches')
-rw-r--r--graphics/gnuplot/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/gnuplot/patches/patch-ab b/graphics/gnuplot/patches/patch-ab
new file mode 100644
index 00000000000..feb0edb2402
--- /dev/null
+++ b/graphics/gnuplot/patches/patch-ab
@@ -0,0 +1,15 @@
+--- syscfg.h.orig Wed Mar 3 21:34:37 1999
++++ syscfg.h Wed Mar 3 21:40:43 1999
+@@ -190,6 +190,12 @@
+ # endif
+ #endif /* MSDOS */
+
++/* symbol unix is no longer defined under NetBSD after 1.3 */
++#ifdef __NetBSD__
++# undef unix
++# define unix
++#endif
++
+ /* Note: may not catch all IBM AIX compilers or SCO compilers */
+ #if defined(__unix__)|| defined(unix) || defined(_AIX) || defined(SCO)
+ # ifndef unix