dia: build fix thank you Mikhail Kolesnik
This commit is contained in:
parent
4ccae0993c
commit
9c4712c0ae
@ -1 +1,2 @@
|
||||
1e1180a513fb567709b09bc19f12105e dia-0.97.2.tar.xz
|
||||
0f3112244ed06bbd55ce914d8fdb26e7 dia-glib-2.32.diff
|
||||
|
@ -6,11 +6,13 @@
|
||||
|
||||
name=dia
|
||||
version=0.97.2
|
||||
release=1
|
||||
source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
|
||||
release=2
|
||||
source=(ftp://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz
|
||||
dia-glib-2.32.diff)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p 0 -i $SRC/dia-glib-2.32.diff
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
36
dia/dia-glib-2.32.diff
Normal file
36
dia/dia-glib-2.32.diff
Normal file
@ -0,0 +1,36 @@
|
||||
--- objects/custom/shape_typeinfo.c.orig 2009-11-07 08:28:34.000000000 -0600
|
||||
+++ objects/custom/shape_typeinfo.c 2012-04-11 01:39:00.000000000 -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>
|
||||
|
||||
/*
|
||||
--- tests/test-boundingbox.c.orig 2009-11-07 08:28:35.000000000 -0600
|
||||
+++ tests/test-boundingbox.c 2012-04-11 01:47:51.000000000 -0500
|
||||
@@ -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"
|
||||
|
||||
/*
|
||||
--- tests/test-objects.c.orig 2009-11-07 08:28:35.000000000 -0600
|
||||
+++ tests/test-objects.c 2012-04-11 01:46:51.000000000 -0500
|
||||
@@ -28,9 +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"
|
Loading…
x
Reference in New Issue
Block a user