summaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-07 00:46:25 +0000
committerdholland <dholland@pkgsrc.org>2012-05-07 00:46:25 +0000
commit69b3cd29ebaaaf2911785d5e5d0b9b048867baee (patch)
tree8d5eba370d7c8dedfbf580729fcd7af5caa33b50 /graphics/dia
parent1b70ed353a84cc234916bc550b065bfebd3c5cdb (diff)
downloadpkgsrc-69b3cd29ebaaaf2911785d5e5d0b9b048867baee.tar.gz
More build fixes for new glib2.
Diffstat (limited to 'graphics/dia')
-rw-r--r--graphics/dia/distinfo4
-rw-r--r--graphics/dia/patches/patch-tests_test-boundingbox_c16
-rw-r--r--graphics/dia/patches/patch-tests_test-objects_c17
3 files changed, 36 insertions, 1 deletions
diff --git a/graphics/dia/distinfo b/graphics/dia/distinfo
index 54080cc0f1f..e1320bf98aa 100644
--- a/graphics/dia/distinfo
+++ b/graphics/dia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2012/05/06 20:25:02 dholland Exp $
+$NetBSD: distinfo,v 1.28 2012/05/07 00:46:25 dholland Exp $
SHA1 (dia-0.97.2.tar.xz) = dc7ed6f8cd83acc8f421d28f30e4042fe370e9ba
RMD160 (dia-0.97.2.tar.xz) = f9270f1f2cb6ad505219463827d02e3759693796
@@ -11,3 +11,5 @@ SHA1 (patch-cc) = 2dd4c822d8771e48ff1ac67946d765e5d8b85d50
SHA1 (patch-cd) = b7dd72a359fe6f36a56d2c16f94427c6977b0477
SHA1 (patch-da) = 4ed80c2a7eaa2dbbebd8265c8b74faac20c4f6c2
SHA1 (patch-objects_custom_shape__typeinfo_c) = 128477ab7cc363a490e042062379585800893626
+SHA1 (patch-tests_test-boundingbox_c) = f05fe01fd2d79bf5b519808aa491458040097fb7
+SHA1 (patch-tests_test-objects_c) = 759b788aa55e3256758514906c1ce812fb3b6aba
diff --git a/graphics/dia/patches/patch-tests_test-boundingbox_c b/graphics/dia/patches/patch-tests_test-boundingbox_c
new file mode 100644
index 00000000000..d0224d107f8
--- /dev/null
+++ b/graphics/dia/patches/patch-tests_test-boundingbox_c
@@ -0,0 +1,16 @@
+$NetBSD: patch-tests_test-boundingbox_c,v 1.1 2012/05/07 00:46:25 dholland Exp $
+
+Fix build with latest glib2.
+
+--- tests/test-boundingbox.c~ 2009-11-07 14:28:35.000000000 +0000
++++ tests/test-boundingbox.c
+@@ -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"
+
+ /*
diff --git a/graphics/dia/patches/patch-tests_test-objects_c b/graphics/dia/patches/patch-tests_test-objects_c
new file mode 100644
index 00000000000..5f9d60b3630
--- /dev/null
+++ b/graphics/dia/patches/patch-tests_test-objects_c
@@ -0,0 +1,17 @@
+$NetBSD: patch-tests_test-objects_c,v 1.1 2012/05/07 00:46:25 dholland Exp $
+
+Fix build with latest glib2.
+
+--- tests/test-objects.c~ 2009-11-07 14:28:35.000000000 +0000
++++ tests/test-objects.c
+@@ -28,10 +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"
+ #include "dialib.h"