[118512] trunk/dports/lang/perl5.16
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Apr 3 10:26:25 PDT 2014
Revision: 118512
https://trac.macports.org/changeset/118512
Author: macsforever2000 at macports.org
Date: 2014-04-03 10:26:25 -0700 (Thu, 03 Apr 2014)
Log Message:
-----------
perl5.16: Update to version 5.16.3. Fix code error when building with clang. (#43150)
Modified Paths:
--------------
trunk/dports/lang/perl5.16/Portfile
Added Paths:
-----------
trunk/dports/lang/perl5.16/files/patch-perl.h.diff
Modified: trunk/dports/lang/perl5.16/Portfile
===================================================================
--- trunk/dports/lang/perl5.16/Portfile 2014-04-03 16:45:55 UTC (rev 118511)
+++ trunk/dports/lang/perl5.16/Portfile 2014-04-03 17:26:25 UTC (rev 118512)
@@ -4,8 +4,7 @@
PortSystem 1.0
name perl5.16
-version 5.16.1
-revision 3
+version 5.16.3
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
license {Artistic-1 GPL}
@@ -23,13 +22,14 @@
homepage http://www.perl.org/
master_sites http://www.cpan.org/src/5.0/
-checksums rmd160 90effd1105fb0595673b24824c760f2c79c4b317 \
- sha256 0704b1421fe50015becd32c8b7ed05843e8b6c188a8c16cb0c11d76986375fd0
+checksums rmd160 f25fdd72449156a7cbe989e8bd339fdba1afabc0 \
+ sha256 bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8
depends_lib-append port:gdbm
patchfiles patch-Configure.diff \
- patch-handy.h.stdbool.diff
+ patch-handy.h.stdbool.diff \
+ patch-perl.h.diff
platform darwin {
patchfiles-append patch-hints_darwin.sh.diff
@@ -84,7 +84,7 @@
if {${os.platform} eq "darwin"} {
set platsuffix "-2level"
}
-configure.args-append "-D inc_version_list=\"5.16.0/${os.platform}-thread-multi${platsuffix} 5.16.0 \""
+configure.args-append "-D inc_version_list=\"5.16.1/${os.platform}-thread-multi${platsuffix} 5.16.1 5.16.0/${os.platform}-thread-multi${platsuffix} 5.16.0\""
if {[variant_isset universal]} {
post-configure {
Added: trunk/dports/lang/perl5.16/files/patch-perl.h.diff
===================================================================
--- trunk/dports/lang/perl5.16/files/patch-perl.h.diff (rev 0)
+++ trunk/dports/lang/perl5.16/files/patch-perl.h.diff 2014-04-03 17:26:25 UTC (rev 118512)
@@ -0,0 +1,14 @@
+--- perl.h.orig
++++ perl.h
+@@ -359,7 +359,11 @@
+ /* Rats: if dTHR is just blank then the subsequent ";" throws an error */
+ /* Declaring a *function*, instead of a variable, ensures that we don't rely
+ on being able to suppress "unused" warnings. */
++#ifdef __cplusplus
++#define dNOOP (void)0
++#else
+ #define dNOOP extern int Perl___notused(void)
++#endif
+
+ #ifndef pTHX
+ /* Don't bother defining tTHX and sTHX; using them outside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140403/2587a35d/attachment.html>
More information about the macports-changes
mailing list