Ticket #43174: perl5.14.4.2.diff
File perl5.14.4.2.diff, 3.5 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name perl5.14 7 version 5.14.2 8 revision 2 7 version 5.14.4 9 8 set branch [join [lrange [split ${version} .] 0 1] .] 10 9 categories lang 11 10 license {Artistic-1 GPL} … … 23 22 homepage http://www.perl.org/ 24 23 master_sites http://www.cpan.org/src/5.0/ 25 24 26 checksums rmd160 4a15090b2b4fdfa9abda6444d1825e62c393c891\27 sha256 c2a2362e8d1fdd2bfbfde801fcd78241f154c164f00fba76065ab8cc5c7b06cd25 checksums rmd160 b06a822864f2c8e4e77a1ebef74d37c00cba54d6 \ 26 sha256 eece8c2b0d491bf6f746bd1f4f1bb7ce26f6b98e91c54690c617d7af38964745 28 27 29 28 depends_lib-append port:gdbm 30 29 … … 84 83 if {${os.platform} eq "darwin"} { 85 84 set platsuffix "-2level" 86 85 } 87 configure.args-append "-D inc_version_list=\"5.14. 1/${os.platform}-thread-multi${platsuffix} 5.14.1 5.14.0/${os.platform}-thread-multi${platsuffix} 5.14.0\""86 configure.args-append "-D inc_version_list=\"5.14.2/${os.platform}-thread-multi${platsuffix} 5.14.2 5.14.1/${os.platform}-thread-multi${platsuffix} 5.14.1 5.14.0/${os.platform}-thread-multi${platsuffix} 5.14.0\"" 88 87 89 88 90 89 if {[variant_isset universal]} { -
files/patch-handy.h.stdbool.diff
1 --- handy.h.orig 2011-01-09 12:20:55.000000000 -08002 +++ handy.h 2011-05-31 18:49:16.000000000 -07003 @@ -70,45 +70,8 @@ Null SV pointer. (No longer available wh 1 --- handy.h.orig 2 +++ handy.h 3 @@ -70,45 +70,8 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.) 4 4 #define MUTABLE_IO(p) ((IO *)MUTABLE_PTR(p)) 5 5 #define MUTABLE_SV(p) ((SV *)MUTABLE_PTR(p)) 6 6 … … 46 46 +#define HAS_BOOL 1 47 47 +#include <stdbool.h> 48 48 49 /* Try to figure out __func__ or __FUNCTION__ equivalent, if any.50 * XXX Should really be a Configure probe, with HAS__FUNCTION__49 /* a simple (bool) cast may not do the right thing: if bool is defined 50 * as char for example, then the cast from int is implementation-defined -
files/patch-hints_darwin.sh.diff
1 --- hints/darwin.sh.orig 2011-01-09 12:20:55.000000000 -08002 +++ hints/darwin.sh 2011-03-09 01:06:05.000000000 -08003 @@ -1 34,7 +134,6 @@ esac1 --- hints/darwin.sh.orig 2 +++ hints/darwin.sh 3 @@ -143,7 +143,6 @@ esac 4 4 5 5 # Shared library extension is .dylib. 6 6 # Bundle extension is .bundle. … … 8 8 so='dylib'; 9 9 dlext='bundle'; 10 10 usedl='define'; 11 @@ -1 72,6 +171,34 @@ case "$osvers" in11 @@ -181,6 +180,34 @@ case "$osvers" in 12 12 ldflags="${ldflags} -flat_namespace" 13 13 lddlflags="${ldflags} -bundle -undefined suppress" 14 14 ;; … … 43 43 *) 44 44 lddlflags="${ldflags} -bundle -undefined dynamic_lookup" 45 45 case "$ld" in 46 @@ -2 53,6 +266,10 @@ esac46 @@ -262,6 +289,10 @@ esac 47 47 ;; 48 48 esac 49 49 … … 54 54 ## 55 55 # System libraries 56 56 ## 57 @@ -3 17,3 +334,5 @@ ranlib='ranlib'57 @@ -326,3 +357,5 @@ ranlib='ranlib' 58 58 # makefile in the same place. Since Darwin uses GNU make, this dodges 59 59 # the problem. 60 60 firstmakefile=GNUmakefile;