aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2007-04-03 21:28:50 +0800
committerahze <ahze@FreeBSD.org>2007-04-03 21:28:50 +0800
commitaa93915e1210742c1b6abfe9c249fa8b9a1d7772 (patch)
treeda3e247ad35d57b30ac9dac93d77b53a53eccfe9 /multimedia
parent3cd6ffeb34af349d567f9649c557fe380fe4a2c8 (diff)
downloadfreebsd-ports-graphics-aa93915e1210742c1b6abfe9c249fa8b9a1d7772.tar.gz
freebsd-ports-graphics-aa93915e1210742c1b6abfe9c249fa8b9a1d7772.tar.zst
freebsd-ports-graphics-aa93915e1210742c1b6abfe9c249fa8b9a1d7772.zip
- Fix linking for amd64 machines that dont have sse3
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/Makefile1
-rw-r--r--multimedia/x264-devel/files/patch-amd64-sse336
-rw-r--r--multimedia/x264/Makefile1
-rw-r--r--multimedia/x264/files/patch-amd64-sse336
4 files changed, 74 insertions, 0 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile
index 12a5c58852a..0f3d40815c5 100644
--- a/multimedia/x264-devel/Makefile
+++ b/multimedia/x264-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20070402
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
diff --git a/multimedia/x264-devel/files/patch-amd64-sse3 b/multimedia/x264-devel/files/patch-amd64-sse3
new file mode 100644
index 00000000000..8cfedc77966
--- /dev/null
+++ b/multimedia/x264-devel/files/patch-amd64-sse3
@@ -0,0 +1,36 @@
+--- common/amd64/quant-a.asm.orig Tue Apr 3 12:50:00 2007
++++ common/amd64/quant-a.asm Tue Apr 3 12:50:17 2007
+@@ -45,9 +45,11 @@
+ cglobal x264_quant_4x4_core15_mmx
+ cglobal x264_quant_8x8_core15_mmx
+
++%ifdef HAVE_SSE3
+ cglobal x264_quant_4x4_dc_core15_ssse3
+ cglobal x264_quant_4x4_core15_ssse3
+ cglobal x264_quant_8x8_core15_ssse3
++%endif
+
+ cglobal x264_quant_2x2_dc_core16_mmxext
+ cglobal x264_quant_4x4_dc_core16_mmxext
+--- common/amd64/pixel-sse2.asm.orig Tue Apr 3 12:53:31 2007
++++ common/amd64/pixel-sse2.asm Tue Apr 3 12:54:29 2007
+@@ -50,15 +50,19 @@
+ cglobal x264_pixel_satd_16x8_sse2
+ cglobal x264_pixel_satd_8x16_sse2
+ cglobal x264_pixel_satd_16x16_sse2
++%ifdef HAVE_SSE3
+ cglobal x264_pixel_satd_8x4_ssse3
+ cglobal x264_pixel_satd_8x8_ssse3
+ cglobal x264_pixel_satd_16x8_ssse3
+ cglobal x264_pixel_satd_8x16_ssse3
+ cglobal x264_pixel_satd_16x16_ssse3
++%endif
+ cglobal x264_pixel_sa8d_8x8_sse2
+ cglobal x264_pixel_sa8d_16x16_sse2
++%ifdef HAVE_SSE3
+ cglobal x264_pixel_sa8d_8x8_ssse3
+ cglobal x264_pixel_sa8d_16x16_ssse3
++%endif
+ cglobal x264_intra_sa8d_x3_8x8_core_sse2
+ cglobal x264_pixel_ssim_4x4x2_core_sse2
+ cglobal x264_pixel_ssim_end4_sse2
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index 12a5c58852a..0f3d40815c5 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -7,6 +7,7 @@
PORTNAME= x264
PORTVERSION= 0.0.20070402
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/
DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
diff --git a/multimedia/x264/files/patch-amd64-sse3 b/multimedia/x264/files/patch-amd64-sse3
new file mode 100644
index 00000000000..8cfedc77966
--- /dev/null
+++ b/multimedia/x264/files/patch-amd64-sse3
@@ -0,0 +1,36 @@
+--- common/amd64/quant-a.asm.orig Tue Apr 3 12:50:00 2007
++++ common/amd64/quant-a.asm Tue Apr 3 12:50:17 2007
+@@ -45,9 +45,11 @@
+ cglobal x264_quant_4x4_core15_mmx
+ cglobal x264_quant_8x8_core15_mmx
+
++%ifdef HAVE_SSE3
+ cglobal x264_quant_4x4_dc_core15_ssse3
+ cglobal x264_quant_4x4_core15_ssse3
+ cglobal x264_quant_8x8_core15_ssse3
++%endif
+
+ cglobal x264_quant_2x2_dc_core16_mmxext
+ cglobal x264_quant_4x4_dc_core16_mmxext
+--- common/amd64/pixel-sse2.asm.orig Tue Apr 3 12:53:31 2007
++++ common/amd64/pixel-sse2.asm Tue Apr 3 12:54:29 2007
+@@ -50,15 +50,19 @@
+ cglobal x264_pixel_satd_16x8_sse2
+ cglobal x264_pixel_satd_8x16_sse2
+ cglobal x264_pixel_satd_16x16_sse2
++%ifdef HAVE_SSE3
+ cglobal x264_pixel_satd_8x4_ssse3
+ cglobal x264_pixel_satd_8x8_ssse3
+ cglobal x264_pixel_satd_16x8_ssse3
+ cglobal x264_pixel_satd_8x16_ssse3
+ cglobal x264_pixel_satd_16x16_ssse3
++%endif
+ cglobal x264_pixel_sa8d_8x8_sse2
+ cglobal x264_pixel_sa8d_16x16_sse2
++%ifdef HAVE_SSE3
+ cglobal x264_pixel_sa8d_8x8_ssse3
+ cglobal x264_pixel_sa8d_16x16_ssse3
++%endif
+ cglobal x264_intra_sa8d_x3_8x8_core_sse2
+ cglobal x264_pixel_ssim_4x4x2_core_sse2
+ cglobal x264_pixel_ssim_end4_sse2