aboutsummaryrefslogtreecommitdiffstats
path: root/main/unrar/makefile.patch
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-03-11 16:06:30 +0000
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-11 17:39:19 +0100
commit21f26cbae25fc435d5fafb28a51536ed41875fff (patch)
tree95cb75949a419b5917a24962f7b01978effa07d3 /main/unrar/makefile.patch
parentb9ddb6e1c48c391e91d4f5c0e554414ede3270a7 (diff)
main/unrar: upgrade to 5.6.1
Diffstat (limited to 'main/unrar/makefile.patch')
-rw-r--r--main/unrar/makefile.patch15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/unrar/makefile.patch b/main/unrar/makefile.patch
index e56fa9e98c6..f54b4533e4d 100644
--- a/main/unrar/makefile.patch
+++ b/main/unrar/makefile.patch
@@ -1,12 +1,15 @@
diff -upr unrar.orig/makefile unrar/makefile
---- unrar.orig/makefile 2017-06-30 21:34:46.228703991 +0200
-+++ unrar/makefile 2017-06-30 21:35:07.535424717 +0200
-@@ -3,12 +3,12 @@
+--- unrar.orig/makefile 2018-03-11 17:33:12.697132381 +0100
++++ unrar/makefile 2018-03-11 17:33:48.763911497 +0100
+@@ -2,13 +2,14 @@
+ # Makefile for UNIX - unrar
# Linux using GCC
- CXX=c++
--CXXFLAGS=-O2
+-CXX=c++
+-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
++CXX?=c++
+CXXFLAGS?=-O2
++CXXFLAGS+=-Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
STRIP=strip
@@ -16,7 +19,7 @@ diff -upr unrar.orig/makefile unrar/makefile
DESTDIR=/usr
# Linux using LCC
-@@ -140,7 +140,7 @@ uninstall: uninstall-unrar
+@@ -140,7 +141,7 @@ uninstall: uninstall-unrar
clean:
@rm -f *.o *.bak *~