~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
weechat: Update from 2.0.1 to 2.1
[termux-packages]
/
packages
/
unrar
/
makefile.patch
diff --git
a/packages/unrar/makefile.patch
b/packages/unrar/makefile.patch
index
b4fbe8e
..
1f07cce
100644
(file)
--- a/
packages/unrar/makefile.patch
+++ b/
packages/unrar/makefile.patch
@@
-1,28
+1,26
@@
diff -u -r ../unrar/makefile ./makefile
diff -u -r ../unrar/makefile ./makefile
---- ../unrar/makefile 201
3-04-29 16:27:05.000000000 +02
00
-+++ ./makefile 201
4-02-13 00:29:04.000000000 +01
00
-@@ -2,1
3 +2,9
@@
+--- ../unrar/makefile 201
7-11-22 06:53:39.000000000 +00
00
++++ ./makefile 201
8-03-12 10:30:16.141557520 +00
00
+@@ -2,1
4 +2,15
@@
# Makefile for UNIX - unrar
# Linux using GCC
# Makefile for UNIX - unrar
# Linux using GCC
--CXX=
g
++
--CXXFLAGS=-O2
+-CXX=
c
++
+-CXXFLAGS=-O2
-Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
-LIBFLAGS=-fPIC
-LIBFLAGS=-fPIC
++CXX?=c++
++CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+LIBFLAGS=$(LDFLAGS)
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
+LIBFLAGS=$(LDFLAGS)
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
+-AR=ar
-LDFLAGS=-pthread
-DESTDIR=/usr
-LDFLAGS=-pthread
-DESTDIR=/usr
-+DESTDIR=@TERMUX_PREFIX@
++STRIP?=strip
++AR?=ar
++LDFLAGS?=-pthread
++DESTDIR=$(PREFIX)
++LIBS=-lreadline
# Linux using LCC
#CXX=lcc
# Linux using LCC
#CXX=lcc
-@@ -136,7 +132,7 @@
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
-
- install-unrar:
-- install -D unrar $(DESTDIR)/bin/unrar
-+ install unrar $(DESTDIR)/bin/unrar
-
- uninstall-unrar:
- rm -f $(DESTDIR)/bin/unrar