summaryrefslogtreecommitdiff
path: root/x11/gtk2/patches
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2003-09-27 19:58:36 +0000
committerdanw <danw@pkgsrc.org>2003-09-27 19:58:36 +0000
commit769db3526042b5eb12c3145004ae3085c6e99101 (patch)
tree9db42f2ab13a941bf2ef55f3df36494eb8e5d758 /x11/gtk2/patches
parent8e755fb5179b2918978b0199a908faa4431b2c05 (diff)
downloadpkgsrc-769db3526042b5eb12c3145004ae3085c6e99101.tar.gz
fix an incorrect #ifdef in gtk-demo so this builds on Darwin
Diffstat (limited to 'x11/gtk2/patches')
-rw-r--r--x11/gtk2/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gtk2/patches/patch-ai b/x11/gtk2/patches/patch-ai
new file mode 100644
index 00000000000..f0c1b3afbe8
--- /dev/null
+++ b/x11/gtk2/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.5 2003/09/27 19:58:36 danw Exp $
+
+--- demos/gtk-demo/main.c.orig Tue Apr 15 21:43:16 2003
++++ demos/gtk-demo/main.c Tue Apr 15 21:43:22 2003
+@@ -96,7 +96,7 @@
+ {
+ int c;
+
+-#ifndef G_OS_WIN32
++#ifdef HAVE_FLOCKFILE
+ c = getc_unlocked (stream);
+ #else
+ c = getc (stream);