Skip to content
Permalink
Browse files

php: update php56 to 5.6.0alpha3

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117650 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Mar 7, 2014
1 parent a0d1f43 commit a7ae5478f515b5cd54754bd1592dcf4a7c937c8c
Showing with 22 additions and 4 deletions.
  1. +8 −4 lang/php/Portfile
  2. +14 −0 lang/php/files/patch-php56-ext-openssl-xp_ssl.c.diff
@@ -97,15 +97,15 @@ switch ${subport_branch} {
# When this becomes a stable version, remove the overrides for homepage,
# master_sites and livecheck, and update php.latest_stable_branch in the
# php-1.1 portgroup.
version 5.6.0alpha2
version 5.6.0alpha3
homepage http://qa.php.net/
master_sites http://downloads.php.net/tyrael/
use_xz yes
set suhosin_available no
checksums ${distname}${extract.suffix} \
md5 b1944a0ec309eb31551e07ae5a8f426c \
rmd160 72015411a6bb76dadfbc165192cfe7a5322d0f82 \
sha256 d240a4fd09610b44f2567fcb6f7970e06222506ae6d8dcba7b31b0ee4b58207d
md5 57d9317dab2e8eab962990ff0c5ea70a \
rmd160 8ff9342129f312915e51b4e201fb08a63bb65055 \
sha256 7a91e609b772072011dc3e4988826bfe4e5c41f9339283d9f09c48f2bdd66702
livecheck.url ${homepage}
livecheck.regex php-([strsed ${subport_branch} {g/\\./\\./}](?:\\.\[0-9.\]+)*(?:(?:alpha|beta|RC)\\d+|-latest))\\.tar
}
@@ -888,6 +888,10 @@ subport ${php}-openssl {
move ${php.build_dirs}/config0.m4 ${php.build_dirs}/config.m4
}

if {[vercmp ${branch} 5.6] == 0} {
patchfiles-append patch-${php}-ext-openssl-xp_ssl.c.diff
}

configure.args-append --with-kerberos=${prefix} \
--with-openssl=${prefix}
}
@@ -0,0 +1,14 @@
https://bugs.php.net/bug.php?id=66840
--- ext/openssl/xp_ssl.c.orig 2014-02-26 19:36:56.000000000 -0600
+++ ext/openssl/xp_ssl.c 2014-03-06 20:21:56.000000000 -0600
@@ -18,6 +18,10 @@

/* $Id$ */

+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "php.h"
#include "ext/standard/file.h"
#include "ext/standard/url.h"

0 comments on commit a7ae547

Please sign in to comment.
You can’t perform that action at this time.