[98055] trunk/dports/archivers/libpar2

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 23:04:54 PDT 2012


Revision: 98055
          http://trac.macports.org//changeset/98055
Author:   jeremyhu at macports.org
Date:     2012-09-23 23:04:53 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
libpar2: Remove bad patch and use compiler blacklisting from base

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

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

Modified: trunk/dports/archivers/libpar2/Portfile
===================================================================
--- trunk/dports/archivers/libpar2/Portfile	2012-09-24 06:03:34 UTC (rev 98054)
+++ trunk/dports/archivers/libpar2/Portfile	2012-09-24 06:04:53 UTC (rev 98055)
@@ -25,16 +25,10 @@
 depends_lib     port:libsigcxx2
 depends_build   port:pkgconfig
 
-# clang++ produces code that does not pass par2's 'make check'
-# par2 and libpar2 share code, so it's highly expected that
-# libpar2 is bad as well. #31667
-if {[string match "*clang*" ${configure.compiler}]} { 
-    configure.compiler llvm-gcc-4.2 
-} 
-
 use_parallel_build  yes
 
-patchfiles       patch-par2fileformat_h.diff
+compiler.blacklist clang macports-clang macports-clang-2.9 macports-clang-3.0 macports-clang-3.1
+
 post-destroot {
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}

Deleted: trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff
===================================================================
--- trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff	2012-09-24 06:03:34 UTC (rev 98054)
+++ trunk/dports/archivers/libpar2/files/patch-par2fileformat_h.diff	2012-09-24 06:04:53 UTC (rev 98055)
@@ -1,11 +0,0 @@
---- 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/20120923/b5d40c47/attachment.html>


More information about the macports-changes mailing list