summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-12-08 17:48:10 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-12-08 17:48:10 +0000
commite222b54292730ac474b938eeea6ee4549c546285 (patch)
tree30f8d434c758b39e2c4c12558da5b8bdc69622a5 /media-libs
parentStable for ppc64, wrt bug #440872 (diff)
downloadgentoo-2-e222b54292730ac474b938eeea6ee4549c546285.tar.gz
gentoo-2-e222b54292730ac474b938eeea6ee4549c546285.tar.bz2
gentoo-2-e222b54292730ac474b938eeea6ee4549c546285.zip
Keyword ppc and ppc64, fixes bug#436020.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsbsms/ChangeLog7
-rw-r--r--media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch11
-rw-r--r--media-libs/libsbsms/libsbsms-2.0.1.ebuild8
3 files changed, 21 insertions, 5 deletions
diff --git a/media-libs/libsbsms/ChangeLog b/media-libs/libsbsms/ChangeLog
index b27d96adc8d1..9340429c0e98 100644
--- a/media-libs/libsbsms/ChangeLog
+++ b/media-libs/libsbsms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libsbsms
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/ChangeLog,v 1.2 2012/07/10 22:06:45 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/ChangeLog,v 1.3 2012/12/08 17:48:10 scarabeus Exp $
+
+ 08 Dec 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/libsbsms-2.0.1-includes.patch, libsbsms-2.0.1.ebuild:
+ Keyword ppc and ppc64, fixes bug#436020.
*libsbsms-2.0.1 (10 Jul 2012)
@@ -12,4 +16,3 @@
30 Jun 2012; Tim Harder <radhermit@gentoo.org> +libsbsms-2.0.0.ebuild,
+files/libsbsms-2.0.0-cflags.patch, +metadata.xml:
Initial import, ebuild by me. Optional dependency for audacity.
-
diff --git a/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch
new file mode 100644
index 000000000000..63937fa6157d
--- /dev/null
+++ b/media-libs/libsbsms/files/libsbsms-2.0.1-includes.patch
@@ -0,0 +1,11 @@
+diff -urN libsbsms-2.0.1.old/src/buffer.h libsbsms-2.0.1/src/buffer.h
+--- libsbsms-2.0.1.old/src/buffer.h 2012-12-08 18:43:46.772667486 +0100
++++ libsbsms-2.0.1/src/buffer.h 2012-12-08 18:44:04.677668212 +0100
+@@ -2,6 +2,7 @@
+ #ifndef BUFFER_H
+ #define BUFFER_H
+
++#include <stdlib.h>
+ #include "sbsms.h"
+ #include "grain.h"
+ #include <list>
diff --git a/media-libs/libsbsms/libsbsms-2.0.1.ebuild b/media-libs/libsbsms/libsbsms-2.0.1.ebuild
index 9ce0d3a5ecab..753aae4dae4d 100644
--- a/media-libs/libsbsms/libsbsms-2.0.1.ebuild
+++ b/media-libs/libsbsms/libsbsms-2.0.1.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-libs/libsbsms/libsbsms-2.0.1.ebuild,v 1.1 2012/07/10 22:06:45 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsbsms/libsbsms-2.0.1.ebuild,v 1.2 2012/12/08 17:48:10 scarabeus Exp $
EAPI=4
@@ -12,11 +12,13 @@ SRC_URI="mirror://sourceforge/sbsms/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="sse static-libs"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.0.0-cflags.patch
+ epatch \
+ "${FILESDIR}"/${PN}-2.0.0-cflags.patch \
+ "${FILESDIR}"/${PN}-2.0.1-includes.patch
eautoreconf
}