diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-02 22:10:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-02 22:10:42 +0000 |
commit | 45dbe5e7fc527d3a2021599f0980746b6a294926 (patch) | |
tree | a3718893ca13f67c2bd4e1451d2aaed471aa0ee7 /media-libs/smpeg | |
parent | fix invalid atoms (diff) | |
download | gentoo-2-45dbe5e7fc527d3a2021599f0980746b6a294926.tar.gz gentoo-2-45dbe5e7fc527d3a2021599f0980746b6a294926.tar.bz2 gentoo-2-45dbe5e7fc527d3a2021599f0980746b6a294926.zip |
Add quick patch to fix build on FreeBSD. Bug #132024 from Robert Sebastian Gerus.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r-- | media-libs/smpeg/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/smpeg/files/smpeg-0.4.4-malloc.patch | 25 | ||||
-rw-r--r-- | media-libs/smpeg/smpeg-0.4.4-r8.ebuild | 3 |
3 files changed, 33 insertions, 2 deletions
diff --git a/media-libs/smpeg/ChangeLog b/media-libs/smpeg/ChangeLog index efb8df66b1be..29057eb38c65 100644 --- a/media-libs/smpeg/ChangeLog +++ b/media-libs/smpeg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/smpeg # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.36 2006/04/24 02:39:18 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.37 2006/05/02 22:10:42 flameeyes Exp $ + + 02 May 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/smpeg-0.4.4-malloc.patch, smpeg-0.4.4-r8.ebuild: + Add quick patch to fix build on FreeBSD. Bug #132024 from Robert Sebastian + Gerus. 29 Apr 2006; Joshua Kinard <kumba@gentoo.org> smpeg-0.4.4-r7.ebuild: Marked stable on mips. diff --git a/media-libs/smpeg/files/smpeg-0.4.4-malloc.patch b/media-libs/smpeg/files/smpeg-0.4.4-malloc.patch new file mode 100644 index 000000000000..be54e58b4d23 --- /dev/null +++ b/media-libs/smpeg/files/smpeg-0.4.4-malloc.patch @@ -0,0 +1,25 @@ +Index: smpeg-0.4.4/glmovie.c +=================================================================== +--- smpeg-0.4.4.orig/glmovie.c ++++ smpeg-0.4.4/glmovie.c +@@ -6,7 +6,6 @@ + #include "smpeg.h" + #include "SDL.h" + #include <stdlib.h> +-#include <malloc.h> + #include <string.h> + #include <unistd.h> + #include "glmovie.h" +Index: smpeg-0.4.4/glmovie-tile.c +=================================================================== +--- smpeg-0.4.4.orig/glmovie-tile.c ++++ smpeg-0.4.4/glmovie-tile.c +@@ -16,7 +16,7 @@ + */ + + #include "glmovie.h" +-#include <malloc.h> ++#include <stdlib.h> + #include <string.h> + + /* Some data is redundant at this stage. */ diff --git a/media-libs/smpeg/smpeg-0.4.4-r8.ebuild b/media-libs/smpeg/smpeg-0.4.4-r8.ebuild index a4f13e64b93d..1212796aabfb 100644 --- a/media-libs/smpeg/smpeg-0.4.4-r8.ebuild +++ b/media-libs/smpeg/smpeg-0.4.4-r8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r8.ebuild,v 1.2 2006/03/29 11:25:32 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r8.ebuild,v 1.3 2006/05/02 22:10:42 flameeyes Exp $ inherit eutils toolchain-funcs autotools @@ -37,6 +37,7 @@ src_unpack() { epatch "${FILESDIR}"/${P}-flags.patch epatch "${FILESDIR}"/${P}-automake.patch epatch "${FILESDIR}"/${P}-mmx.patch + epatch "${FILESDIR}"/${P}-malloc.patch cd "${WORKDIR}" epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2 |