From 678fdeace8d7990ec059984e8683aa7b53ff335f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sun, 8 Oct 2006 19:47:57 +0000 Subject: Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny . (Portage version: 2.1.2_pre2-r6) --- dev-php4/pecl-crack/ChangeLog | 7 ++++++- dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch | 11 +++++++++++ dev-php4/pecl-crack/pecl-crack-0.4.ebuild | 10 +++++++++- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch (limited to 'dev-php4/pecl-crack') diff --git a/dev-php4/pecl-crack/ChangeLog b/dev-php4/pecl-crack/ChangeLog index 542d0b79d134..a35db27950ca 100644 --- a/dev-php4/pecl-crack/ChangeLog +++ b/dev-php4/pecl-crack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-php4/pecl-crack # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/ChangeLog,v 1.9 2006/09/29 07:16:42 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/ChangeLog,v 1.10 2006/10/08 19:47:57 sebastian Exp $ + + 08 Oct 2006; Sebastian Bergmann + +files/fix-pecl-bug-5765.patch, pecl-crack-0.4.ebuild: + Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny + . *pecl-crack-0.4 (29 Sep 2006) diff --git a/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch b/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch new file mode 100644 index 000000000000..c180d5310b1b --- /dev/null +++ b/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch @@ -0,0 +1,11 @@ +--- crack-0.4/libcrack/src/cracklib.h 2005-09-21 11:00:06.000000000 +0200 ++++ crack-0.4-new/libcrack/src/cracklib.h 2006-10-08 20:44:00.618783250 +0200 +@@ -46,7 +46,7 @@ + + typedef unsigned char int8; + typedef unsigned short int int16; +-typedef unsigned long int int32; ++typedef unsigned int int32; + + #ifndef NUMWORDS + # define NUMWORDS 16 diff --git a/dev-php4/pecl-crack/pecl-crack-0.4.ebuild b/dev-php4/pecl-crack/pecl-crack-0.4.ebuild index 326826887d67..7a51860b3cf1 100644 --- a/dev-php4/pecl-crack/pecl-crack-0.4.ebuild +++ b/dev-php4/pecl-crack/pecl-crack-0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/pecl-crack-0.4.ebuild,v 1.1 2006/09/29 07:16:43 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/pecl-crack-0.4.ebuild,v 1.2 2006/10/08 19:47:57 sebastian Exp $ PHP_EXT_NAME="crack" PHP_EXT_INI="yes" @@ -15,3 +15,11 @@ SLOT="0" IUSE="" need_php_by_category + +src_unpack() { + unpack ${A} + cd "${S}" + + # Patch for http://pecl.php.net/bugs/bug.php?id=5765 + epatch "${FILESDIR}/fix-pecl-bug-5765.patch" +} -- cgit v1.2.3-65-gdbad