From cac3aa6fb8386c8d0f8a877f7ab860542b0dac82 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Sun, 15 Mar 2015 21:00:28 +0100 Subject: [PATCH] libxfcegui4: fixed build issues against last libxfce4util https://bugzilla.xfce.org/show_bug.cgi?id=10974 --- libxfcegui4/.md5sum | 1 + libxfcegui4/Pkgfile | 7 +++++-- libxfcegui4/no-xfce_setenv.patch | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 libxfcegui4/no-xfce_setenv.patch diff --git a/libxfcegui4/.md5sum b/libxfcegui4/.md5sum index cf212cb..cf92bf4 100644 --- a/libxfcegui4/.md5sum +++ b/libxfcegui4/.md5sum @@ -1 +1,2 @@ 4025b9d6811f051c914cdd700d437e61 libxfcegui4-4.10.0.tar.bz2 +e57b7c546ebe1f43bf1f222b6e57c6b9 no-xfce_setenv.patch diff --git a/libxfcegui4/Pkgfile b/libxfcegui4/Pkgfile index c50e467..316e715 100644 --- a/libxfcegui4/Pkgfile +++ b/libxfcegui4/Pkgfile @@ -7,12 +7,15 @@ name=libxfcegui4 version=4.10.0 -release=1 -source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2) +release=2 +source=(http://archive.xfce.org/src/xfce/$name/${version%.*}/$name-$version.tar.bz2 \ + no-xfce_setenv.patch) build () { cd $name-$version + patch -p0 -i $SRC/no-xfce_setenv.patch + sed -e '/^AC_PROG_INTLTOOL/d' -i configure.in sed -e '/^SUBDIRS/s/po//' -i Makefile.in diff --git a/libxfcegui4/no-xfce_setenv.patch b/libxfcegui4/no-xfce_setenv.patch new file mode 100644 index 0000000..ffb2160 --- /dev/null +++ b/libxfcegui4/no-xfce_setenv.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/513568 +http://bugzilla.xfce.org/show_bug.cgi?id=10974 + +--- libxfcegui4/xfce-exec.c ++++ libxfcegui4/xfce-exec.c +@@ -79,7 +79,7 @@ + #ifndef G_OS_WIN32 + gchar *dpyname = user_data; + +- xfce_setenv ("DISPLAY", dpyname, TRUE); ++ g_setenv ("DISPLAY", dpyname, TRUE); + #endif + } +