diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-08-10 13:53:32 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-08-10 13:53:32 +0000 |
commit | 8cc6c6ce4f2af8db1f8831495d28f0e1b0bbdc44 (patch) | |
tree | 9e67a96e93c737fd8e82c0b560d8a75967c06634 /net-irc/xchat | |
parent | remove references to doc use flag (diff) | |
download | gentoo-2-8cc6c6ce4f2af8db1f8831495d28f0e1b0bbdc44.tar.gz gentoo-2-8cc6c6ce4f2af8db1f8831495d28f0e1b0bbdc44.tar.bz2 gentoo-2-8cc6c6ce4f2af8db1f8831495d28f0e1b0bbdc44.zip |
Don't force "-g -pipe" on CFLAGS (bug #378647)
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'net-irc/xchat')
-rw-r--r-- | net-irc/xchat/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/xchat/files/xchat-2.8.8-cflags.patch | 17 | ||||
-rw-r--r-- | net-irc/xchat/xchat-2.8.8-r2.ebuild | 5 |
3 files changed, 25 insertions, 3 deletions
diff --git a/net-irc/xchat/ChangeLog b/net-irc/xchat/ChangeLog index f9ccc8864e35..db04b09c110b 100644 --- a/net-irc/xchat/ChangeLog +++ b/net-irc/xchat/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/xchat # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.302 2011/07/12 07:39:59 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.303 2011/08/10 13:53:32 polynomial-c Exp $ + + 10 Aug 2011; Lars Wendler <polynomial-c@gentoo.org> xchat-2.8.8-r2.ebuild, + +files/xchat-2.8.8-cflags.patch: + Don't force "-g -pipe" on CFLAGS (bug #378647). 12 Jul 2011; Lars Wendler <polynomial-c@gentoo.org> xchat-2.8.8-r1.ebuild, xchat-2.8.8-r2.ebuild: diff --git a/net-irc/xchat/files/xchat-2.8.8-cflags.patch b/net-irc/xchat/files/xchat-2.8.8-cflags.patch new file mode 100644 index 000000000000..896d61aa9840 --- /dev/null +++ b/net-irc/xchat/files/xchat-2.8.8-cflags.patch @@ -0,0 +1,17 @@ +--- xchat-2.8.8/configure.in ++++ xchat-2.8.8/configure.in +@@ -628,14 +628,6 @@ + if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then + CFLAGS="$CFLAGS -Wall" + fi +- if test "$system" = "Linux" -o "$system" = "FreeBSD"; then +- if test -z "`echo "$CFLAGS" | grep "\-pipe" 2> /dev/null`" ; then +- CFLAGS="$CFLAGS -pipe" +- fi +- fi +- if test -z "`echo "$CFLAGS" | grep "\-g " 2> /dev/null`" ; then +- CFLAGS="$CFLAGS -g" +- fi + fi + + dnl does this compiler support -Wno-pointer-sign ? diff --git a/net-irc/xchat/xchat-2.8.8-r2.ebuild b/net-irc/xchat/xchat-2.8.8-r2.ebuild index 61bc6bc0b401..b747d37f71df 100644 --- a/net-irc/xchat/xchat-2.8.8-r2.ebuild +++ b/net-irc/xchat/xchat-2.8.8-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.7 2011/07/12 07:39:59 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.8 2011/08/10 13:53:32 polynomial-c Exp $ EAPI=3 @@ -47,7 +47,8 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-input-box4.patch \ "${FILESDIR}"/${PN}-2.8.4-interix.patch \ "${FILESDIR}"/${P}-libnotify07.patch \ - "${FILESDIR}"/${P}-dbus.patch + "${FILESDIR}"/${P}-dbus.patch \ + "${FILESDIR}"/${PN}-2.8.8-cflags.patch use xchatdccserver && epatch "${DISTDIR}"/xchat-dccserver-0.6.patch.bz2 |