diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-11-04 21:24:24 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-11-04 21:24:24 +0000 |
commit | a0bfcf1cfcd4424a5cde5dc22c7958d536f6abcc (patch) | |
tree | 303b86fd2b8cab33795fab3231c0327dcb011476 /media-sound | |
parent | Added missing alsa-utils dep (bug #287402) (diff) | |
download | gentoo-2-a0bfcf1cfcd4424a5cde5dc22c7958d536f6abcc.tar.gz gentoo-2-a0bfcf1cfcd4424a5cde5dc22c7958d536f6abcc.tar.bz2 gentoo-2-a0bfcf1cfcd4424a5cde5dc22c7958d536f6abcc.zip |
Strip warning flags from Makefiles (bug #291391)
(Portage version: 2.1.7.3/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ario/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/ario/ario-1.3.ebuild | 12 | ||||
-rw-r--r-- | media-sound/ario/files/ario-1.3-unsupported-warnings.patch | 184 |
3 files changed, 199 insertions, 3 deletions
diff --git a/media-sound/ario/ChangeLog b/media-sound/ario/ChangeLog index a7e7dab137fc..14adc4822dc9 100644 --- a/media-sound/ario/ChangeLog +++ b/media-sound/ario/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/ario # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ario/ChangeLog,v 1.10 2009/10/30 18:27:05 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ario/ChangeLog,v 1.11 2009/11/04 21:24:23 angelos Exp $ + + 04 Nov 2009; Christoph Mende <angelos@gentoo.org> ario-1.3.ebuild, + +files/ario-1.3-unsupported-warnings.patch: + Strip warning flags from Makefiles (bug #291391) *ario-1.3 (30 Oct 2009) diff --git a/media-sound/ario/ario-1.3.ebuild b/media-sound/ario/ario-1.3.ebuild index 29f07f35037c..eb1453c3e9d1 100644 --- a/media-sound/ario/ario-1.3.ebuild +++ b/media-sound/ario/ario-1.3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ario/ario-1.3.ebuild,v 1.1 2009/10/30 18:27:05 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ario/ario-1.3.ebuild,v 1.2 2009/11/04 21:24:23 angelos Exp $ EAPI=1 -inherit gnome2-utils +inherit autotools eutils gnome2-utils DESCRIPTION="a GTK2 MPD (Music Player Daemon) client inspired by Rythmbox" HOMEPAGE="http://ario-player.sourceforge.net" @@ -30,6 +30,14 @@ DEPEND="sys-devel/gettext dev-util/intltool dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-unsupported-warnings.patch" + eautoreconf +} + src_compile() { econf \ $(use_enable audioscrobbler) \ diff --git a/media-sound/ario/files/ario-1.3-unsupported-warnings.patch b/media-sound/ario/files/ario-1.3-unsupported-warnings.patch new file mode 100644 index 000000000000..683d8407cdd2 --- /dev/null +++ b/media-sound/ario/files/ario-1.3-unsupported-warnings.patch @@ -0,0 +1,184 @@ +diff --git a/plugins/audioscrobbler/Makefile.am b/plugins/audioscrobbler/Makefile.am +index b714607..43cf4f1 100644 +--- a/plugins/audioscrobbler/Makefile.am ++++ b/plugins/audioscrobbler/Makefile.am +@@ -19,16 +19,7 @@ INCLUDES = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + uidir = $(plugindatadir) + ui_DATA = audioscrobbler-prefs.ui +diff --git a/plugins/filesystem/Makefile.am b/plugins/filesystem/Makefile.am +index 16322af..f00a93f 100644 +--- a/plugins/filesystem/Makefile.am ++++ b/plugins/filesystem/Makefile.am +@@ -21,16 +21,7 @@ INCLUDES = \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ + -I$(top_srcdir)/src/sources \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + plugin_in_files = filesystem.ario-plugin.desktop.in + +diff --git a/plugins/information/Makefile.am b/plugins/information/Makefile.am +index c118e7e..05352e0 100644 +--- a/plugins/information/Makefile.am ++++ b/plugins/information/Makefile.am +@@ -18,16 +18,7 @@ INCLUDES = \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ + -I$(top_srcdir)/src/sources \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + uidir = $(plugindatadir) + ui_DATA = information.ui +diff --git a/plugins/libnotify/Makefile.am b/plugins/libnotify/Makefile.am +index ed0bc4d..8f5d312 100644 +--- a/plugins/libnotify/Makefile.am ++++ b/plugins/libnotify/Makefile.am +@@ -20,16 +20,7 @@ INCLUDES = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + plugin_in_files = libnotify.ario-plugin.desktop.in + +diff --git a/plugins/mmkeys/Makefile.am b/plugins/mmkeys/Makefile.am +index c52f786..ad512dc 100644 +--- a/plugins/mmkeys/Makefile.am ++++ b/plugins/mmkeys/Makefile.am +@@ -18,16 +18,7 @@ INCLUDES = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + plugin_in_files = mmkeys.ario-plugin.desktop.in + +diff --git a/plugins/radios/Makefile.am b/plugins/radios/Makefile.am +index 36365eb..105c1d0 100644 +--- a/plugins/radios/Makefile.am ++++ b/plugins/radios/Makefile.am +@@ -24,16 +24,7 @@ INCLUDES = \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ + -I$(top_srcdir)/src/sources \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + plugin_in_files = radios.ario-plugin.desktop.in + +diff --git a/plugins/wikipedia/Makefile.am b/plugins/wikipedia/Makefile.am +index 6bf4935..24249ba 100644 +--- a/plugins/wikipedia/Makefile.am ++++ b/plugins/wikipedia/Makefile.am +@@ -18,16 +18,7 @@ INCLUDES = \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/lib \ + -I$(top_srcdir)/src/plugins \ +- -I$(top_srcdir)/src/shell \ +- -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition ++ -I$(top_srcdir)/src/shell + + plugin_in_files = wikipedia.ario-plugin.desktop.in + +diff --git a/src/Makefile.am b/src/Makefile.am +index 73936e5..1572e17 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -3,16 +3,6 @@ bin_PROGRAMS = ario + + noinst_LTLIBRARIES = libario.la + +-INCLUDES = -Wall -Wimplicit -Wunused-label \ +- -Wmissing-declarations -Wmissing-prototypes \ +- -Wnested-externs -Wpointer-arith \ +- -Wcast-align -Wpointer-sign \ +- -Wclobbered -Wempty-body -Wignored-qualifiers \ +- -Wmissing-field-initializers -Wmissing-parameter-type \ +- -Wold-style-declaration -Woverride-init \ +- -Wsign-compare -Wtype-limits -Wuninitialized \ +- -Wbad-function-cast -Wold-style-definition +- + ario_SOURCES = ario-main.c + ario_LDADD = libario.la $(DEPS_LIBS) + +@@ -188,7 +178,7 @@ if ENABLE_PYTHON + plugins/ario-python-plugin.c\ + plugins/ario-python-plugin.h + +- INCLUDES += \ ++ INCLUDES = \ + $(NO_STRICT_ALIASING_CFLAGS) \ + $(PYGTK_CFLAGS) \ + $(PYTHON_CFLAGS) \ |