summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2003-02-10 19:13:43 +0000
committerMark Guertin <gerk@gentoo.org>2003-02-10 19:13:43 +0000
commit2892db4e9e445127421765407a3c20985fa32e15 (patch)
treea62ad2bda7744f771a4eb44007c53bbca1c029d2 /media-video
parentadded pavuk to portage (diff)
downloadhistorical-2892db4e9e445127421765407a3c20985fa32e15.tar.gz
historical-2892db4e9e445127421765407a3c20985fa32e15.tar.bz2
historical-2892db4e9e445127421765407a3c20985fa32e15.zip
added patch to fix bug 15441
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/ChangeLog6
-rw-r--r--media-video/mjpegtools/files/1.6.0-r7-ppc.patch14
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild3
3 files changed, 21 insertions, 2 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog
index 817829ce4bc9..21ea2ec4e93f 100644
--- a/media-video/mjpegtools/ChangeLog
+++ b/media-video/mjpegtools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mjpegtools
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.15 2003/02/09 22:27:57 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.16 2003/02/10 19:13:43 gerk Exp $
+
+ 10 Feb 2003; Mark Guertin <gerk@gentoo.org> mjpegtools-1.6.0-r7.ebuild
+ files/1.6.0-r7-ppc.patch:
+ Added patch to close bug #15441, thanks go to Lapo Calamandrei.
*mjpegtools-1.6.1 (09 Feb 2003)
diff --git a/media-video/mjpegtools/files/1.6.0-r7-ppc.patch b/media-video/mjpegtools/files/1.6.0-r7-ppc.patch
new file mode 100644
index 000000000000..3eeaec04552c
--- /dev/null
+++ b/media-video/mjpegtools/files/1.6.0-r7-ppc.patch
@@ -0,0 +1,14 @@
+diff -Naur mjpegtools-1.6.0.orig/yuvdenoise/main.c mjpegtools-1.6.0/yuvdenoise/main.c
+--- mjpegtools-1.6.0.orig/yuvdenoise/main.c 2002-05-06 10:13:00.000000000 +0200
++++ mjpegtools-1.6.0/yuvdenoise/main.c 2003-02-10 16:39:25.000000000 +0100
+@@ -294,8 +294,7 @@
+ void
+ process_commandline(int argc, char *argv[])
+ {
+- char c;
+- int i1,i2,i3,i4;
++ int c,i1,i2,i3,i4;
+
+ while ((c = getopt (argc, argv, "h?t:b:r:l:S:L:C:p:Ff")) != -1)
+ {
+
diff --git a/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild b/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild
index 6dadc59f5dad..813000868898 100644
--- a/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild
+++ b/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild,v 1.2 2003/02/09 22:19:11 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.0-r7.ebuild,v 1.3 2003/02/10 19:13:43 gerk Exp $
IUSE="sse arts gtk mmx sdl X quicktime 3dnow avi"
@@ -54,6 +54,7 @@ src_unpack() {
sed -e "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_common.c.old > lav_common.c
sed -e "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_io.c.old > lav_io.c
fi
+ use ppc && ( cd ${S}; patch -p1 < ${FILESDIR}/1.6.0-r7-ppc.patch || die )
}
src_compile() {