summaryrefslogtreecommitdiff
path: root/community/dia/dia-0.97.2-glib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/dia/dia-0.97.2-glib.patch')
-rw-r--r--community/dia/dia-0.97.2-glib.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/dia/dia-0.97.2-glib.patch b/community/dia/dia-0.97.2-glib.patch
new file mode 100644
index 000000000..dcda07392
--- /dev/null
+++ b/community/dia/dia-0.97.2-glib.patch
@@ -0,0 +1,40 @@
+--- dia-0.97.2.orig/objects/custom/shape_typeinfo.c 2009-11-07 09:28:34.000000000 -0500
++++ dia-0.97.2/objects/custom/shape_typeinfo.c 2012-12-19 13:59:45.985417287 -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>
+
+ /*
+--- dia-0.97.2.orig/tests/test-boundingbox.c 2009-11-07 09:28:35.000000000 -0500
++++ dia-0.97.2/tests/test-boundingbox.c 2012-12-19 14:01:03.115674866 -0500
+@@ -26,11 +26,6 @@
+ #define G_LOG_DOMAIN "Dia"
+
+ #include <glib.h>
+-#include <glib-object.h>
+-
+-#if GLIB_CHECK_VERSION(2,16,0)
+-#include <glib/gtestutils.h>
+-#endif
+ #include "dialib.h"
+
+ /*
+--- dia-0.97.2.orig/tests/test-objects.c 2009-11-07 09:28:35.000000000 -0500
++++ dia-0.97.2/tests/test-objects.c 2012-12-19 14:01:43.978961390 -0500
+@@ -26,11 +26,6 @@
+ #define G_LOG_DOMAIN "Dia"
+
+ #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"