summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-05 01:48:12 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-05 01:48:12 +0800
commit303215c32028bc806c2061bbbfa6913126225998 (patch)
tree3a7cc76d4baf2d3267c3ce6cff327f60eaedbff9 /devel
parentd1b821bb6a81d3f15ec607fae1f3b85a0f503d02 (diff)
downloadmarcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar.gz
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar.bz2
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar.lz
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar.xz
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.tar.zst
marcuscom-ports-303215c32028bc806c2061bbbfa6913126225998.zip
Fix an #ifdef problem that caused a build failure in gnomegames2.
Obtained from: GNOME CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4382 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/glib20/Makefile3
-rw-r--r--devel/glib20/files/patch-glib_gstdio.h26
2 files changed, 28 insertions, 1 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 89a8d01c8..2b117e758 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -3,11 +3,12 @@
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/devel/glib20/Makefile,v 1.48 2005/08/02 19:58:20 adamw Exp $
+# $MCom: ports/devel/glib20/Makefile,v 1.49 2005/08/03 22:09:05 marcus Exp $
#
PORTNAME= glib
PORTVERSION= 2.7.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/2.7,} \
ftp://ftp.gtk.org/pub/gtk/v2.7/ \
diff --git a/devel/glib20/files/patch-glib_gstdio.h b/devel/glib20/files/patch-glib_gstdio.h
new file mode 100644
index 000000000..6431bae49
--- /dev/null
+++ b/devel/glib20/files/patch-glib_gstdio.h
@@ -0,0 +1,26 @@
+--- glib/gstdio.h.orig Thu Aug 4 13:44:25 2005
++++ glib/gstdio.h Thu Aug 4 13:45:06 2005
+@@ -25,10 +25,10 @@
+
+ #include <sys/stat.h>
+
+-#if defined(G_OS_UNIX) && !defined(G_STDIO_NO_WRAP_ON_UNIX)
+-
+ G_BEGIN_DECLS
+
++#if defined(G_OS_UNIX) && !defined(G_STDIO_NO_WRAP_ON_UNIX)
++
+ /* Just pass on to the system functions, so there's no potential for data
+ * format mismatches, especially with large file interfaces.
+ */
+@@ -100,8 +100,8 @@ FILE *g_freopen (const gchar *filename,
+ const gchar *mode,
+ FILE *stream);
+
+-G_END_DECLS
+-
+ #endif /* G_OS_UNIX */
++
++G_END_DECLS
+
+ #endif /* __G_STDIO_H__ */