summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortv <tv>2004-04-27 19:08:34 +0000
committertv <tv>2004-04-27 19:08:34 +0000
commit73e219c452f59a6b9bafbecde69acfea63a54681 (patch)
treeb51d4ce7ba9c507e8495c8c9c006c0041dcffd81 /devel
parent92b858853d4c82f89243777f696fec5ddfc3e7b3 (diff)
downloadpkgsrc-73e219c452f59a6b9bafbecde69acfea63a54681.tar.gz
Make work on Interix.
Diffstat (limited to 'devel')
-rw-r--r--devel/pkgconfig/distinfo3
-rw-r--r--devel/pkgconfig/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/pkgconfig/distinfo b/devel/pkgconfig/distinfo
index f2070947d74..c1ece1b2c6e 100644
--- a/devel/pkgconfig/distinfo
+++ b/devel/pkgconfig/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2003/02/14 21:14:38 salo Exp $
+$NetBSD: distinfo,v 1.6 2004/04/27 19:08:34 tv Exp $
SHA1 (pkgconfig-0.15.0.tar.gz) = 1019c8027c0cf94bca680886f4e2ae4e629a2a97
Size (pkgconfig-0.15.0.tar.gz) = 610697 bytes
+SHA1 (patch-aa) = 2f561ff86d639282b26aeb919b6de4ce1e1955f3
diff --git a/devel/pkgconfig/patches/patch-aa b/devel/pkgconfig/patches/patch-aa
new file mode 100644
index 00000000000..b8690e8c896
--- /dev/null
+++ b/devel/pkgconfig/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2004/04/27 19:08:34 tv Exp $
+
+--- glib-1.2.8/gmain.c.orig Tue Apr 27 14:56:29 2004
++++ glib-1.2.8/gmain.c
+@@ -49,6 +49,10 @@
+ # undef events /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
+ # undef revents /* AIX 4.1.5 & 4.3.2 define this for SVR3,4 compatibility */
+ #endif /* GLIB_HAVE_SYS_POLL_H */
++#ifdef __INTERIX
++/* SUS standard location is NOT <sys/poll.h> */
++#include <poll.h>
++#endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif /* HAVE_UNISTD_H */