aboutsummaryrefslogtreecommitdiff
path: root/utils/unrar/patches
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2017-12-13 15:39:35 -0500
committerTed Hess <thess@kitschensync.net>2017-12-13 15:48:26 -0500
commita126dabb93655e4daea3bba5753fa2d573f8242e (patch)
treea7ee6aeff69c44634643b88fdd65fcc4c3ac14d1 /utils/unrar/patches
parent9be0710ebdf994af01c451b8198f5dc0c672830d (diff)
unrar: Update to latest version (5.5.8)
11-Aug-2017 version fixes outstanding CVE's. CVE-2012-6706, CVE-2017-12942, CVE-2017-12941, CVE-2017-12940 and CVE-2017-12938 Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'utils/unrar/patches')
-rw-r--r--utils/unrar/patches/100-makefile_fixes.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/unrar/patches/100-makefile_fixes.patch b/utils/unrar/patches/100-makefile_fixes.patch
index ae4c62386..82205ea26 100644
--- a/utils/unrar/patches/100-makefile_fixes.patch
+++ b/utils/unrar/patches/100-makefile_fixes.patch
@@ -1,6 +1,6 @@
--- a/makefile
+++ b/makefile
-@@ -2,12 +2,12 @@
+@@ -2,13 +2,13 @@
# Makefile for UNIX - unrar
# Linux using GCC
@@ -11,17 +11,18 @@
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
STRIP=strip
+ AR=ar
-LDFLAGS=-pthread
+LDFLAGS=-lpthread
DESTDIR=/usr
# Linux using LCC
-@@ -142,7 +142,7 @@ uninstall-unrar:
+@@ -166,7 +166,7 @@ uninstall-unrar:
rm -f $(DESTDIR)/bin/unrar
install-lib:
- install libunrar.so $(DESTDIR)/lib
+ install -D libunrar.so $(DESTDIR)/lib/libunrar.so
+ install libunrar.a $(DESTDIR)/lib
uninstall-lib:
- rm -f $(DESTDIR)/lib/libunrar.so