summaryrefslogtreecommitdiff
path: root/graphics/gnuplot
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-03-03 22:22:32 +0000
committerhubertf <hubertf@pkgsrc.org>1999-03-03 22:22:32 +0000
commit26d97dc7636373f2089d056b53445e6d4af1ad85 (patch)
tree1727394199ca22a9446e15955be4f958a581e098 /graphics/gnuplot
parent9a15f658d4193082287c86c50e4067cf76777bc2 (diff)
downloadpkgsrc-26d97dc7636373f2089d056b53445e6d4af1ad85.tar.gz
Add to #define unix, per PR 7079 by Jaromir Dolecek <dolecek@ics.muni.cz>
Diffstat (limited to 'graphics/gnuplot')
-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