summaryrefslogtreecommitdiff
path: root/devel/glib2/patches
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-07-19 11:22:00 +0000
committertonio <tonio@pkgsrc.org>2005-07-19 11:22:00 +0000
commit1c1bcf228243f42f22e2e2d42c0b56d31a0189f9 (patch)
tree08c4149caa9dc383ab1b17632833f3610a70c2cd /devel/glib2/patches
parentc8e0be10802d03b30154536ae3c706d58fd8d73a (diff)
downloadpkgsrc-1c1bcf228243f42f22e2e2d42c0b56d31a0189f9.tar.gz
fix for pkg/30455 (poll() in macosx tiger is not usable), by adding a patch-aj
file The patch is taken from http://bugzilla.gnome.org/show_bug.cgi?id=302672 Approved by jmmv@, wiz@
Diffstat (limited to 'devel/glib2/patches')
-rw-r--r--devel/glib2/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-aj b/devel/glib2/patches/patch-aj
new file mode 100644
index 00000000000..9214212878f
--- /dev/null
+++ b/devel/glib2/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2005/07/19 11:22:00 tonio Exp $
+
+--- glib/gmain.c.orig 2005-06-07 18:31:19.000000000 +0200
++++ glib/gmain.c 2005-06-07 18:32:01.000000000 +0200
+@@ -52,7 +52,7 @@
+ /* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
+ * so we prefer our own poll emulation.
+ */
+-#ifdef _POLL_EMUL_H_
++#ifdef __APPLE__
+ #undef HAVE_POLL
+ #endif
+