diff options
Diffstat (limited to 'community/dia')
-rw-r--r-- | community/dia/PKGBUILD | 3 | ||||
-rw-r--r-- | community/dia/dia-0.97.2-glib.patch | 40 |
2 files changed, 41 insertions, 2 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD index 47d9a2810..2e50cfa1e 100644 --- a/community/dia/PKGBUILD +++ b/community/dia/PKGBUILD @@ -8,7 +8,7 @@ pkgname=dia pkgver=0.97.2 pkgrel=4 pkgdesc="A GTK+ based diagram creation program" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://live.gnome.org/Dia" install=dia.install @@ -23,7 +23,6 @@ md5sums=('1e1180a513fb567709b09bc19f12105e' build() { cd "${srcdir}/${pkgname}-${pkgver}" - export PYTHON=/usr/bin/python2 for file in `find -type f -name '*.py'`; do sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$file" diff --git a/community/dia/dia-0.97.2-glib.patch b/community/dia/dia-0.97.2-glib.patch new file mode 100644 index 000000000..dcda07392 --- /dev/null +++ b/community/dia/dia-0.97.2-glib.patch @@ -0,0 +1,40 @@ +--- dia-0.97.2.orig/objects/custom/shape_typeinfo.c 2009-11-07 09:28:34.000000000 -0500 ++++ dia-0.97.2/objects/custom/shape_typeinfo.c 2012-12-19 13:59:45.985417287 -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> + + /* +--- dia-0.97.2.orig/tests/test-boundingbox.c 2009-11-07 09:28:35.000000000 -0500 ++++ dia-0.97.2/tests/test-boundingbox.c 2012-12-19 14:01:03.115674866 -0500 +@@ -26,11 +26,6 @@ + #define G_LOG_DOMAIN "Dia" + + #include <glib.h> +-#include <glib-object.h> +- +-#if GLIB_CHECK_VERSION(2,16,0) +-#include <glib/gtestutils.h> +-#endif + #include "dialib.h" + + /* +--- dia-0.97.2.orig/tests/test-objects.c 2009-11-07 09:28:35.000000000 -0500 ++++ dia-0.97.2/tests/test-objects.c 2012-12-19 14:01:43.978961390 -0500 +@@ -26,11 +26,6 @@ + #define G_LOG_DOMAIN "Dia" + + #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" |