mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
ba69e24e69
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
59 lines
1.5 KiB
Diff
59 lines
1.5 KiB
Diff
From e3d41e6dd3488a29d23f53c57526871a9b79e9bf Mon Sep 17 00:00:00 2001
|
|
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
Date: Sat, 7 Apr 2012 20:43:27 -0400
|
|
Subject: [PATCH] Do not include glib subheaders directly
|
|
|
|
Otherwise, dia cannot build against >=glib-2.31
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=673712
|
|
---
|
|
objects/custom/shape_typeinfo.c | 2 +-
|
|
tests/test-boundingbox.c | 3 ---
|
|
tests/test-objects.c | 4 ----
|
|
3 files changed, 1 insertions(+), 8 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/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.7.8.5
|
|
|