[92321] trunk/dports/textproc/wv2

ryandesign at macports.org ryandesign at macports.org
Tue Apr 24 19:30:17 PDT 2012


Revision: 92321
          https://trac.macports.org/changeset/92321
Author:   ryandesign at macports.org
Date:     2012-04-24 19:30:17 -0700 (Tue, 24 Apr 2012)
Log Message:
-----------
wv2: fix build failure with glib2 @2.32; see #34197

Modified Paths:
--------------
    trunk/dports/textproc/wv2/Portfile

Added Paths:
-----------
    trunk/dports/textproc/wv2/files/
    trunk/dports/textproc/wv2/files/patch-src-olestream.h.diff

Modified: trunk/dports/textproc/wv2/Portfile
===================================================================
--- trunk/dports/textproc/wv2/Portfile	2012-04-25 02:17:27 UTC (rev 92320)
+++ trunk/dports/textproc/wv2/Portfile	2012-04-25 02:30:17 UTC (rev 92321)
@@ -4,6 +4,7 @@
 
 name            wv2
 version         0.2.3
+revision        1
 categories      textproc
 maintainers     nomaintainer
 description     A library for reading Microsoft Word files.
@@ -20,7 +21,9 @@
                 port:libgsf \
                 port:libxml2
 
-patch {
+patchfiles      patch-src-olestream.h.diff
+
+post-patch {
     reinplace "s|-pedantic||g" ${worksrcpath}/configure
 }
 configure.args  --mandir=${prefix}/share/man

Added: trunk/dports/textproc/wv2/files/patch-src-olestream.h.diff
===================================================================
--- trunk/dports/textproc/wv2/files/patch-src-olestream.h.diff	                        (rev 0)
+++ trunk/dports/textproc/wv2/files/patch-src-olestream.h.diff	2012-04-25 02:30:17 UTC (rev 92321)
@@ -0,0 +1,11 @@
+--- src/olestream.h.orig	2009-03-03 17:32:51.000000000 -0600
++++ src/olestream.h	2012-04-24 21:25:47.000000000 -0500
+@@ -23,7 +23,7 @@
+ #include "global.h"  // U8,... typedefs
+ #include <stack>
+ 
+-#include <glib/giochannel.h> // GSeekType
++#include <glib.h> // GSeekType
+ 
+ namespace wvWare {
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120424/75aeb2ae/attachment.html>


More information about the macports-changes mailing list