diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-03 13:24:56 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-03 13:24:56 +0000 |
commit | d613d884603ddcf45fd3bb36085aa51f34b33085 (patch) | |
tree | a5afedd95f44fddac96faf654040ccc8084537db /media-sound/paprefs | |
parent | Adding patch to fix security bug #219762 (diff) | |
download | gentoo-2-d613d884603ddcf45fd3bb36085aa51f34b33085.tar.gz gentoo-2-d613d884603ddcf45fd3bb36085aa51f34b33085.tar.bz2 gentoo-2-d613d884603ddcf45fd3bb36085aa51f34b33085.zip |
Fix building with GCC 4.3 wrt #220108, thanks to Peter Tworek.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-sound/paprefs')
-rw-r--r-- | media-sound/paprefs/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/paprefs/files/paprefs-0.9.6-gcc43.patch | 11 | ||||
-rw-r--r-- | media-sound/paprefs/paprefs-0.9.6.ebuild | 8 |
3 files changed, 23 insertions, 2 deletions
diff --git a/media-sound/paprefs/ChangeLog b/media-sound/paprefs/ChangeLog index 9a18df7ce4bf..8dfd95aeb020 100644 --- a/media-sound/paprefs/ChangeLog +++ b/media-sound/paprefs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/paprefs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/paprefs/ChangeLog,v 1.13 2008/02/11 03:59:28 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/paprefs/ChangeLog,v 1.14 2008/05/03 13:24:55 drac Exp $ + + 03 May 2008; Samuli Suominen <drac@gentoo.org> + +files/paprefs-0.9.6-gcc43.patch, paprefs-0.9.6.ebuild: + Fix building with GCC 4.3 wrt #220108, thanks to Peter Tworek. 11 Feb 2008; Olivier Crête <tester@gentoo.org> paprefs-0.9.6.ebuild: Stable on amd64, bug #204219 diff --git a/media-sound/paprefs/files/paprefs-0.9.6-gcc43.patch b/media-sound/paprefs/files/paprefs-0.9.6-gcc43.patch new file mode 100644 index 000000000000..79acfe16bb48 --- /dev/null +++ b/media-sound/paprefs/files/paprefs-0.9.6-gcc43.patch @@ -0,0 +1,11 @@ +diff -aur paprefs-0.9.6/src/paprefs.cc paprefs-0.9.6.mod/src/paprefs.cc +--- paprefs-0.9.6/src/paprefs.cc 2007-10-29 22:18:29.000000000 +0100 ++++ paprefs-0.9.6.mod/src/paprefs.cc 2008-04-19 18:02:44.000000000 +0200 +@@ -28,6 +28,7 @@ + #include <gtkmm.h> + #include <libglademm.h> + #include <gconfmm.h> ++#include <libintl.h> + + #define PA_GCONF_ROOT "/system/pulseaudio" + #define PA_GCONF_PATH_MODULES PA_GCONF_ROOT"/modules" diff --git a/media-sound/paprefs/paprefs-0.9.6.ebuild b/media-sound/paprefs/paprefs-0.9.6.ebuild index c080f22fa8b8..32e65424af9b 100644 --- a/media-sound/paprefs/paprefs-0.9.6.ebuild +++ b/media-sound/paprefs/paprefs-0.9.6.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/media-sound/paprefs/paprefs-0.9.6.ebuild,v 1.7 2008/02/11 03:59:28 tester Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/paprefs/paprefs-0.9.6.ebuild,v 1.8 2008/05/03 13:24:55 drac Exp $ inherit eutils @@ -30,6 +30,12 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} + src_compile() { econf $(use_enable nls) --disable-lynx emake || die "emake failed." |