summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-03-02 00:03:41 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-03-02 00:03:41 +0000
commit153c445b2671a184e17c8c4e150d347d56805101 (patch)
tree107d638a5cdecfed8a3b7e4bc9176dd6fa0147df /app-misc/beanstalkd
parentFix for gcc 4.3.3 / fortify_sources. Patch by Magnus Granberg. (diff)
downloadgentoo-2-153c445b2671a184e17c8c4e150d347d56805101.tar.gz
gentoo-2-153c445b2671a184e17c8c4e150d347d56805101.tar.bz2
gentoo-2-153c445b2671a184e17c8c4e150d347d56805101.zip
Fixing -Werror failure. Patch by Magnus Granberg.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/beanstalkd')
-rw-r--r--app-misc/beanstalkd/ChangeLog8
-rw-r--r--app-misc/beanstalkd/beanstalkd-1.0.ebuild6
-rw-r--r--app-misc/beanstalkd/files/beanstalkd-werror.patch9
3 files changed, 18 insertions, 5 deletions
diff --git a/app-misc/beanstalkd/ChangeLog b/app-misc/beanstalkd/ChangeLog
index 51156345e7d9..d21dc65909cd 100644
--- a/app-misc/beanstalkd/ChangeLog
+++ b/app-misc/beanstalkd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/beanstalkd
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.1 2008/08/15 21:24:34 caleb Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/ChangeLog,v 1.2 2009/03/02 00:03:41 patrick Exp $
+
+ 02 Mar 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/beanstalkd-werror.patch, beanstalkd-1.0.ebuild:
+ Fixing -Werror failure. Patch by Magnus Granberg.
*beanstalkd-1.0 (15 Aug 2008)
diff --git a/app-misc/beanstalkd/beanstalkd-1.0.ebuild b/app-misc/beanstalkd/beanstalkd-1.0.ebuild
index 132a072f59d4..594f1988e3e6 100644
--- a/app-misc/beanstalkd/beanstalkd-1.0.ebuild
+++ b/app-misc/beanstalkd/beanstalkd-1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.0.ebuild,v 1.1 2008/08/15 21:24:34 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.0.ebuild,v 1.2 2009/03/02 00:03:41 patrick Exp $
inherit eutils
@@ -20,7 +20,7 @@ IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
-
+ epatch "${FILESDIR}/${PN}-werror.patch"
epatch "${FILESDIR}/Makefile.install.patch"
}
diff --git a/app-misc/beanstalkd/files/beanstalkd-werror.patch b/app-misc/beanstalkd/files/beanstalkd-werror.patch
new file mode 100644
index 000000000000..710e6ed16d2a
--- /dev/null
+++ b/app-misc/beanstalkd/files/beanstalkd-werror.patch
@@ -0,0 +1,9 @@
+--- Makefile 2009-02-26 00:26:15.000000000 +0000
++++ Makefile 2009-02-26 00:19:25.000000000 +0000
+@@ -1,5 +1,5 @@
+ program := beanstalkd
+-export CFLAGS := $(CFLAGS) -Wall -Werror
++export CFLAGS := $(CFLAGS) -Wall
+ export LDFLAGS := $(LDFLAGS) -levent
+ export BINDIR := $(DESTDIR)/usr/bin
+