Added gmp_limb_bits patch:

http://svn.php.net/viewvc?view=revision&revision=295402

Enabled debug so php-cli doesn't segfault installing pear
This commit is contained in:
Mark Lamourine 2010-08-21 16:55:40 -07:00
parent 0d0673bf44
commit 75baf13aae

View file

@ -6,7 +6,7 @@ pkgver=5.2.13
pkgrel=1
_suhosinver=${pkgver}-0.9.7
pkgdesc='A high-level scripting language'
arch=('i686' 'x86_64')
arch=('arm' 'i686' 'x86_64')
license=('PHP')
url='http://www.php.net'
backup=('etc/php/php.ini')
@ -39,13 +39,15 @@ optdepends=('bzip2: bz2'
)
source=("http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2"
"http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz"
'php.ini' 'apache.conf' 'db-configure.patch' 'curl-flush.patch')
'php.ini' 'apache.conf' 'db-configure.patch'
'gmp_limb_bits.patch')
md5sums=('eb4d0766dc4fb9667f05a68b6041e7d1'
'8188e119ce7abce98b8f004de46fbac5'
'50b6a4ce330b016e19cb922d202ab170'
'96ca078be6729b665be8a865535a97bf'
'74e5ce5a02488ec91b1c59f539e42936'
'648c83c991a187cd0f2be435cb022947')
'9635efd0d972c2da78a0ae08bbc7c052'
)
build() {
phpconfig="--prefix=/usr \
@ -54,7 +56,7 @@ build() {
--with-config-file-path=/etc/php \
--with-config-file-scan-dir=/etc/php/conf.d \
--enable-inline-optimization \
--disable-debug \
--enable-debug \
--disable-rpath \
--disable-static \
--enable-shared \
@ -138,8 +140,8 @@ build() {
# apply suhosin patch
patch -p1 -i ${srcdir}/suhosin-patch-${_suhosinver}.patch
# fix curl regression; should be fixed upstream with PHP >= 5.2.11
patch -p3 -i ${srcdir}/curl-flush.patch
# apply GMP LIMB BITS patch
patch -p0 -i ${srcdir}/gmp_limb_bits.patch
# cli
./configure ${phpconfig} \