Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur unrar.orig/unrar-5.5.5-soname.patch unrar/unrar-5.5.5-soname.patch
- --- unrar.orig/unrar-5.5.5-soname.patch 2022-06-19 18:04:56.503913000 +0200
- +++ unrar/unrar-5.5.5-soname.patch 1970-01-01 01:00:00.000000000 +0100
- @@ -1,11 +0,0 @@
- ---- unrar/makefile.orig 2017-06-13 13:04:49.000000000 +0200
- -+++ unrar/makefile 2017-06-23 20:29:54.138415405 +0200
- -@@ -156,7 +156,7 @@
- - lib: clean $(OBJECTS) $(LIB_OBJ)
- - @rm -f libunrar.so
- - @rm -f libunrar.a
- -- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
- -+ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
- - $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
- -
- - install-unrar:
- diff -Naur unrar.orig/unrar-6.1.7-soname.patch unrar/unrar-6.1.7-soname.patch
- --- unrar.orig/unrar-6.1.7-soname.patch 1970-01-01 01:00:00.000000000 +0100
- +++ unrar/unrar-6.1.7-soname.patch 2022-06-29 15:31:06.574420000 +0200
- @@ -0,0 +1,12 @@
- +diff -Naur unrar.orig/makefile unrar/makefile
- +--- unrar.orig/makefile 2022-02-22 11:43:06.000000000 +0100
- ++++ unrar/makefile 2022-06-29 15:30:41.787420000 +0200
- +@@ -157,7 +157,7 @@
- + lib: CXXFLAGS+=$(LIBFLAGS)
- + lib: clean $(OBJECTS) $(LIB_OBJ)
- + @rm -f libunrar.*
- +- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
- ++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
- + $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
- +
- + install-unrar:
- diff -Naur unrar.orig/unrar.SlackBuild unrar/unrar.SlackBuild
- --- unrar.orig/unrar.SlackBuild 2022-06-19 18:04:56.503913000 +0200
- +++ unrar/unrar.SlackBuild 2022-06-29 15:31:35.380420000 +0200
- @@ -25,7 +25,7 @@
- cd $(dirname $0) ; CWD=$(pwd)
- PRGNAM=unrar
- -VERSION=${VERSION:-5.6.1}
- +VERSION=${VERSION:-6.1.7}
- BUILD=${BUILD:-1}
- TAG=${TAG:-_SBo}
- PKGTYPE=${PKGTYPE:-tgz}
- @@ -79,7 +79,7 @@
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
- -patch -p1 < $CWD/unrar-5.5.5-soname.patch
- +patch -p1 < $CWD/unrar-6.1.7-soname.patch
- cp -a $TMP/$PRGNAM/ $TMP/libunrar
- make -C $TMP/libunrar lib libversion=$VERSION CXXFLAGS="$SLKCFLAGS"
- diff -Naur unrar.orig/unrar.info unrar/unrar.info
- --- unrar.orig/unrar.info 2022-06-19 18:04:56.503913000 +0200
- +++ unrar/unrar.info 2022-06-29 15:28:21.306420000 +0200
- @@ -1,8 +1,8 @@
- PRGNAM="unrar"
- -VERSION="5.6.1"
- +VERSION="6.1.7"
- HOMEPAGE="https://www.rarlab.com"
- -DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-5.6.1.tar.gz"
- -MD5SUM="e33bb37fead8538103bf292c59f3b130"
- +DOWNLOAD="https://www.rarlab.com/rar/unrarsrc-6.1.7.tar.gz"
- +MD5SUM="5f467714a0cca538bef1e779fe2d46ca"
- DOWNLOAD_x86_64=""
- MD5SUM_x86_64=""
- REQUIRES=""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement