diff options
author | wiz <wiz@pkgsrc.org> | 2015-06-09 08:55:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-06-09 08:55:22 +0000 |
commit | d09c60ba25d87cb41d3d67323582fd3dcb9d8a26 (patch) | |
tree | bd4e623f074b43326ab4347de16a15a1256a0def /graphics/dia | |
parent | 848c66fbf8462012e4c829962ab7512cc33257f9 (diff) | |
download | pkgsrc-d09c60ba25d87cb41d3d67323582fd3dcb9d8a26.tar.gz |
Update dia to 0.97.3, provided by David H. Gutteridge in PR 49954.
dia-0.97.3: 2014-09-05
* Fix double free with some SVG rendering (regression from Dia 0.97.2)
* Fixes to cope better with updated versions of Dia's dependencies:
- don't crash at start-up with ABI breaking GLib 2-36
- don't assert in cairo 1.12 with invalid arc parameters
- avoid kerning problems (character overlap) for all Pango versions
- fix image files to be loadable by libpng16
* Backport fixes for some seldom crashes and other annoyances, see:
http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.97.3
* Update translations for Brazilian Portuguese, German, Hungarian,
Polish, Romanian, Serbian and Slovenian
Diffstat (limited to 'graphics/dia')
-rw-r--r-- | graphics/dia/Makefile | 5 | ||||
-rw-r--r-- | graphics/dia/Makefile.common | 5 | ||||
-rw-r--r-- | graphics/dia/PLIST | 3 | ||||
-rw-r--r-- | graphics/dia/distinfo | 20 | ||||
-rw-r--r-- | graphics/dia/patches/patch-aa | 44 | ||||
-rw-r--r-- | graphics/dia/patches/patch-app_load_save.c | 24 | ||||
-rw-r--r-- | graphics/dia/patches/patch-app_render_gdk.c | 89 | ||||
-rw-r--r-- | graphics/dia/patches/patch-be | 11 | ||||
-rw-r--r-- | graphics/dia/patches/patch-cd | 8 | ||||
-rw-r--r-- | graphics/dia/patches/patch-objects_custom_shape__typeinfo_c | 15 | ||||
-rw-r--r-- | graphics/dia/patches/patch-plug-ins_postscript_diapsft2renderer.c | 18 | ||||
-rw-r--r-- | graphics/dia/patches/patch-tests_test-boundingbox_c | 16 | ||||
-rw-r--r-- | graphics/dia/patches/patch-tests_test-objects_c | 17 |
13 files changed, 70 insertions, 205 deletions
diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index 76de220df14..39b084927ff 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -1,10 +1,7 @@ -# $NetBSD: Makefile,v 1.90 2015/04/25 14:23:08 tnn Exp $ -# +# $NetBSD: Makefile,v 1.91 2015/06/09 08:55:22 wiz Exp $ .include "Makefile.common" -PKGREVISION= 23 - .include "options.mk" # just to convert the manpage diff --git a/graphics/dia/Makefile.common b/graphics/dia/Makefile.common index 55fefd101f4..e1a11fd0381 100644 --- a/graphics/dia/Makefile.common +++ b/graphics/dia/Makefile.common @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.28 2012/12/04 12:37:15 ryoon Exp $ +# $NetBSD: Makefile.common,v 1.29 2015/06/09 08:55:22 wiz Exp $ # # used by graphics/dia-python/Makefile -DISTNAME= dia-0.97.2 +DISTNAME= dia-0.97.3 PKGNAME= ${DISTNAME:S/dia-/dia${DIA_SUBPKG}-/} CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.97/} @@ -11,6 +11,7 @@ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://live.gnome.org/Dia COMMENT= Program for creating diagrams of all kinds +LICENSE= gnu-gpl-v2 DISTINFO_FILE= ${.CURDIR}/../../graphics/dia/distinfo PATCHDIR= ${.CURDIR}/../../graphics/dia/patches diff --git a/graphics/dia/PLIST b/graphics/dia/PLIST index 54fa1ecfb0f..77b3c8b753a 100644 --- a/graphics/dia/PLIST +++ b/graphics/dia/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.20 2012/01/18 18:36:51 drochner Exp $ +@comment $NetBSD: PLIST,v 1.21 2015/06/09 08:55:22 wiz Exp $ bin/dia lib/dia/libaadl_objects.la lib/dia/libart_filter.la @@ -1900,6 +1900,7 @@ share/locale/sl/LC_MESSAGES/dia.mo share/locale/sq/LC_MESSAGES/dia.mo share/locale/sr/LC_MESSAGES/dia.mo share/locale/sr@Latn/LC_MESSAGES/dia.mo +share/locale/sr@latin/LC_MESSAGES/dia.mo share/locale/sv/LC_MESSAGES/dia.mo share/locale/ta/LC_MESSAGES/dia.mo share/locale/th/LC_MESSAGES/dia.mo diff --git a/graphics/dia/distinfo b/graphics/dia/distinfo index e1e63d34f07..bb035357dd7 100644 --- a/graphics/dia/distinfo +++ b/graphics/dia/distinfo @@ -1,18 +1,14 @@ -$NetBSD: distinfo,v 1.31 2014/04/15 20:34:36 asau Exp $ +$NetBSD: distinfo,v 1.32 2015/06/09 08:55:22 wiz Exp $ -SHA1 (dia-0.97.2.tar.xz) = dc7ed6f8cd83acc8f421d28f30e4042fe370e9ba -RMD160 (dia-0.97.2.tar.xz) = f9270f1f2cb6ad505219463827d02e3759693796 -Size (dia-0.97.2.tar.xz) = 5507004 bytes -SHA1 (patch-aa) = ab5acd47ba4557aa8cc4a5abb3ce1f41ea5e2574 -SHA1 (patch-app_render_gdk.c) = 2bff345b8168ef731eb977f1850fd6a725224c78 -SHA1 (patch-be) = dab7626daefcd702b31f54d198311d9be921e1ff +SHA1 (dia-0.97.3.tar.xz) = 316393951daebd186ba387e1cd6e34160a458c39 +RMD160 (dia-0.97.3.tar.xz) = a984efa1663cc154f4394060af37fab146f99175 +Size (dia-0.97.3.tar.xz) = 5548500 bytes +SHA1 (patch-aa) = bad171ff4f379030f05c613b362e669a53d7f6da +SHA1 (patch-app_load_save.c) = ee6c58a9db031fc89c61939a6c3fce90dae75a8d +SHA1 (patch-be) = 08db7c440eea343895cced29522dd487f11d4773 SHA1 (patch-ca) = 8737f3ff19244e2f87ffb571da21159bc2248648 SHA1 (patch-cb) = 02210139cbf38e91a61ad1e090f63f5635bb26ef SHA1 (patch-cc) = 2dd4c822d8771e48ff1ac67946d765e5d8b85d50 -SHA1 (patch-cd) = b7dd72a359fe6f36a56d2c16f94427c6977b0477 +SHA1 (patch-cd) = d5fdf63320e59278b5c99a07b450161ffbc1789b SHA1 (patch-da) = 4ed80c2a7eaa2dbbebd8265c8b74faac20c4f6c2 -SHA1 (patch-objects_custom_shape__typeinfo_c) = 128477ab7cc363a490e042062379585800893626 -SHA1 (patch-plug-ins_postscript_diapsft2renderer.c) = c4933ba0133aca4e6816e796499f9710158f333d SHA1 (patch-plug-ins_postscript_paginate__psprint.c) = 59784ea73d32158f457e52132bc5c4cef375dcae -SHA1 (patch-tests_test-boundingbox_c) = f05fe01fd2d79bf5b519808aa491458040097fb7 -SHA1 (patch-tests_test-objects_c) = 759b788aa55e3256758514906c1ce812fb3b6aba diff --git a/graphics/dia/patches/patch-aa b/graphics/dia/patches/patch-aa index dc3a6b2ed7c..f3ba4a30285 100644 --- a/graphics/dia/patches/patch-aa +++ b/graphics/dia/patches/patch-aa @@ -1,9 +1,9 @@ -$NetBSD: patch-aa,v 1.8 2012/01/18 18:36:51 drochner Exp $ +$NetBSD: patch-aa,v 1.9 2015/06/09 08:55:23 wiz Exp $ ---- configure.orig 2011-04-25 13:04:56.000000000 +0000 +--- configure.orig 2014-09-05 11:08:16.000000000 -0400 +++ configure -@@ -18016,7 +18016,7 @@ $as_echo_n "checking for $am_display_PYT - if test "${am_cv_python_pythondir+set}" = set; then : +@@ -19308,7 +19308,7 @@ + if ${am_cv_python_pythondir+:} false; then : $as_echo_n "(cached) " >&6 else - am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || @@ -11,8 +11,8 @@ $NetBSD: patch-aa,v 1.8 2012/01/18 18:36:51 drochner Exp $ echo "$PYTHON_PREFIX/${py_lib}/python$PYTHON_VERSION/site-packages"` fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 -@@ -18034,7 +18034,7 @@ $as_echo_n "checking for $am_display_PYT - if test "${am_cv_python_pyexecdir+set}" = set; then : +@@ -19326,7 +19326,7 @@ + if ${am_cv_python_pyexecdir+:} false; then : $as_echo_n "(cached) " >&6 else - am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || @@ -20,25 +20,25 @@ $NetBSD: patch-aa,v 1.8 2012/01/18 18:36:51 drochner Exp $ echo "${PYTHON_EXEC_PREFIX}/${py_lib}/python${PYTHON_VERSION}/site-packages"` fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 -@@ -18121,18 +18121,18 @@ CPPFLAGS="$save_CPPFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpython${PYTHON_VERSION}.a" >&5 +@@ -19420,18 +19420,18 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpython${PYTHON_VERSION}.a" >&5 $as_echo_n "checking for libpython${PYTHON_VERSION}.a... " >&6; } --py_config_dir="$py_prefix/$py_lib/python${PYTHON_VERSION}/config" -+py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config" +- py_config_dir="$py_prefix/$py_lib/python${PYTHON_VERSION}/config" ++ py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config" - py_makefile="${py_config_dir}/Makefile" - if test -f "$py_makefile"; then - py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile` - py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile` + py_makefile="${py_config_dir}/Makefile" + if test -f "$py_makefile"; then + py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile` + py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile` -- if test -e "$PYTHON_PREFIX/${py_lib}/libpython${PYTHON_VERSION}.so"; then -+ if test -e "$PYTHON_PREFIX/lib/libpython${PYTHON_VERSION}.so"; then - PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +- if test -e "$PYTHON_PREFIX/${py_lib}/libpython${PYTHON_VERSION}.so"; then ++ if test -e "$PYTHON_PREFIX/lib/libpython${PYTHON_VERSION}.so"; then + PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } -- elif test -e "${py_prefix}/${py_lib}/libpython${PYTHON_VERSION}.a"; then -+ elif test -e "${py_prefix}/lib/libpython${PYTHON_VERSION}.a"; then - PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +- elif test -e "${py_prefix}/${py_lib}/libpython${PYTHON_VERSION}.a"; then ++ elif test -e "${py_prefix}/lib/libpython${PYTHON_VERSION}.a"; then + PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_basemodlibs $py_other_libs" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } diff --git a/graphics/dia/patches/patch-app_load_save.c b/graphics/dia/patches/patch-app_load_save.c new file mode 100644 index 00000000000..b5d18c433a4 --- /dev/null +++ b/graphics/dia/patches/patch-app_load_save.c @@ -0,0 +1,24 @@ +$NetBSD: patch-app_load_save.c,v 1.1 2015/06/09 08:55:23 wiz Exp $ + +Allow NetBSD and OpenBSD to compile by exposing the fchmod() prototype. +This has been reported upstream as: +https://bugzilla.gnome.org/show_bug.cgi?id=750536 + +--- app/load_save.c.orig 2014-08-24 11:46:01.000000000 -0400 ++++ app/load_save.c +@@ -19,7 +19,14 @@ + + /* so we get fdopen declared even when compiling with -ansi */ + #define _POSIX_C_SOURCE 200809L +-#define _BSD_SOURCE 1 /* to get the prototype for fchmod() */ ++/* to get the prototype for fchmod() */ ++#if defined(__NetBSD__) ++#define _NETBSD_SOURCE 1 ++#elif defined(__OpenBSD__) ++#define __BSD_VISIBLE 1 ++#else ++#define _BSD_SOURCE 1 ++#endif + + #include <sys/stat.h> + #ifdef HAVE_UNISTD_H diff --git a/graphics/dia/patches/patch-app_render_gdk.c b/graphics/dia/patches/patch-app_render_gdk.c deleted file mode 100644 index 1f9787ae71d..00000000000 --- a/graphics/dia/patches/patch-app_render_gdk.c +++ /dev/null @@ -1,89 +0,0 @@ -$NetBSD: patch-app_render_gdk.c,v 1.1 2013/07/16 12:11:29 prlw1 Exp $ - -Fix crash on start-up with newish glib2. -Bug 694025 - GLib drop support for adding interfaces after class_init -commit 213bdfe956bf8fe57c86316f68a09408fef1647e - ---- app/render_gdk.c.orig 2009-11-07 17:13:53.000000000 +0000 -+++ app/render_gdk.c -@@ -50,7 +50,21 @@ static void copy_to_window (DiaRenderer - gpointer window, - int x, int y, int width, int height); - --static void dia_gdk_renderer_iface_init (DiaInteractiveRendererInterface* iface) -+typedef struct _DiaGdkInteractiveRenderer DiaGdkInteractiveRenderer; -+struct _DiaGdkInteractiveRenderer -+{ -+ DiaGdkRenderer parent_instance; /*!< inheritance in object oriented C */ -+}; -+typedef struct _DiaGdkInteractiveRendererClass DiaGdkInteractiveRendererClass; -+struct _DiaGdkInteractiveRendererClass -+{ -+ DiaGdkRendererClass parent_class; /*!< the base class */ -+}; -+#define DIA_TYPE_GDK_INTERACTIVE_RENDERER (dia_gdk_interactive_renderer_get_type ()) -+#define DIA_GDK_INTERACTIVE_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DIA_TYPE_GDK_INTERACTIVE_RENDERER, DiaGdkInteractiveRenderer)) -+ -+static void -+dia_gdk_renderer_iface_init (DiaInteractiveRendererInterface* iface) - { - iface->clip_region_clear = clip_region_clear; - iface->clip_region_add_rect = clip_region_add_rect; -@@ -61,35 +75,35 @@ static void dia_gdk_renderer_iface_init - iface->set_size = set_size; - } - -+G_DEFINE_TYPE_WITH_CODE (DiaGdkInteractiveRenderer, dia_gdk_interactive_renderer, DIA_TYPE_GDK_RENDERER, -+ G_IMPLEMENT_INTERFACE (DIA_TYPE_INTERACTIVE_RENDERER_INTERFACE, dia_gdk_renderer_iface_init)); -+ -+static void -+dia_gdk_interactive_renderer_class_init(DiaGdkInteractiveRendererClass *klass) -+{ -+} -+static void -+dia_gdk_interactive_renderer_init(DiaGdkInteractiveRenderer *object) -+{ -+ DiaGdkInteractiveRenderer *ia_renderer = DIA_GDK_INTERACTIVE_RENDERER (object); -+ DiaGdkRenderer *renderer = DIA_GDK_RENDERER(object); -+ DiaRenderer *dia_renderer = DIA_RENDERER(object); -+ -+ dia_renderer->is_interactive = 1; -+ -+ renderer->gc = NULL; -+ renderer->pixmap = NULL; -+ renderer->clip_region = NULL; -+} -+ - DiaRenderer * - new_gdk_renderer(DDisplay *ddisp) - { - DiaGdkRenderer *renderer; - GType renderer_type = 0; - -- renderer = g_object_new (DIA_TYPE_GDK_RENDERER, NULL); -+ renderer = g_object_new (DIA_TYPE_GDK_INTERACTIVE_RENDERER, NULL); - renderer->transform = dia_transform_new (&ddisp->visible, &ddisp->zoom_factor); -- if (!DIA_GET_INTERACTIVE_RENDERER_INTERFACE (renderer)) -- { -- static const GInterfaceInfo irenderer_iface_info = -- { -- (GInterfaceInitFunc) dia_gdk_renderer_iface_init, -- NULL, /* iface_finalize */ -- NULL /* iface_data */ -- }; -- -- renderer_type = DIA_TYPE_GDK_RENDERER; -- /* register the interactive renderer interface */ -- g_type_add_interface_static (renderer_type, -- DIA_TYPE_INTERACTIVE_RENDERER_INTERFACE, -- &irenderer_iface_info); -- -- } -- renderer->parent_instance.is_interactive = 1; -- renderer->gc = NULL; -- -- renderer->pixmap = NULL; -- renderer->clip_region = NULL; - - return DIA_RENDERER(renderer); - } diff --git a/graphics/dia/patches/patch-be b/graphics/dia/patches/patch-be index 17cfb5b0840..4a0ca1dd9ad 100644 --- a/graphics/dia/patches/patch-be +++ b/graphics/dia/patches/patch-be @@ -1,13 +1,14 @@ -$NetBSD: patch-be,v 1.1 2003/12/02 22:32:48 recht Exp $ +$NetBSD: patch-be,v 1.2 2015/06/09 08:55:23 wiz Exp $ ---- lib/intl.c.orig 2002-09-23 21:27:44.000000000 +0200 -+++ lib/intl.c 2003-11-10 22:54:10.000000000 +0100 -@@ -65,6 +65,8 @@ +--- lib/intl.c.orig 2014-08-24 11:46:01.000000000 -0400 ++++ lib/intl.c +@@ -58,6 +58,9 @@ read_aliases ("/usr/share/locale/locale.alias"); read_aliases ("/usr/local/share/locale/locale.alias"); read_aliases ("/usr/lib/X11/locale/locale.alias"); + read_aliases ("/usr/X11R6/lib/X11/locale/locale.alias"); -+ read_aliases ("%%PREFIX%%/share/locale/locale.alias"); ++ read_aliases ("/usr/X11R7/lib/X11/locale/locale.alias"); ++ read_aliases ("/usr/pkg/share/locale/locale.alias"); read_aliases ("/usr/openwin/lib/locale/locale.alias"); } while((p=g_hash_table_lookup(alias_table,lang)) && strcmp(p, lang)) diff --git a/graphics/dia/patches/patch-cd b/graphics/dia/patches/patch-cd index 289a32e0b31..10dc9791579 100644 --- a/graphics/dia/patches/patch-cd +++ b/graphics/dia/patches/patch-cd @@ -1,8 +1,8 @@ -$NetBSD: patch-cd,v 1.1 2009/12/09 10:22:04 drochner Exp $ +$NetBSD: patch-cd,v 1.2 2015/06/09 08:55:23 wiz Exp $ ---- doc/fr/Makefile.in.orig 2009-05-03 20:12:41.000000000 +0200 +--- doc/fr/Makefile.in.orig 2014-09-05 11:08:04.000000000 -0400 +++ doc/fr/Makefile.in -@@ -571,7 +571,7 @@ info: info-am +@@ -674,7 +674,7 @@ info-am: @@ -10,4 +10,4 @@ $NetBSD: patch-cd,v 1.1 2009/12/09 10:22:04 drochner Exp $ +install-data-am: install-data-local @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook - + install-dvi: install-dvi-am diff --git a/graphics/dia/patches/patch-objects_custom_shape__typeinfo_c b/graphics/dia/patches/patch-objects_custom_shape__typeinfo_c deleted file mode 100644 index b56fe3e6717..00000000000 --- a/graphics/dia/patches/patch-objects_custom_shape__typeinfo_c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-objects_custom_shape__typeinfo_c,v 1.1 2012/05/06 20:25:02 dholland Exp $ - -Fix build with latest glib2. - ---- objects/custom/shape_typeinfo.c~ 2009-11-07 14:28:34.000000000 +0000 -+++ objects/custom/shape_typeinfo.c -@@ -27,7 +27,7 @@ - #include "custom_util.h" - #include <string.h> - #include <stdarg.h> --#include <glib/gstrfuncs.h> -+#include <glib.h> - #include <glib/gstdio.h> - #include <libxml/parser.h> - diff --git a/graphics/dia/patches/patch-plug-ins_postscript_diapsft2renderer.c b/graphics/dia/patches/patch-plug-ins_postscript_diapsft2renderer.c deleted file mode 100644 index 7783c8ffe82..00000000000 --- a/graphics/dia/patches/patch-plug-ins_postscript_diapsft2renderer.c +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-plug-ins_postscript_diapsft2renderer.c,v 1.1 2014/03/23 09:07:15 spz Exp $ - -make it deal gracefully with both freetype 2.4.* and 2.5.* - ---- plug-ins/postscript/diapsft2renderer.c.orig 2009-11-07 17:13:53.000000000 +0000 -+++ plug-ins/postscript/diapsft2renderer.c -@@ -29,8 +29,9 @@ - #include <pango/pangoft2.h> - #include <pango/pango-engine.h> - /* I'd really rather avoid this */ --#include <freetype/ftglyph.h> --#include <freetype/ftoutln.h> -+#include <ft2build.h> -+#include FT_GLYPH_H -+#include FT_OUTLINE_H - - #define DPI 300 - diff --git a/graphics/dia/patches/patch-tests_test-boundingbox_c b/graphics/dia/patches/patch-tests_test-boundingbox_c deleted file mode 100644 index d0224d107f8..00000000000 --- a/graphics/dia/patches/patch-tests_test-boundingbox_c +++ /dev/null @@ -1,16 +0,0 @@ -$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 deleted file mode 100644 index 5f9d60b3630..00000000000 --- a/graphics/dia/patches/patch-tests_test-objects_c +++ /dev/null @@ -1,17 +0,0 @@ -$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" |