summaryrefslogtreecommitdiff
path: root/community/geda-gaf
diff options
context:
space:
mode:
Diffstat (limited to 'community/geda-gaf')
-rw-r--r--community/geda-gaf/PKGBUILD7
-rw-r--r--community/geda-gaf/geda-1.6.2-correct_glib_include.patch13
2 files changed, 18 insertions, 2 deletions
diff --git a/community/geda-gaf/PKGBUILD b/community/geda-gaf/PKGBUILD
index 1c10d075d..bd57f80af 100644
--- a/community/geda-gaf/PKGBUILD
+++ b/community/geda-gaf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geda-gaf
pkgver=1.8.1
pkgrel=1
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')
@@ -16,11 +16,14 @@ optdepends=('python2: for two of the commands (garchive, tragesym)'
replaces=('geda-suite' 'geda-libs')
install=geda-gaf.install
source=(http://ftp.geda-project.org/geda-gaf/stable/v1.8/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('3c5ef297e403b493fdf7a5d47bbeeb73')
+ geda-1.6.2-correct_glib_include.patch)
+md5sums=('3c5ef297e403b493fdf7a5d47bbeeb73'
+ '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"
+