[93338] trunk/dports/archivers/libpar2

and.damore at macports.org and.damore at macports.org
Sun May 20 07:37:07 PDT 2012


Revision: 93338
          https://trac.macports.org/changeset/93338
Author:   and.damore at macports.org
Date:     2012-05-20 07:37:07 -0700 (Sun, 20 May 2012)
Log Message:
-----------
port libpar2: replacing [] syntax with * in struct to avoid clang error, closing ticket #31667

Modified Paths:
--------------
    trunk/dports/archivers/libpar2/Portfile

Added Paths:
-----------
    trunk/dports/archivers/libpar2/files/
    trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff

Modified: trunk/dports/archivers/libpar2/Portfile
===================================================================
--- trunk/dports/archivers/libpar2/Portfile	2012-05-20 14:32:53 UTC (rev 93337)
+++ trunk/dports/archivers/libpar2/Portfile	2012-05-20 14:37:07 UTC (rev 93338)
@@ -24,12 +24,10 @@
 depends_lib     port:libsigcxx2
 depends_build   port:pkgconfig
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
 
 use_parallel_build  yes
 
+patchfiles       patch-par2fileformat_h.diff
 post-destroot {
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}

Added: trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff
===================================================================
--- trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff	                        (rev 0)
+++ trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff	2012-05-20 14:37:07 UTC (rev 93338)
@@ -0,0 +1,11 @@
+--- par2fileformat.h.orig	2012-05-14 20:07:06.000000000 +0200
++++ par2fileformat.h	2012-05-14 20:03:42.000000000 +0200
+@@ -84,7 +84,7 @@
+   PACKET_HEADER         header;
+   // Body
+   MD5Hash               fileid;     // MD5hash of file_hash_16k, file_length, file_name
+-  FILEVERIFICATIONENTRY entries[];
++  FILEVERIFICATIONENTRY *entries;
+ } PACKED;
+ 
+ // The file description packet is used to record the name of the file,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120520/f95e74c6/attachment-0001.html>


More information about the macports-changes mailing list