From 303215c32028bc806c2061bbbfa6913126225998 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 4 Aug 2005 17:48:12 +0000 Subject: 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 --- devel/glib20/Makefile | 3 ++- devel/glib20/files/patch-glib_gstdio.h | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 devel/glib20/files/patch-glib_gstdio.h (limited to 'devel/glib20') 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 # # $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 + +-#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__ */ -- cgit v1.2.3