summaryrefslogtreecommitdiff
path: root/community/geda-gaf
diff options
context:
space:
mode:
Diffstat (limited to 'community/geda-gaf')
-rw-r--r--community/geda-gaf/PKGBUILD9
-rw-r--r--community/geda-gaf/geda-1.6.2-correct_glib_include.patch13
2 files changed, 19 insertions, 3 deletions
diff --git a/community/geda-gaf/PKGBUILD b/community/geda-gaf/PKGBUILD
index b3e6278b9..53d91653f 100644
--- a/community/geda-gaf/PKGBUILD
+++ b/community/geda-gaf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geda-gaf
pkgver=1.6.2
pkgrel=2
pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, utilities and documentation from the gEDA project"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gpleda.org"
license=('GPL')
depends=('gtk2' 'guile' 'libstroke' 'shared-mime-info' 'hicolor-icon-theme')
@@ -15,12 +15,15 @@ optdepends=('python2: for two of the commands (garchive, tragesym)'
'gawk: for sw2asc')
replaces=('geda-suite' 'geda-libs')
install=geda-gaf.install
-source=(http://geda.seul.org/release/v1.6/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('35ae86aebc174ec1fc03863fde4c843c')
+source=(http://geda.seul.org/release/v1.6/$pkgver/$pkgname-$pkgver.tar.gz
+ geda-1.6.2-correct_glib_include.patch)
+md5sums=('35ae86aebc174ec1fc03863fde4c843c'
+ 'af28867b393e0351b97d5d23cdefc812')
build ()
{
cd "$srcdir/$pkgname-$pkgver/"
+ patch -Np1 -i ${srcdir}/geda-1.6.2-correct_glib_include.patch
./configure --prefix=/usr --disable-update-xdg-database
make
}
diff --git a/community/geda-gaf/geda-1.6.2-correct_glib_include.patch b/community/geda-gaf/geda-1.6.2-correct_glib_include.patch
new file mode 100644
index 000000000..a8cfa96be
--- /dev/null
+++ b/community/geda-gaf/geda-1.6.2-correct_glib_include.patch
@@ -0,0 +1,13 @@
+--- geda-gaf-1.6.2.orig/libgeda/src/s_path.c
++++ geda-gaf-1.6.2/libgeda/src/s_path.c
+@@ -37,9 +37,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include <glib/gmem.h>
+-#include <glib/gmessages.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ #include "libgeda_priv.h"
+