summaryrefslogtreecommitdiff
path: root/multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2004-11-17 22:11:44 +0000
committerMichael Johnson <ahze@FreeBSD.org>2004-11-17 22:11:44 +0000
commit0f4cc5dfdfc3e2a3806220664d423ddf84d6381e (patch)
treec0a78f917aa98ebe6f809a6bdbbb00ebabd736ac /multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c
parentBump PORTEPOCH, since PORTVERSION was decreased by previous commit. (diff)
Commit message:
- Fix build on recent versions of gcc [1] - Add support for jpeg-mmx [2] PR: 74045 [1] 69832 [2] Submitted by: maintainer [1] Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=121835
Diffstat (limited to 'multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c')
-rw-r--r--multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c b/multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c
new file mode 100644
index 000000000000..4ad4f716a2e1
--- /dev/null
+++ b/multimedia/transcode/files/patch-ffmpeg:libavcodec:i386:dsputil_mmx.c
@@ -0,0 +1,13 @@
+--- ffmpeg/libavcodec/i386/dsputil_mmx.c.orig Wed Nov 17 17:30:15 2004
++++ ffmpeg/libavcodec/i386/dsputil_mmx.c Wed Nov 17 17:30:33 2004
+@@ -31,8 +31,8 @@
+ static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
+ static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
+
+-static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL;
+-static const uint64_t ff_pw_3 __attribute__ ((aligned(8))) = 0x0003000300030003ULL;
++static const uint64_t ff_pw_20 __attribute__ ((aligned(8), used)) = 0x0014001400140014ULL;
++static const uint64_t ff_pw_3 __attribute__ ((aligned(8), used)) = 0x0003000300030003ULL;
+ static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
+ static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
+