summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-06-20 08:35:51 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-06-20 08:35:51 +0000
commit49b72a2d6e850766f2eadd5f859d9ea35ba4f2a1 (patch)
tree28273350a41fb3fdb01cc2593cf588fcb5a752c1 /www-servers
parentCheck for python built with threads USE flag, closes bug #227287 (diff)
downloadgentoo-2-49b72a2d6e850766f2eadd5f859d9ea35ba4f2a1.tar.gz
gentoo-2-49b72a2d6e850766f2eadd5f859d9ea35ba4f2a1.tar.bz2
gentoo-2-49b72a2d6e850766f2eadd5f859d9ea35ba4f2a1.zip
Added patch for authentication problem on ppc (upstream bug: http://code.google.com/p/cherokee/issues/detail?id=45)
(Portage version: 2.1.5.6)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/cherokee/ChangeLog7
-rw-r--r--www-servers/cherokee/cherokee-0.7.2.ebuild9
-rw-r--r--www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch12
3 files changed, 25 insertions, 3 deletions
diff --git a/www-servers/cherokee/ChangeLog b/www-servers/cherokee/ChangeLog
index f48b6c7eff10..e682962af8d1 100644
--- a/www-servers/cherokee/ChangeLog
+++ b/www-servers/cherokee/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-servers/cherokee
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.40 2008/06/12 10:40:16 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/ChangeLog,v 1.41 2008/06/20 08:35:51 dev-zero Exp $
+
+ 20 Jun 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/cherokee-0.7.2-signed_unsigned_char.patch, cherokee-0.7.2.ebuild:
+ Added patch for authentication problem on ppc (upstream bug:
+ http://code.google.com/p/cherokee/issues/detail?id=45)
*cherokee-0.7.2 (12 Jun 2008)
diff --git a/www-servers/cherokee/cherokee-0.7.2.ebuild b/www-servers/cherokee/cherokee-0.7.2.ebuild
index 72ac9926758d..beced80b763a 100644
--- a/www-servers/cherokee/cherokee-0.7.2.ebuild
+++ b/www-servers/cherokee/cherokee-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.7.2.ebuild,v 1.1 2008/06/12 10:40:16 bass Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.7.2.ebuild,v 1.2 2008/06/20 08:35:51 dev-zero Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -25,7 +25,12 @@ RDEPEND=">=sys-libs/zlib-1.1.4-r1
admin? ( dev-lang/python )"
DEPEND="${RDEPEND}"
-#S="${WORKDIR}/${P}b1240"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-signed_unsigned_char.patch"
+}
src_compile() {
local myconf
diff --git a/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch b/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch
new file mode 100644
index 000000000000..9eafc4090c77
--- /dev/null
+++ b/www-servers/cherokee/files/cherokee-0.7.2-signed_unsigned_char.patch
@@ -0,0 +1,12 @@
+diff -Naur cherokee-0.7.2.orig/cherokee/buffer.c cherokee-0.7.2/cherokee/buffer.c
+--- cherokee-0.7.2.orig/cherokee/buffer.c 2008-06-20 09:55:45.000000000 +0200
++++ cherokee-0.7.2/cherokee/buffer.c 2008-06-20 09:57:41.000000000 +0200
+@@ -1250,7 +1250,7 @@
+ * "A-Za-z0-9+/".
+ */
+
+- static const char
++ static const signed char
+ b64_decode_tab[256] = {
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* 00-0F */
+ -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* 10-1F */