Ticket #40776: patch-unrar.diff
File patch-unrar.diff, 3.4 KB (added by anddam (Andrea D'Amore), 9 years ago) |
---|
-
Portfile
5 5 6 6 name unrar 7 7 set my_name ${name}src 8 version 4.2.4 9 revision 1 8 version 5.0.12 10 9 categories archivers 11 10 platforms darwin freebsd 12 11 maintainers krischik openmaintainer … … 22 21 master_sites ${homepage}rar/ 23 22 distname ${my_name}-${version} 24 23 25 checksums rmd160 53a590ed2a71be86a0a7abfe9c37ddc8dc869800\26 sha256 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd68624 checksums rmd160 c20a2ce760142cd69f6aec6e156366bd0d39ab83 \ 25 sha256 370f7a7cdc482a672e396c7ed6fa9f201b25733e41b714f19a6112e1bbcdf245 27 26 28 27 patchfiles patch-dll.hpp.diff \ 29 28 patch-makefile.unix.diff … … 43 42 set cxx_stdlibflags -stdlib=${configure.cxx_stdlib} 44 43 } 45 44 46 build.args -f makefile .unix\45 build.args -f makefile \ 47 46 CXX="[join ${configure.cxx}]" 48 47 49 48 # The makefile misuses the DESTDIR variable as if it were PREFIX. We need it at -
files/patch-dll.hpp.diff
1 1 --- dll.hpp.orig 2012-06-09 08:21:04.000000000 -0500 2 2 +++ dll.hpp 2012-11-04 02:52:55.000000000 -0600 3 @@ -30,14 +30,12 @@ 3 @@ -36,14 +36,12 @@ 4 #define RAR_HASH_BLAKE2 2 4 5 5 #define RAR_DLL_VERSION 56 6 7 7 -#ifdef _UNIX 8 8 #define CALLBACK … … 13 13 #define UINT unsigned int 14 14 -#endif 15 15 16 struct RARHeaderData17 {16 #define RHDF_SPLITBEFORE 0x01 17 #define RHDF_SPLITAFTER 0x02 -
files/patch-dylib.diff
1 --- makefile. unix.orig 2012-05-15 00:31:03.000000000 -05002 +++ makefile .unix2012-11-04 02:54:31.000000000 -06003 @@ -13 0,8 +130,8 @@1 --- makefile.orig 2012-05-15 00:31:03.000000000 -0500 2 +++ makefile 2012-11-04 02:54:31.000000000 -0600 3 @@ -132,8 +132,8 @@ 4 4 lib: WHAT=RARDLL 5 5 lib: CXXFLAGS+=$(LIBFLAGS) 6 6 lib: clean $(OBJECTS) $(LIB_OBJ) -
files/patch-makefile.unix.diff
1 --- makefile. unix.orig 2012-05-15 00:31:03.000000000 -05002 +++ makefile .unix 2012-11-0402:52:55.000000000 -06003 @@ -9 7,7 +97,7 @@1 --- makefile.orig 2012-05-15 00:31:03.000000000 -0500 2 +++ makefile 02:52:55.000000000 -0600 3 @@ -98,7 +98,7 @@ 4 4 WHAT=UNRAR 5 5 6 UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o 7 -LIB_OBJ=filestr.o scantree.o dll.o 8 +LIB_OBJ=filestr.o recvol.o rs.o scantree.o dll.o 6 UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o qopen.o 7 -LIB_OBJ=filestr.o scantree.o dll.o qopen.o 8 +LIB_OBJ=filestr.o recvol.o rs.o scantree.o dll.o qopen.o 9 9 10 OBJECTS=rar.o strlist.o strfn.o pathfn.o s avepos.o smallfn.o global.o file.o filefn.o filcreat.o \10 OBJECTS=rar.o strlist.o strfn.o pathfn.o smallfn.o global.o file.o filefn.o filcreat.o \ 11 11 archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o \