aboutsummaryrefslogtreecommitdiff
path: root/system/unrar/unrar-6.1.7-soname.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-06-29 15:47:01 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:43 +0700
commit2e3981c3478f2b1c60b12cc800dbbcedd8331b9a (patch)
treedcb060c79f0cd3c9eb49156fb1d41d5b87509c21 /system/unrar/unrar-6.1.7-soname.patch
parentc17e2485a95a4d384981b0c410b30d70168db538 (diff)
system/unrar: Updated for version 6.1.7.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/unrar/unrar-6.1.7-soname.patch')
-rw-r--r--system/unrar/unrar-6.1.7-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/unrar/unrar-6.1.7-soname.patch b/system/unrar/unrar-6.1.7-soname.patch
new file mode 100644
index 0000000000..9640e1cfd8
--- /dev/null
+++ b/system/unrar/unrar-6.1.7-soname.patch
@@ -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: