diff options
author | Eric Hameleers <alien@slackware.com> | 2013-01-01 20:03:42 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-01-01 20:03:42 +0000 |
commit | 39aad2d2b96ace1f268dd1ea232f4883054112d9 (patch) | |
tree | 85a605693bd0c770c9817eadc74dfdf0675c401a /unrar | |
parent | 934af8dc365f1e67161f9c9ca5538501f5964687 (diff) | |
download | asb-39aad2d2b96ace1f268dd1ea232f4883054112d9.tar.gz asb-39aad2d2b96ace1f268dd1ea232f4883054112d9.tar.xz |
Needed a -fPIC patch
Diffstat (limited to 'unrar')
-rwxr-xr-x | unrar/build/unrar.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/unrar/build/unrar.SlackBuild b/unrar/build/unrar.SlackBuild index c694c2a0..b6eecf63 100755 --- a/unrar/build/unrar.SlackBuild +++ b/unrar/build/unrar.SlackBuild @@ -50,7 +50,8 @@ # 4.0.7-1: 13/may/2011 by Eric Hameleers <alien@slackware.com> # * Update. # 4.2.4-1: 01/jan/2013 by Eric Hameleers <alien@slackware.com> -# * Update. +# * Update. Apply patch to allow the shared library +# to be linked on 64-bit: # # Run 'sh unrar.SlackBuild' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -162,9 +163,15 @@ echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} cd ${PRGNAM} +touch $OUTPUT/patch-$PRGNAM.log + +# Allow the shared library to be linked on 64-bit: +cat $SRCDIR/unrar.pic.diff | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log + # Fix error converting .CBR in calibre: cat $SRCDIR/unrar.missing_sym.diff | patch -p1 --verbose \ - 2>&1 | tee $OUTPUT/patch-$PRGNAM.log + 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log chown -R root:root . chmod -R u+w,go+r-w,a+X-s . |