diff options
Diffstat (limited to 'graphics/dia/patches/0002-Bug-665335-Only-include-glib.h-the-other-headers-are.patch')
-rw-r--r-- | graphics/dia/patches/0002-Bug-665335-Only-include-glib.h-the-other-headers-are.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/graphics/dia/patches/0002-Bug-665335-Only-include-glib.h-the-other-headers-are.patch b/graphics/dia/patches/0002-Bug-665335-Only-include-glib.h-the-other-headers-are.patch new file mode 100644 index 0000000000..8d0f217374 --- /dev/null +++ b/graphics/dia/patches/0002-Bug-665335-Only-include-glib.h-the-other-headers-are.patch @@ -0,0 +1,71 @@ +From ae61326cf5e7aaba6e72af757a5cd33efe8280a1 Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger <dimstar@opensuse.org> +Date: Thu, 1 Dec 2011 22:08:12 +0100 +Subject: [PATCH 02/24] Bug 665335: Only #include <glib.h>: the other headers + are implicit + +--- + objects/custom/shape_typeinfo.c | 2 +- + plug-ins/pgf/render_pgf.c | 2 +- + tests/test-boundingbox.c | 3 --- + tests/test-objects.c | 4 ---- + 4 files changed, 2 insertions(+), 9 deletions(-) + +diff --git a/objects/custom/shape_typeinfo.c b/objects/custom/shape_typeinfo.c +index c6133b1..3fb3d73 100644 +--- a/objects/custom/shape_typeinfo.c ++++ b/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/plug-ins/pgf/render_pgf.c b/plug-ins/pgf/render_pgf.c +index 3fe5bbd..24b812e 100644 +--- a/plug-ins/pgf/render_pgf.c ++++ b/plug-ins/pgf/render_pgf.c +@@ -61,7 +61,7 @@ TODO: + #endif + #include <errno.h> + +-#include <glib/gprintf.h> ++#include <glib.h> + #include <glib/gstdio.h> + + #include "intl.h" +diff --git a/tests/test-boundingbox.c b/tests/test-boundingbox.c +index 7adaab5..a13d018 100644 +--- a/tests/test-boundingbox.c ++++ b/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/tests/test-objects.c b/tests/test-objects.c +index 57d5675..c5980a5 100644 +--- a/tests/test-objects.c ++++ b/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" +-- +1.8.4.4 + |