diff options
Diffstat (limited to 'extra/libzvt')
-rw-r--r-- | extra/libzvt/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/libzvt/libzvt-2.0.1-correct_glib_include.patch | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD index 613d14db8..4043a6370 100644 --- a/extra/libzvt/PKGBUILD +++ b/extra/libzvt/PKGBUILD @@ -6,20 +6,23 @@ pkgname=libzvt pkgver=2.0.1 pkgrel=7 pkgdesc="Zed's virtual terminal library" -arch=(i686 x86_64) +arch=(i686 x86_64 'mips64el') license=('GPL' 'LGPL') url="http://ftp.gnome.org/pub/GNOME/sources/libzvt" depends=('gtk2' 'libart-lgpl') makedepends=('pkgconfig') -source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2) -md5sums=('4bbea49495a341650fa1f89908e6554e') +source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2 + libzvt-2.0.1-correct_glib_include.patch) +md5sums=('4bbea49495a341650fa1f89908e6554e' + '2e30c7aafd5fc8dc1de0971ca562fee0') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/libzvt-2.0.1-correct_glib_include.patch sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.* ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ - --libexecdir=/usr/lib + --libexecdir=/usr/lib --build=$CHOST make } diff --git a/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch b/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch new file mode 100644 index 000000000..e94c49135 --- /dev/null +++ b/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch @@ -0,0 +1,11 @@ +--- libzvt-2.0.1.orig/libzvt/gnome-pty-helper.c 2002-06-05 01:07:33.000000000 -0500 ++++ libzvt-2.0.1/libzvt/gnome-pty-helper.c 2012-11-29 20:07:50.505466139 -0500 +@@ -52,7 +52,7 @@ + #include <stdio.h> + #include <utmp.h> + #include <grp.h> +-#include <glib/galloca.h> ++#include <glib.h> + #include "gnome-pty.h" + #include "gnome-login-support.h" + |