[proaudio] [2151] beast: added format-security patch |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2151
Author: dominique
Date: 2012-06-17 19:20:16 +0200 (Sun, 17 Jun 2012)
Log Message:
-----------
beast: added format-security patch
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/beast/ChangeLog
trunk/overlays/proaudio/media-sound/beast/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/beast/beast-0.7.4-r1.ebuild
trunk/overlays/proaudio/media-sound/beast/files/400-format-security.patch
Removed Paths:
-------------
trunk/overlays/proaudio/media-sound/beast/beast-0.7.4.ebuild
Modified: trunk/overlays/proaudio/media-sound/beast/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/beast/ChangeLog 2012-06-17 15:09:01 UTC (rev 2150)
+++ trunk/overlays/proaudio/media-sound/beast/ChangeLog 2012-06-17 17:20:16 UTC (rev 2151)
@@ -2,7 +2,8 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
-*beast-0.7.4
+ 17 Jun 2012; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+ beast-0.7.4-r1: added 400-format-security.patch from Debian
05 Jun 2011; Dominique Michel <dominique@xxxxxxxxxxxxx> +beast-0.7.4.ebuild
with 4 patches from Debian.
Modified: trunk/overlays/proaudio/media-sound/beast/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/beast/Manifest 2012-06-17 15:09:01 UTC (rev 2150)
+++ trunk/overlays/proaudio/media-sound/beast/Manifest 2012-06-17 17:20:16 UTC (rev 2151)
@@ -2,7 +2,8 @@
AUX 203_gcc45.patch 1918 RMD160 aca6fa74a20cdd1950981c76f1e633724398b87b SHA1 c885d06a31e378ed710b17b1a66d3e95a68a7bdc SHA256 78b56d4304748b0083398b39d4061c52725fe6ca6e9e8939b16537bbf2488432
AUX 210_volatile.diff 597 RMD160 d1979d984f9b66d0ead7463c9419d702c9d2e98a SHA1 39c387995534392548e6adc18176db402d1d9a67 SHA256 76c62bd90389b670ffc514e63cc70a339c690f7f484a839cae7bc0e48d720148
AUX 300-desktop_file.patch 350 RMD160 873dc7a4ac5a079cac865730e124c53c9d8d964d SHA1 72284830b9733f3ab7280165aba1c013c25b6ed0 SHA256 bf021f60a30d3a70f9ed34c6449f4880fa63ca9bc47bb8dec075c98efad7af68
+AUX 400-format-security.patch 1772 RMD160 ec037359c13b7f1194b78850b1dd03304e6b6f81 SHA1 e0d1ee9aa170bb243e07a2915271e322f6a6b3ef SHA256 a17e668ddb4d17855c649ca9cd6a987c5f0ff1d8a34e914337ec7c6a827588b9
DIST beast-0.7.4.tar.bz2 6425747 RMD160 e7399b67a7296b418d8edf7707edbbcc46619445 SHA1 949ce9741e10a45914c32ad9972d13e7b932cfe8 SHA256 784be2f5bf35e2ced5fd8aef9e43be3e362eb727f00ef1b2c67b54092e3c7da1
-EBUILD beast-0.7.4.ebuild 1617 RMD160 ad37c01b34e2b538f652692ce6ec96f524724f95 SHA1 6e1e86684b6958276cd8aee3cd3670df57e6e4d6 SHA256 7203a3667e6ef9490bd642d1213ccb345af988f5ce790424a5a5b10ac32e933b
-MISC ChangeLog 240 RMD160 4442182242ac19ac0bcd5ac63a24de441aa21784 SHA1 10ce842766f1cad041570d54cbc39256b76f2f78 SHA256 c95b0dc1958c3e2565f3069a215981277bddeb9c42512b4557e0e9829eb4d112
+EBUILD beast-0.7.4-r1.ebuild 1665 RMD160 e01136aac53f5dfd411f7527455c3c612fa00e52 SHA1 9674ab0d056e3224839fa95e205fbc72b83c5226 SHA256 ea9813008df43d7fa455a255d73d4b92c68bc040e2e859c11b73cc953af5058a
+MISC ChangeLog 355 RMD160 c75782b8741f2709868430844acb9c661a3b98cb SHA1 136b517aaf0e42c563106a91ca04f4a31c18fcd2 SHA256 695718376ac4bae6282cdd31e741a244860560dcd8bc2f688034da24e62ff7fe
MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
Added: trunk/overlays/proaudio/media-sound/beast/beast-0.7.4-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/beast/beast-0.7.4-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/beast/beast-0.7.4-r1.ebuild 2012-06-17 17:20:16 UTC (rev 2151)
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/beast-0.7.1-r2.ebuild,v 1.1 2009/07/21 17:40:19 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils fdo-mime
+
+IUSE=""
+
+DESCRIPTION="BEAST - the Bedevilled Sound Engine"
+HOMEPAGE="http://beast.gtk.org"
+SRC_URI="http://dist.testbit.eu/beast/v${PV%.[0-9]}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+
+RDEPEND=">=dev-libs/glib-2.0
+ >=x11-libs/gtk+-2.12
+ >=sys-libs/zlib-1.1.3
+ >=dev-scheme/guile-1.6
+ >=media-libs/libart_lgpl-2.3.8
+ >=gnome-base/libgnomecanvas-2.4
+ >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0
+ media-sound/madplay"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-lang/perl
+ media-libs/ladspa-cmt
+ media-libs/ladspa-sdk
+ >=dev-util/intltool-0.35"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/100_deprecated.diff"
+ epatch "${FILESDIR}/203_gcc45.patch"
+ epatch "${FILESDIR}/210_volatile.diff"
+ epatch "${FILESDIR}/300-desktop_file.patch"
+ epatch "${FILESDIR}/400-format-security.patch"
+
+ # Remove useless dist check that makes tests fail
+# sed -i "s/\.PHONY:.*/.PHONY:/" Makefile.decl || die "sed failed"
+
+ intltoolize --force --automake --copy || die "intltoolize failed"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ # dont install new mime files !
+ for i in subclasses XMLnamespaces aliases globs magic mime.cache\
+ audio/x-bsewave.xml audio/x-bse.xml; do
+ rm -f "${D}/usr/share/mime/${i}"
+ done
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+}
Deleted: trunk/overlays/proaudio/media-sound/beast/beast-0.7.4.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/beast/beast-0.7.4.ebuild 2012-06-17 15:09:01 UTC (rev 2150)
+++ trunk/overlays/proaudio/media-sound/beast/beast-0.7.4.ebuild 2012-06-17 17:20:16 UTC (rev 2151)
@@ -1,64 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/beast-0.7.1-r2.ebuild,v 1.1 2009/07/21 17:40:19 ssuominen Exp $
-
-EAPI=2
-inherit autotools eutils fdo-mime
-
-IUSE=""
-
-DESCRIPTION="BEAST - the Bedevilled Sound Engine"
-HOMEPAGE="http://beast.gtk.org"
-SRC_URI="http://dist.testbit.eu/beast/v${PV%.[0-9]}/${P}.tar.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-KEYWORDS="~amd64 ~ppc ~x86"
-SLOT="0"
-
-RDEPEND=">=dev-libs/glib-2.0
- >=x11-libs/gtk+-2.12
- >=sys-libs/zlib-1.1.3
- >=dev-scheme/guile-1.6
- >=media-libs/libart_lgpl-2.3.8
- >=gnome-base/libgnomecanvas-2.4
- >=media-libs/libogg-1.0
- >=media-libs/libvorbis-1.0
- media-sound/madplay"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- dev-lang/perl
- media-libs/ladspa-cmt
- media-libs/ladspa-sdk
- >=dev-util/intltool-0.35"
-
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/100_deprecated.diff"
- epatch "${FILESDIR}/203_gcc45.patch"
- epatch "${FILESDIR}/210_volatile.diff"
- epatch "${FILESDIR}/300-desktop_file.patch"
-
- # Remove useless dist check that makes tests fail
-# sed -i "s/\.PHONY:.*/.PHONY:/" Makefile.decl || die "sed failed"
-
- intltoolize --force --automake --copy || die "intltoolize failed"
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- # dont install new mime files !
- for i in subclasses XMLnamespaces aliases globs magic mime.cache\
- audio/x-bsewave.xml audio/x-bse.xml; do
- rm -f "${D}/usr/share/mime/${i}"
- done
-
- dodoc AUTHORS ChangeLog NEWS README TODO
-}
-
-pkg_postinst() {
- fdo-mime_mime_database_update
-}
Added: trunk/overlays/proaudio/media-sound/beast/files/400-format-security.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/beast/files/400-format-security.patch (rev 0)
+++ trunk/overlays/proaudio/media-sound/beast/files/400-format-security.patch 2012-06-17 17:20:16 UTC (rev 2151)
@@ -0,0 +1,49 @@
+Description: fix warnings generated with -Wformat-security
+Author: Ilya Barygin <randomaction@xxxxxxxxxx>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647040
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665097
+---
+ bse/bsecxxvalue.cc | 4 ++--
+ bse/bsemain.cc | 4 ++--
+ sfi/sfidl-parser.cc | 2 +-
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+--- beast.orig/sfi/sfidl-parser.cc
++++ beast/sfi/sfidl-parser.cc
+@@ -238,7 +238,7 @@ Type Parser::typeOf (const String& type)
+ if (isSequence (type)) return SEQUENCE;
+ if (isRecord (type)) return RECORD;
+ if (isClass (type)) return OBJECT;
+- g_error (("invalid type: " + type).c_str());
++ g_error ("%s", ("invalid type: " + type).c_str());
+ return VOID;
+ }
+
+--- beast.orig/bse/bsemain.cc
++++ beast/bse/bsemain.cc
+@@ -267,9 +267,9 @@ bse_init_core (void)
+ /* dump device list */
+ if (bse_main_args->dump_driver_list)
+ {
+- g_printerr (_("\nAvailable PCM drivers:\n"));
++ g_printerr ("%s", _("\nAvailable PCM drivers:\n"));
+ bse_device_dump_list (BSE_TYPE_PCM_DEVICE, " ", TRUE, NULL, NULL);
+- g_printerr (_("\nAvailable MIDI drivers:\n"));
++ g_printerr ("%s", _("\nAvailable MIDI drivers:\n"));
+ bse_device_dump_list (BSE_TYPE_MIDI_DEVICE, " ", TRUE, NULL, NULL);
+ }
+ }
+--- beast.orig/bse/bsecxxvalue.cc
++++ beast/bse/bsecxxvalue.cc
+@@ -56,9 +56,9 @@ Value::get_string () const
+ {
+ GValue *v = gvalue();
+ if (SFI_VALUE_HOLDS_STRING (v))
+- return sfi_value_get_string (v);
++ return (const SfiString) sfi_value_get_string (v);
+ else if (SFI_VALUE_HOLDS_CHOICE (v))
+- return sfi_value_get_choice (v);
++ return (const SfiString) sfi_value_get_choice (v);
+ else
+ throw WrongTypeGValue (G_STRLOC);
+ }