summaryrefslogtreecommitdiff
path: root/system/unrar/unrar-5.5.5-soname.patch
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-06-23 20:36:27 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:07 +0700
commit67641604a97c724e4a81997339720d4138e24993 (patch)
tree7f9983605ea721621c00765714f44bcb5c1a71cb /system/unrar/unrar-5.5.5-soname.patch
parentf3b7770f28dc983122fc0dc3c19a2d0bcc1bfc96 (diff)
downloadslackbuilds-67641604a97c724e4a81997339720d4138e24993.tar.gz
system/unrar: Updated for version 5.5.5.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/unrar/unrar-5.5.5-soname.patch')
-rw-r--r--system/unrar/unrar-5.5.5-soname.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/unrar/unrar-5.5.5-soname.patch b/system/unrar/unrar-5.5.5-soname.patch
new file mode 100644
index 0000000000..f0b5dbbd9f
--- /dev/null
+++ b/system/unrar/unrar-5.5.5-soname.patch
@@ -0,0 +1,11 @@
+--- 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: