summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>1999-10-06 13:07:02 +0000
committeragc <agc>1999-10-06 13:07:02 +0000
commit9b0ceca84cfece6b9cad12f1b5790c57873af92f (patch)
tree7e5365259efe1409c1c9341a504bccd5725d272f
parent8c355c9db402258ab409c379e936b1eff8f16ed8 (diff)
downloadpkgsrc-9b0ceca84cfece6b9cad12f1b5790c57873af92f.tar.gz
Make this package compile on Solaris, FWIW.
-rw-r--r--devel/maketool/files/patch-sum3
-rw-r--r--devel/maketool/patches/patch-ac18
2 files changed, 20 insertions, 1 deletions
diff --git a/devel/maketool/files/patch-sum b/devel/maketool/files/patch-sum
index b1f4e91a2fc..a769a0abdbd 100644
--- a/devel/maketool/files/patch-sum
+++ b/devel/maketool/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.1.1.1 1999/09/17 14:40:45 fredb Exp $
+$NetBSD: patch-sum,v 1.2 1999/10/06 13:07:02 agc Exp $
MD5 (patch-aa) = ae3ea2156dc1bc82ab5ab26488c67743
MD5 (patch-ab) = 186474488d3ab4625db5ef715fd84ecf
+MD5 (patch-ac) = 9eb197189c10a2fc19eb578767f682b7
diff --git a/devel/maketool/patches/patch-ac b/devel/maketool/patches/patch-ac
new file mode 100644
index 00000000000..058cb014a77
--- /dev/null
+++ b/devel/maketool/patches/patch-ac
@@ -0,0 +1,18 @@
+$NetBSD: patch-ac,v 1.1 1999/10/06 13:07:04 agc Exp $
+
+Define FIONREAD on Solaris
+
+--- spawn.c 1999/10/06 12:59:44 1.1
++++ spawn.c 1999/10/06 13:01:57
+@@ -85,6 +85,11 @@
+ }
+ }
+
++#if defined(__sun__) && defined(__svr4__)
++/* for FIONREAD on Solaris */
++#include <sys/filio.h>
++#endif
++
+ static void
+ spawn_output_input(gpointer data, gint source, GdkInputCondition condition)
+ {