Revision
95994
Author
ryandesign@macports.org
Date
2012-07-27 14:51:29 -0700 (Fri, 27 Jul 2012)

Log Message

abiword-x11: fix build error with glib 2.32 (#35371)

Modified Paths

Added Paths

Diff

Modified: trunk/dports/editors/abiword-x11/Portfile (95993 => 95994)


--- trunk/dports/editors/abiword-x11/Portfile	2012-07-27 21:13:54 UTC (rev 95993)
+++ trunk/dports/editors/abiword-x11/Portfile	2012-07-27 21:51:29 UTC (rev 95994)
@@ -22,7 +22,8 @@
 
 distname	${dname}-${version}
 
-patchfiles      patch-configure.diff
+patchfiles      patch-configure.diff \
+                patch-glib-2.32.diff
 
 depends_build   port:pkgconfig
 

Added: trunk/dports/editors/abiword-x11/files/patch-glib-2.32.diff (0 => 95994)


--- trunk/dports/editors/abiword-x11/files/patch-glib-2.32.diff	                        (rev 0)
+++ trunk/dports/editors/abiword-x11/files/patch-glib-2.32.diff	2012-07-27 21:51:29 UTC (rev 95994)
@@ -0,0 +1,21 @@
+--- goffice-bits/goffice/app/goffice-app.h.orig	2007-01-16 17:17:27.000000000 -0600
++++ goffice-bits/goffice/app/goffice-app.h	2012-07-27 16:05:22.000000000 -0500
+@@ -22,7 +22,7 @@
+ #ifndef GOFFICE_APP_H
+ #define GOFFICE_APP_H
+ 
+-#include <glib/gmacros.h>
++#include <glib.h>
+ 
+ G_BEGIN_DECLS
+ 
+--- src/af/util/xp/ut_go_file.h.orig	2009-08-27 08:27:10.000000000 -0500
++++ src/af/util/xp/ut_go_file.h	2012-07-27 16:05:22.000000000 -0500
+@@ -31,7 +31,6 @@
+ 
+ #include <glib.h>
+ #include <gsf/gsf.h>
+-#include <glib/gerror.h>
+ #include <time.h>
+ 
+ G_BEGIN_DECLS