diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-08-17 15:33:11 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-08-17 15:33:11 +0000 |
commit | fead2d46a29eb2c24d928f87af4a2dce529012ec (patch) | |
tree | 8e616d6aff2ed5422b17993def008410ee80e79e /media-libs/libmpeg3 | |
parent | Keyworded ~sparc-fbsd (diff) | |
download | gentoo-2-fead2d46a29eb2c24d928f87af4a2dce529012ec.tar.gz gentoo-2-fead2d46a29eb2c24d928f87af4a2dce529012ec.tar.bz2 gentoo-2-fead2d46a29eb2c24d928f87af4a2dce529012ec.zip |
Fix missing include string.h for implicit declaration of memcpy.
(Portage version: 2.1.3.5)
Diffstat (limited to 'media-libs/libmpeg3')
-rw-r--r-- | media-libs/libmpeg3/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/libmpeg3/files/libmpeg3-1.7-memcpy.patch | 23 | ||||
-rw-r--r-- | media-libs/libmpeg3/libmpeg3-1.7.ebuild | 5 |
3 files changed, 32 insertions, 2 deletions
diff --git a/media-libs/libmpeg3/ChangeLog b/media-libs/libmpeg3/ChangeLog index 7fa6757dca6f..65400f0000b5 100644 --- a/media-libs/libmpeg3/ChangeLog +++ b/media-libs/libmpeg3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libmpeg3 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.62 2007/02/17 00:47:42 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.63 2007/08/17 15:33:11 drac Exp $ + + 17 Aug 2007; Samuli Suominen <drac@gentoo.org> + +files/libmpeg3-1.7-memcpy.patch, libmpeg3-1.7.ebuild: + Fix missing include string.h for implicit declaration of memcpy. 17 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> libmpeg3-1.5.2-r3.ebuild, libmpeg3-1.7.ebuild: diff --git a/media-libs/libmpeg3/files/libmpeg3-1.7-memcpy.patch b/media-libs/libmpeg3/files/libmpeg3-1.7-memcpy.patch new file mode 100644 index 000000000000..64984b58c2d7 --- /dev/null +++ b/media-libs/libmpeg3/files/libmpeg3-1.7-memcpy.patch @@ -0,0 +1,23 @@ +diff -ur libmpeg3-1.7.orig/audio/mpeg3audio.c libmpeg3-1.7/audio/mpeg3audio.c +--- libmpeg3-1.7.orig/audio/mpeg3audio.c 2006-02-19 13:43:27.000000000 +0200 ++++ libmpeg3-1.7/audio/mpeg3audio.c 2007-08-17 18:06:37.000000000 +0300 +@@ -3,7 +3,7 @@ + + #include <math.h> + #include <stdlib.h> +- ++#include <string.h> + + + +diff -ur libmpeg3-1.7.orig/video/subtitle.c libmpeg3-1.7/video/subtitle.c +--- libmpeg3-1.7.orig/video/subtitle.c 2006-02-27 06:14:00.000000000 +0200 ++++ libmpeg3-1.7/video/subtitle.c 2007-08-17 18:07:00.000000000 +0300 +@@ -2,6 +2,7 @@ + #include "mpeg3protos.h" + + #include <stdlib.h> ++#include <string.h> + + static unsigned char get_nibble(unsigned char **ptr, int *nibble) + { diff --git a/media-libs/libmpeg3/libmpeg3-1.7.ebuild b/media-libs/libmpeg3/libmpeg3-1.7.ebuild index e78640f7890b..6f95882c58ab 100644 --- a/media-libs/libmpeg3/libmpeg3-1.7.ebuild +++ b/media-libs/libmpeg3/libmpeg3-1.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.7.ebuild,v 1.11 2007/07/12 03:10:24 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.7.ebuild,v 1.12 2007/08/17 15:33:11 drac Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -42,6 +42,9 @@ src_unpack() { epatch "${WORKDIR}/${P}-a52.patch" epatch "${WORKDIR}/${P}-all_gcc4.patch" epatch "${WORKDIR}/${P}-all_pthread.patch" + + # warning: incompatible implicit declaration of built-in function memcpy + epatch "${FILESDIR}"/${P}-memcpy.patch } src_compile() { |