[arch-commits] Commit in file-roller/trunk (PKGBUILD extract-to-fix.patch)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 14 01:36:00 UTC 2012
Date: Tuesday, November 13, 2012 @ 20:36:00
Author: foutrelis
Revision: 170951
upgpkg: file-roller 3.6.2-2
Fix crash when using the --extract-to switch.
Added:
file-roller/trunk/extract-to-fix.patch
Modified:
file-roller/trunk/PKGBUILD
----------------------+
PKGBUILD | 12 +++++++++---
extract-to-fix.patch | 13 +++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-14 01:23:57 UTC (rev 170950)
+++ PKGBUILD 2012-11-14 01:36:00 UTC (rev 170951)
@@ -4,7 +4,7 @@
pkgname=file-roller
pkgver=3.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="Archive manipulator for GNOME"
arch=('i686' 'x86_64')
license=('GPL')
@@ -19,11 +19,17 @@
options=('!libtool' '!emptydirs')
install=file-roller.install
url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('47b026c827fcb0db4df51bf81c1e90f829f287fe2c9b9e65f167a2ef5bfec5f1')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz
+ extract-to-fix.patch)
+sha256sums=('47b026c827fcb0db4df51bf81c1e90f829f287fe2c9b9e65f167a2ef5bfec5f1'
+ 'fc23e122b2d95df9eafe5bdf2a55beb1339a2b1b077973a1b45f881d9bb8427e')
build() {
cd $pkgname-$pkgver
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=686321
+ patch -Np1 -i "$srcdir/extract-to-fix.patch"
+
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/file-roller \
--localstatedir=/var --disable-static \
Added: extract-to-fix.patch
===================================================================
--- extract-to-fix.patch (rev 0)
+++ extract-to-fix.patch 2012-11-14 01:36:00 UTC (rev 170951)
@@ -0,0 +1,13 @@
+diff --git a/src/main.c~ b/src/main.c
+index 1eb2e65..539ddfa 100644
+--- a/src/main.c~
++++ b/src/main.c
+@@ -850,7 +850,7 @@ fr_application_command_line (GApplication *application,
+
+ _g_object_unref (default_directory);
+ _g_object_unref (add_to_archive);
+- g_free (extraction_destination);
++ _g_object_unref (extraction_destination);
+
+ return fr_application_command_line_finished (application, EXIT_SUCCESS);
+ }
More information about the arch-commits
mailing list