Ticket #12686: par2-0.4_2.diff
File par2-0.4_2.diff, 3.1 KB (added by nox@…, 17 years ago) |
---|
-
files/patch-commandline_cpp
1 --- commandline.cpp~ Tue Jun 24 09:11:02 20032 +++ commandline.cpp Tue Nov 4 19:28:09 20033 @@ -27,6 +27,8 @@4 #endif5 #endif6 7 +#define stricmp(s1,s2) strcasecmp(s1,s2)8 +9 CommandLine::ExtraFile::ExtraFile(void)10 : filename()11 , filesize(0) -
files/patch-par2repairer_cpp
1 --- par2repairer.cpp~ Mon May 26 14:01:26 20032 +++ par2repairer.cpp Tue Nov 4 19:38:53 20033 @@ -27,6 +27,8 @@4 #endif5 #endif6 7 +#define stricmp(s1,s2) strcasecmp(s1,s2)8 +9 Par2Repairer::Par2Repairer(void)10 {11 firstpacket = true; -
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name par2 5 6 version 0.4 6 revision 17 revision 2 7 8 description Parchive: Parity Archive Volume Set for data recovery 9 8 10 long_description Parchive takes .par files and can regenerate missing data \ 9 11 based upon a Reed-Soloman Code. This is useful for \ 10 12 restoring missing pieces of a multi-part archive like the \ 11 13 kinds used on Usenet. Version 2 does not require \ 12 14 like-sized pieces, so it is useful for many more kinds of \ 13 15 data recovery. 16 14 17 maintainers julian@jabber.org 15 18 categories archivers 16 19 platforms darwin 17 20 homepage http://parchive.sourceforge.net/ 18 21 master_sites sourceforge:parchive 19 checksums md5 1551b63e57e3c232254dc62073b723a9 22 23 checksums md5 1551b63e57e3c232254dc62073b723a9 \ 24 sha1 2fcdc932b5d7b4b1c68c4a4ca855ca913d464d2f \ 25 rmd160 e98dc84fa7a4304b8d71c1d373fdce0bca1e6290 26 20 27 distname par2cmdline-${version} 28 21 29 configure.args --mandir=${prefix}/share/man 22 configure.cppflags-append "-L${prefix}/lib"23 configure.cflags "-no-cpp-precomp -flat_namespace -undefined suppress"24 30 25 platform darwin 8 powerpc { 26 configure.compiler gcc-3.3 27 patchfiles patch-commandline_cpp patch-par2repairer_cpp 31 test.run yes 32 test.target check 33 34 post-destroot { 35 set docdir ${prefix}/share/doc/${name}-${version} 36 xinstall -d ${destroot}${docdir} 37 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING README ROADMAP \ 38 ${destroot}${docdir} 28 39 } 29 40 30 platform darwin 8 i386{31 patchfiles patch-commandline_cpp patch-par2repairer_cpppatch-reedsolomon_cpp41 platform darwin 8 { 42 patchfiles patch-reedsolomon_cpp 32 43 } 33 44 34 45 platform darwin 9 { 35 patchfiles patch-commandline_cpp patch-par2repairer_cpppatch-reedsolomon_cpp46 patchfiles patch-reedsolomon_cpp 36 47 } 48 49 livecheck.distname par2cmdline 50