Unarchiver now need some patches

This commit is contained in:
Cedric Girard 2012-01-04 11:37:07 +01:00
parent 61c0a65205
commit 8d495edc6d
3 changed files with 48 additions and 4 deletions

View File

@ -3,18 +3,27 @@
pkgname=unarchiver
pkgver=2.7.1
pkgrel=1
pkgrel=2
pkgdesc="An Objective-C application for uncompressing archive files"
arch=('x86_64' 'i686')
url="http://wakaba.c3.cx/s/apps/unarchiver.html"
license=('LGPL2.1')
depends=('gnustep-base' 'openssl' 'bzip2' 'icu' 'gcc-libs' 'zlib')
makedepends=('gcc-objc')
source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip")
sha1sums=('dba7a5aee159435a7ad6d1879443ab66a809c970')
source=("http://theunarchiver.googlecode.com/files/TheUnarchiver${pkgver}_src.zip"
"native_obj_exceptions.patch"
"libz.patch")
sha1sums=('dba7a5aee159435a7ad6d1879443ab66a809c970'
'b8024026607dc2de758479b73d8b01ca6f692b59'
'003d114a0ba9a919af602881ef5e04cdba2e4c50')
build() {
cd "$srcdir/The Unarchiver/XADMaster"
cd "$srcdir/The Unarchiver"
patch -p1 < ../native_obj_exceptions.patch
patch -p1 < ../libz.patch
cd XADMaster
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make -f Makefile.linux
}

View File

@ -0,0 +1,13 @@
diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux
--- The Unarchiver/XADMaster/Makefile.linux 2011-04-27 03:32:21.000000000 +0200
+++ The Unarchiver_patched/XADMaster/Makefile.linux 2011-12-22 10:56:13.749166606 +0100
@@ -51,7 +51,8 @@
-licuuc \
-lobjc \
-lstdc++ \
- -lm
+ -lm \
+ -lz
LDFLAGS = -Wl,--whole-archive \
-fexceptions \

View File

@ -0,0 +1,22 @@
diff -Naur The Unarchiver/UniversalDetector/Makefile.linux The Unarchiver_patched/UniversalDetector/Makefile.linux
--- The Unarchiver/UniversalDetector/Makefile.linux 2011-04-27 03:32:21.000000000 +0200
+++ The Unarchiver_patched/UniversalDetector/Makefile.linux 2011-12-22 10:48:32.138621163 +0100
@@ -16,7 +16,6 @@
GNUSTEP_OPTS = -DGNUSTEP \
-DGNU_RUNTIME=1 \
- -D_NATIVE_OBJC_EXCEPTIONS \
-fgnu-runtime \
-fexceptions \
-fobjc-exceptions \
diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux
--- The Unarchiver/XADMaster/Makefile.linux 2011-04-27 03:32:21.000000000 +0200
+++ The Unarchiver_patched/XADMaster/Makefile.linux 2011-12-22 10:48:15.488721721 +0100
@@ -16,7 +16,6 @@
GNUSTEP_OPTS = -DGNUSTEP \
-DGNU_RUNTIME=1 \
- -D_NATIVE_OBJC_EXCEPTIONS \
-fgnu-runtime \
-fexceptions \
-fobjc-exceptions \