summaryrefslogtreecommitdiff
path: root/user/unrar/makefile.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 21:05:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 21:07:09 -0500
commitc408bffa8a9be717b71b339bb8f203abebb25c2f (patch)
treefbdf1c6f25a5e329331e9edcb0e84d238e8f4d30 /user/unrar/makefile.patch
parent6f0730e489e426e2f731c42cb0bdc74eb7e13c68 (diff)
downloadpackages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.gz
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.bz2
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.tar.xz
packages-c408bffa8a9be717b71b339bb8f203abebb25c2f.zip
user/unrar: pull in, assign to djt@, bump to 5.6.4, fix
Diffstat (limited to 'user/unrar/makefile.patch')
-rw-r--r--user/unrar/makefile.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/unrar/makefile.patch b/user/unrar/makefile.patch
new file mode 100644
index 000000000..1892dab24
--- /dev/null
+++ b/user/unrar/makefile.patch
@@ -0,0 +1,27 @@
+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 @@
+
+ # Linux using GCC
+ CXX=c++
+-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
++CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+ LIBFLAGS=-fPIC
+ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
+ STRIP=strip
+ AR=ar
+-LDFLAGS=-pthread
++LDFLAGS+=-pthread
+ DESTDIR=/usr
+
+ # Linux using LCC
+@@ -140,7 +140,7 @@ uninstall: uninstall-unrar
+ clean:
+ @rm -f *.o *.bak *~
+
+-unrar: clean $(OBJECTS) $(UNRAR_OBJ)
++unrar: $(OBJECTS) $(UNRAR_OBJ)
+ @rm -f unrar
+ $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)
+ $(STRIP) unrar