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