diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2006-10-08 19:47:57 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2006-10-08 19:47:57 +0000 |
commit | 678fdeace8d7990ec059984e8683aa7b53ff335f (patch) | |
tree | df4554ddecab6d22aff7181cd34bae5af7c93ed9 | |
parent | Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny <lars... (diff) | |
download | gentoo-2-678fdeace8d7990ec059984e8683aa7b53ff335f.tar.gz gentoo-2-678fdeace8d7990ec059984e8683aa7b53ff335f.tar.bz2 gentoo-2-678fdeace8d7990ec059984e8683aa7b53ff335f.zip |
Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny <lars@strojny.net>.
(Portage version: 2.1.2_pre2-r6)
-rw-r--r-- | dev-php4/pecl-crack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch | 11 | ||||
-rw-r--r-- | dev-php4/pecl-crack/pecl-crack-0.4.ebuild | 10 |
3 files changed, 26 insertions, 2 deletions
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 <sebastian@gentoo.org> + +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 + <lars@strojny.net>. *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" +} |