diff options
author | Michael Weber <xmw@gentoo.org> | 2014-10-09 05:58:49 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2014-10-09 05:58:49 +0000 |
commit | 615d57856cbddc631a60c617efe6283ca35cfde2 (patch) | |
tree | e68a5ef7e64f0c29e543dacaa6b247c0c1a8bbfd /media-sound | |
parent | mikmod -> mod (bug #524758) (diff) | |
download | gentoo-2-615d57856cbddc631a60c617efe6283ca35cfde2.tar.gz gentoo-2-615d57856cbddc631a60c617efe6283ca35cfde2.tar.bz2 gentoo-2-615d57856cbddc631a60c617efe6283ca35cfde2.zip |
Include stdlib.h for malloc and free (bug 519450)
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/spek/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/spek/files/spek-0.8.3-stdlib.patch | 22 | ||||
-rw-r--r-- | media-sound/spek/spek-0.8.3.ebuild | 7 |
3 files changed, 32 insertions, 5 deletions
diff --git a/media-sound/spek/ChangeLog b/media-sound/spek/ChangeLog index fa90d63ccffa..f9f0e3682d10 100644 --- a/media-sound/spek/ChangeLog +++ b/media-sound/spek/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/spek -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.12 2013/08/20 13:06:40 jer Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/ChangeLog,v 1.13 2014/10/09 05:58:49 xmw Exp $ + + 09 Oct 2014; Michael Weber <xmw@gentoo.org> +files/spek-0.8.3-stdlib.patch, + spek-0.8.3.ebuild: + Include stdlib.h for malloc and free (bug 519450) 20 Aug 2013; Jeroen Roovers <jer@gentoo.org> spek-0.8.3.ebuild: Escape newline. diff --git a/media-sound/spek/files/spek-0.8.3-stdlib.patch b/media-sound/spek/files/spek-0.8.3-stdlib.patch new file mode 100644 index 000000000000..c0ffa16b4d52 --- /dev/null +++ b/media-sound/spek/files/spek-0.8.3-stdlib.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/519450 + +--- spek-0.8.3/src/spek-fft.cc ++++ spek-0.8.3/src/spek-fft.cc +@@ -17,6 +17,7 @@ + */ + + #include <math.h> ++#include <stdlib.h> + + #define __STDC_CONSTANT_MACROS + extern "C" { +--- spek-0.8.3/src/spek-events.cc ++++ spek-0.8.3/src/spek-events.cc +@@ -16,6 +16,7 @@ + * along with Spek. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <stdlib.h> + #include "spek-events.h" + + //IMPLEMENT_DYNAMIC_CLASS(SpekHaveSampleEvent, wxEvent) diff --git a/media-sound/spek/spek-0.8.3.ebuild b/media-sound/spek/spek-0.8.3.ebuild index 84a42112f063..7b78712af6b3 100644 --- a/media-sound/spek/spek-0.8.3.ebuild +++ b/media-sound/spek/spek-0.8.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.4 2013/08/20 13:06:40 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/spek/spek-0.8.3.ebuild,v 1.5 2014/10/09 05:58:49 xmw Exp $ EAPI=5 WX_GTK_VER="2.8" @@ -35,6 +35,7 @@ src_prepare() { epatch \ "${FILESDIR}"/${PN}-0.8.1-disable-updates.patch \ - "${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch + "${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch \ + "${FILESDIR}"/${P}-stdlib.patch eautoreconf } |