summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-11-30 21:51:45 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-11-30 21:51:45 -0500
commit40662730929b3fa98eb78d44c317c3b1f0e43010 (patch)
tree4edf98125f2ed9b560990392eef373cb9bf25b28
parentf61090cc9177608c18cf176eb77e799fce9ef9df (diff)
Add libzvt-2.0.1-correct_glib_include.patch
-rw-r--r--extra/libzvt/PKGBUILD9
-rw-r--r--extra/libzvt/libzvt-2.0.1-correct_glib_include.patch11
2 files changed, 17 insertions, 3 deletions
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD
index 157164ec6..2cd466883 100644
--- a/extra/libzvt/PKGBUILD
+++ b/extra/libzvt/PKGBUILD
@@ -12,15 +12,18 @@ url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2' 'libart-lgpl')
makedepends=('pkgconfig')
options=('!libtool')
-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"
+