Ticket #31667: patch-port_libpar2.diff
File patch-port_libpar2.diff, 1.1 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
files/patch-par2fileformat_h.diff
1 --- par2fileformat.h.orig 2012-05-14 20:07:06.000000000 +0200 2 +++ par2fileformat.h 2012-05-14 20:03:42.000000000 +0200 3 @@ -84,7 +84,7 @@ 4 PACKET_HEADER header; 5 // Body 6 MD5Hash fileid; // MD5hash of file_hash_16k, file_length, file_name 7 - FILEVERIFICATIONENTRY entries[]; 8 + FILEVERIFICATIONENTRY *entries; 9 } PACKED; 10 11 // The file description packet is used to record the name of the file, -
Portfile
24 24 depends_lib port:libsigcxx2 25 25 depends_build port:pkgconfig 26 26 27 if {${configure.compiler} == "clang"} {28 configure.compiler llvm-gcc-4.229 }30 27 31 28 use_parallel_build yes 32 29 30 patchfiles patch-par2fileformat_h.diff 33 31 post-destroot { 34 32 set docdir ${prefix}/share/doc/${name}-${version} 35 33 xinstall -d ${destroot}${docdir}