summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-11-06 20:30:51 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-11-06 20:30:51 +0000
commit31a21596dc8f265e85fdf7f71a7bad8a45cdfffa (patch)
treef4247862819bfa9cd0d226494b12a3e99404a54b /media-video/transcode/files
parentUpdate version. Also fix bug #30877 properly. (diff)
downloadhistorical-31a21596dc8f265e85fdf7f71a7bad8a45cdfffa.tar.gz
historical-31a21596dc8f265e85fdf7f71a7bad8a45cdfffa.tar.bz2
historical-31a21596dc8f265e85fdf7f71a7bad8a45cdfffa.zip
Update version. Also fix bug #30877 properly.
Diffstat (limited to 'media-video/transcode/files')
-rw-r--r--media-video/transcode/files/digest-transcode-0.6.111
-rw-r--r--media-video/transcode/files/transcode-0.6.11-no-mmx.patch52
2 files changed, 53 insertions, 0 deletions
diff --git a/media-video/transcode/files/digest-transcode-0.6.11 b/media-video/transcode/files/digest-transcode-0.6.11
new file mode 100644
index 000000000000..e77ea69d4515
--- /dev/null
+++ b/media-video/transcode/files/digest-transcode-0.6.11
@@ -0,0 +1 @@
+MD5 f57c9cc96d2c120aaebea67c7f0de83d transcode-0.6.11.tar.gz 3306196
diff --git a/media-video/transcode/files/transcode-0.6.11-no-mmx.patch b/media-video/transcode/files/transcode-0.6.11-no-mmx.patch
new file mode 100644
index 000000000000..12a69f41b9ab
--- /dev/null
+++ b/media-video/transcode/files/transcode-0.6.11-no-mmx.patch
@@ -0,0 +1,52 @@
+diff -urpN transcode-0.6.11/config.h.in transcode-0.6.11.az/config.h.in
+--- transcode-0.6.11/config.h.in 2003-11-06 22:00:11.037925040 +0200
++++ transcode-0.6.11.az/config.h.in 2003-11-06 21:53:14.481251280 +0200
+@@ -1,3 +1,6 @@
++#ifndef __CONFIG_H
++#define __CONFIG_H
++
+ /* config.h.in. Generated from configure.in by autoheader. */
+
+ /* Define if your CPU is PPC */
+@@ -390,3 +393,5 @@
+
+ /* Define to `unsigned' if <sys/types.h> does not define. */
+ #undef size_t
++
++#endif /* __CONFIG_H */
+diff -urpN transcode-0.6.11/ffmpeg/av_config.h transcode-0.6.11.az/ffmpeg/av_config.h
+--- transcode-0.6.11/ffmpeg/av_config.h 2003-11-06 22:00:11.038924888 +0200
++++ transcode-0.6.11.az/ffmpeg/av_config.h 2003-11-06 22:04:33.472028992 +0200
+@@ -1,4 +1,12 @@
+ /* Map transcode configure defines to libavcodecs */
++#ifndef __AV_CONFIG_H
++#define __AV_CONFIG_H
++
++/* Kludge to see if we had HAVE_MMX defined before we included
++ * config.h - see below ... */
++#ifndef HAVE_MMX
++#define HAD_MMX_FALSE
++#endif
+
+ #include "config.h"
+
+@@ -15,6 +23,13 @@
+ # define ARCH_POWERPC
+ #endif
+
++/* We use HAVE_MMX, but for ffmpeg the Makefile's set it, so
++ * unset it here, else ffmpeg use MMX constructs, even if we
++ * have --disable-mmx */
++#if defined(HAD_MMX_FALSE) && defined(HAVE_MMX)
++#undef HAVE_MMX
++#endif
++
+ #ifdef HAVE_DLOPEN
+ # define CONFIG_HAVE_DLOPEN 1
+ #endif
+@@ -44,3 +59,5 @@
+ #define CONFIG_ZLIB 1
+ #define SIMPLE_IDCT 1
+ #define restrict __restrict__
++
++#endif /* __AV_CONFIG_H */