diff options
-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 . |