Ticket #43174: perl5.14.4.2.diff

File perl5.14.4.2.diff, 3.5 KB (added by mojca (Mojca Miklavec), 10 years ago)
  • Portfile

     
    44PortSystem          1.0
    55
    66name                perl5.14
    7 version             5.14.2
    8 revision            2
     7version             5.14.4
    98set branch          [join [lrange [split ${version} .] 0 1] .]
    109categories          lang
    1110license             {Artistic-1 GPL}
     
    2322homepage            http://www.perl.org/
    2423master_sites        http://www.cpan.org/src/5.0/
    2524
    26 checksums           rmd160  4a15090b2b4fdfa9abda6444d1825e62c393c891 \
    27                     sha256  c2a2362e8d1fdd2bfbfde801fcd78241f154c164f00fba76065ab8cc5c7b06cd
     25checksums           rmd160  b06a822864f2c8e4e77a1ebef74d37c00cba54d6 \
     26                    sha256  eece8c2b0d491bf6f746bd1f4f1bb7ce26f6b98e91c54690c617d7af38964745
    2827
    2928depends_lib-append  port:gdbm
    3029
     
    8483if {${os.platform} eq "darwin"} {
    8584    set platsuffix "-2level"
    8685}
    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\""
     86configure.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\""
    8887
    8988
    9089if {[variant_isset universal]} {
  • files/patch-handy.h.stdbool.diff

     
    1 --- handy.h.orig        2011-01-09 12:20:55.000000000 -0800
    2 +++ handy.h     2011-05-31 18:49:16.000000000 -0700
    3 @@ -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.)
    44 #define MUTABLE_IO(p)  ((IO *)MUTABLE_PTR(p))
    55 #define MUTABLE_SV(p)  ((SV *)MUTABLE_PTR(p))
    66 
     
    4646+#define HAS_BOOL 1
    4747+#include <stdbool.h>
    4848 
    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 -0800
    2 +++ hints/darwin.sh     2011-03-09 01:06:05.000000000 -0800
    3 @@ -134,7 +134,6 @@ esac
     1--- hints/darwin.sh.orig
     2+++ hints/darwin.sh
     3@@ -143,7 +143,6 @@ esac
    44 
    55 # Shared library extension is .dylib.
    66 # Bundle extension is .bundle.
     
    88 so='dylib';
    99 dlext='bundle';
    1010 usedl='define';
    11 @@ -172,6 +171,34 @@ case "$osvers" in
     11@@ -181,6 +180,34 @@ case "$osvers" in
    1212    ldflags="${ldflags} -flat_namespace"
    1313    lddlflags="${ldflags} -bundle -undefined suppress"
    1414    ;;
     
    4343 *)
    4444    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
    4545    case "$ld" in
    46 @@ -253,6 +266,10 @@ esac
     46@@ -262,6 +289,10 @@ esac
    4747 ;;
    4848 esac
    4949 
     
    5454 ##
    5555 # System libraries
    5656 ##
    57 @@ -317,3 +334,5 @@ ranlib='ranlib'
     57@@ -326,3 +357,5 @@ ranlib='ranlib'
    5858 # makefile in the same place.  Since Darwin uses GNU make, this dodges
    5959 # the problem.
    6060 firstmakefile=GNUmakefile;