[91811] trunk/dports/gnome/dia

ryandesign at macports.org ryandesign at macports.org
Tue Apr 10 23:53:00 PDT 2012


Revision: 91811
          https://trac.macports.org/changeset/91811
Author:   ryandesign at macports.org
Date:     2012-04-10 23:52:59 -0700 (Tue, 10 Apr 2012)
Log Message:
-----------
dia: fix build with glib 2.32; see #33991

Modified Paths:
--------------
    trunk/dports/gnome/dia/Portfile

Added Paths:
-----------
    trunk/dports/gnome/dia/files/
    trunk/dports/gnome/dia/files/patch-glib-2.32.diff

Modified: trunk/dports/gnome/dia/Portfile
===================================================================
--- trunk/dports/gnome/dia/Portfile	2012-04-11 06:50:52 UTC (rev 91810)
+++ trunk/dports/gnome/dia/Portfile	2012-04-11 06:52:59 UTC (rev 91811)
@@ -29,6 +29,8 @@
 checksums       sha1    dc7ed6f8cd83acc8f421d28f30e4042fe370e9ba \
                 rmd160  f9270f1f2cb6ad505219463827d02e3759693796
 
+patchfiles      patch-glib-2.32.diff
+
 post-patch {
     reinplace s/isspecial/char_isspecial/ \
         ${worksrcpath}/objects/GRAFCET/boolequation.c

Added: trunk/dports/gnome/dia/files/patch-glib-2.32.diff
===================================================================
--- trunk/dports/gnome/dia/files/patch-glib-2.32.diff	                        (rev 0)
+++ trunk/dports/gnome/dia/files/patch-glib-2.32.diff	2012-04-11 06:52:59 UTC (rev 91811)
@@ -0,0 +1,36 @@
+--- objects/custom/shape_typeinfo.c.orig	2009-11-07 08:28:34.000000000 -0600
++++ objects/custom/shape_typeinfo.c	2012-04-11 01:39:00.000000000 -0500
+@@ -27,8 +27,7 @@
+ #include "custom_util.h"
+ #include <string.h>
+ #include <stdarg.h>
+-#include <glib/gstrfuncs.h>
+-#include <glib/gstdio.h>
++#include <glib.h>
+ #include <libxml/parser.h>
+ 
+ /*
+--- tests/test-boundingbox.c.orig	2009-11-07 08:28:35.000000000 -0600
++++ tests/test-boundingbox.c	2012-04-11 01:47:51.000000000 -0500
+@@ -28,9 +28,6 @@
+ #include <glib.h>
+ #include <glib-object.h>
+ 
+-#if GLIB_CHECK_VERSION(2,16,0)
+-#include <glib/gtestutils.h>
+-#endif
+ #include "dialib.h"
+ 
+ /*
+--- tests/test-objects.c.orig	2009-11-07 08:28:35.000000000 -0600
++++ tests/test-objects.c	2012-04-11 01:46:51.000000000 -0500
+@@ -28,9 +28,6 @@
+ #include <glib.h>
+ #include <glib-object.h>
+ 
+-#if GLIB_CHECK_VERSION(2,16,0)
+-#include <glib/gtestutils.h>
+-#endif
+ 
+ #include "object.h"
+ #include "plug-ins.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120410/a44ab34b/attachment.html>


More information about the macports-changes mailing list