diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 16:36:08 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-11-09 16:36:08 +0000 |
commit | 6d7a1267838d634a163b87ba59783934231fd750 (patch) | |
tree | 0b0b1c407b7cb26c320488ee02da1997fdd5eccc /archivers/libunrar/files | |
parent | 1420ea0da1a58fce96d96f2c2c37c76e0da87e3f (diff) | |
download | ports-6d7a1267838d634a163b87ba59783934231fd750.tar.gz ports-6d7a1267838d634a163b87ba59783934231fd750.zip |
Notes
Diffstat (limited to 'archivers/libunrar/files')
-rw-r--r-- | archivers/libunrar/files/patch-dll.hpp | 11 | ||||
-rw-r--r-- | archivers/libunrar/files/patch-makefile.unix | 21 |
2 files changed, 18 insertions, 14 deletions
diff --git a/archivers/libunrar/files/patch-dll.hpp b/archivers/libunrar/files/patch-dll.hpp index abb7e7fed10d..d78aea5bb571 100644 --- a/archivers/libunrar/files/patch-dll.hpp +++ b/archivers/libunrar/files/patch-dll.hpp @@ -1,18 +1,19 @@ ---- dll.hpp.orig 2004-09-08 17:57:20.000000000 +0400 -+++ dll.hpp 2004-10-22 10:43:08.000000000 +0400 -@@ -26,13 +26,13 @@ +--- dll.hpp 2008-11-06 01:37:37.000000000 +0100 ++++ dll.hpp 2008-11-06 01:38:47.000000000 +0100 +@@ -28,14 +28,14 @@ #define RAR_DLL_VERSION 4 -#ifdef _UNIX -+//#ifdef _UNIX ++// #ifdef _UNIX #define CALLBACK #define PASCAL #define LONG long #define HANDLE void * + #define LPARAM long #define UINT unsigned int -#endif -+//#endif ++// #endif struct RARHeaderData { diff --git a/archivers/libunrar/files/patch-makefile.unix b/archivers/libunrar/files/patch-makefile.unix index 4c5aced77d80..436368432457 100644 --- a/archivers/libunrar/files/patch-makefile.unix +++ b/archivers/libunrar/files/patch-makefile.unix @@ -1,21 +1,21 @@ ---- makefile.unix.orig Sat Apr 30 04:00:12 2005 -+++ makefile.unix Fri Sep 23 16:22:04 2005 -@@ -6,10 +6,10 @@ - # +--- makefile.unix.orig 2008-10-09 15:43:06.000000000 +0200 ++++ makefile.unix 2008-11-06 01:43:52.000000000 +0100 +@@ -7,10 +7,11 @@ # Linux using GCC --CXX=g++ --CXXFLAGS=-O2 + #CXX=g++ +-#CXXFLAGS=-O2 -DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +CXXFLAGS=$(CFLAGS) -fPIC -DPIC +DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DGUI -DSILENT STRIP=strip + DESTDIR=/usr +RANLIB=ranlib # Linux using LCC #CXX=lcc -@@ -86,7 +86,7 @@ - LINK=$(CXX) +@@ -100,7 +101,7 @@ + WHAT=UNRAR UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o -LIB_OBJ=filestr.o scantree.o dll.o @@ -23,7 +23,7 @@ OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savepos.o global.o file.o filefn.o filcreat.o \ archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o \ -@@ -114,6 +114,12 @@ +@@ -131,9 +132,15 @@ $(STRIP) default.sfx lib: WHAT=RARDLL @@ -39,3 +39,6 @@ + @rm -f libunrar.a + $(AR) rc libunrar.a $(OBJECTS) $(LIB_OBJ) $(UNRAR_OBJ) + $(RANLIB) libunrar.a + + install-unrar: + install unrar $(DESTDIR)/bin |