diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2012-03-10 08:43:54 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2012-03-10 08:43:54 +0000 |
commit | 03451315211616b91c357935ca771df5676aec0f (patch) | |
tree | 4e6a29fec449109327d752087a6fe3eca458a30b /media-radio | |
parent | Pull in GLU headers and libraries for compability with x11-libs/qt-opengl >= ... (diff) | |
download | gentoo-2-03451315211616b91c357935ca771df5676aec0f.tar.gz gentoo-2-03451315211616b91c357935ca771df5676aec0f.tar.bz2 gentoo-2-03451315211616b91c357935ca771df5676aec0f.zip |
Fix soundwrapper segfault (bug #407151, comment #1)
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/tucnak2/ChangeLog | 6 | ||||
-rw-r--r-- | media-radio/tucnak2/files/tucnak2-soundwrapper.diff | 13 | ||||
-rw-r--r-- | media-radio/tucnak2/tucnak2-2.46.ebuild | 5 |
3 files changed, 21 insertions, 3 deletions
diff --git a/media-radio/tucnak2/ChangeLog b/media-radio/tucnak2/ChangeLog index 93362476b9d8..a72ee07cc736 100644 --- a/media-radio/tucnak2/ChangeLog +++ b/media-radio/tucnak2/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-radio/tucnak2 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.38 2012/01/22 18:20:08 tomjbe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.39 2012/03/10 08:43:54 tomjbe Exp $ + + 10 Mar 2012; Thomas Beierlein <tomjbe@gentoo.org> + +files/tucnak2-soundwrapper.diff, tucnak2-2.46.ebuild: + Fix soundwrapper segfault (bug #407151, comment #1) *tucnak2-2.46 (22 Jan 2012) diff --git a/media-radio/tucnak2/files/tucnak2-soundwrapper.diff b/media-radio/tucnak2/files/tucnak2-soundwrapper.diff new file mode 100644 index 000000000000..f7f056bbd5b2 --- /dev/null +++ b/media-radio/tucnak2/files/tucnak2-soundwrapper.diff @@ -0,0 +1,13 @@ +# fixes segfault in soundwrapper if caleld without arguments +diff -Nur tucnak2-2.46.orig//src/soundwrapper.c tucnak2-2.46//src/soundwrapper.c +--- tucnak2-2.46.orig//src/soundwrapper.c 2011-05-26 08:47:36.000000000 +0200 ++++ tucnak2-2.46//src/soundwrapper.c 2012-03-10 09:17:56.000000000 +0100 +@@ -39,7 +39,7 @@ + return 1; + } + +- if (argc >= 1){ ++ if (argc > 1){ + freq = atoi(argv[1]); + if (freq){ + arg=1193180/freq; diff --git a/media-radio/tucnak2/tucnak2-2.46.ebuild b/media-radio/tucnak2/tucnak2-2.46.ebuild index 89cfb252a333..756c31623eb4 100644 --- a/media-radio/tucnak2/tucnak2-2.46.ebuild +++ b/media-radio/tucnak2/tucnak2-2.46.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.46.ebuild,v 1.1 2012/01/22 18:20:08 tomjbe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.46.ebuild,v 1.2 2012/03/10 08:43:54 tomjbe Exp $ EAPI=2 inherit eutils autotools @@ -28,7 +28,8 @@ DEPEND="${RDEPEND} src_prepare() { epatch "${FILESDIR}/${PN}-2.39-doc.diff" \ - "${FILESDIR}/${PN}-2.42-appname.diff" + "${FILESDIR}/${PN}-2.42-appname.diff" \ + "${FILESDIR}/${PN}-soundwrapper.diff" eautoreconf } |