diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /skip/unrar/makefile.patch | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'skip/unrar/makefile.patch')
-rw-r--r-- | skip/unrar/makefile.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/skip/unrar/makefile.patch b/skip/unrar/makefile.patch new file mode 100644 index 0000000..1b0c09f --- /dev/null +++ b/skip/unrar/makefile.patch @@ -0,0 +1,30 @@ +diff -upr unrar.orig/makefile unrar/makefile +--- 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 -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 + AR=ar +-LDFLAGS=-pthread ++LDFLAGS+=-pthread + DESTDIR=/usr + + # Linux using LCC +@@ -140,7 +141,7 @@ uninstall: uninstall-unrar + clean: + @rm -f *.o *.bak *~ + +-unrar: clean $(OBJECTS) $(UNRAR_OBJ) ++unrar: $(OBJECTS) $(UNRAR_OBJ) + $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) + $(STRIP) unrar + |