From 40662730929b3fa98eb78d44c317c3b1f0e43010 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 30 Nov 2012 21:51:45 -0500 Subject: Add libzvt-2.0.1-correct_glib_include.patch --- extra/libzvt/PKGBUILD | 9 ++++++--- extra/libzvt/libzvt-2.0.1-correct_glib_include.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 extra/libzvt/libzvt-2.0.1-correct_glib_include.patch (limited to 'extra') 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 + #include + #include +-#include ++#include + #include "gnome-pty.h" + #include "gnome-login-support.h" + -- cgit v1.2.3-54-g00ecf