X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/119b5be90425ea6f1a1f2a98ec0c6ca91762a0b8..7ff6106d8a9f80b9c17044fb324dc89865497f11:/packages/unrar/makefile.patch diff --git a/packages/unrar/makefile.patch b/packages/unrar/makefile.patch index 66b549f2..1f07cce7 100644 --- a/packages/unrar/makefile.patch +++ b/packages/unrar/makefile.patch @@ -1,15 +1,15 @@ -diff -uNr unrar/makefile unrar.mod/makefile ---- unrar/makefile 2017-06-13 14:04:49.000000000 +0300 -+++ unrar.mod/makefile 2017-09-14 20:19:46.976412521 +0300 -@@ -2,14 +2,14 @@ +diff -u -r ../unrar/makefile ./makefile +--- ../unrar/makefile 2017-11-22 06:53:39.000000000 +0000 ++++ ./makefile 2018-03-12 10:30:16.141557520 +0000 +@@ -2,14 +2,15 @@ # Makefile for UNIX - unrar # Linux using GCC -CXX=c++ --CXXFLAGS=-O2 +-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else -LIBFLAGS=-fPIC +CXX?=c++ -+CXXFLAGS?=-O2 ++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 @@ -20,6 +20,7 @@ diff -uNr unrar/makefile unrar.mod/makefile +AR?=ar +LDFLAGS?=-pthread +DESTDIR=$(PREFIX) ++LIBS=-lreadline # Linux using LCC #CXX=lcc