summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-07-20 15:12:40 +0000
committerChristian Heim <phreak@gentoo.org>2007-07-20 15:12:40 +0000
commit7a4f9952265d496ef3406c52b1debf9b0476fa44 (patch)
treeda4e0ae09167faec84740d364f0ed8267f53808d /hardened
parentRemoving unused overlay dirs. (diff)
downloadphreak-7a4f9952265d496ef3406c52b1debf9b0476fa44.tar.gz
phreak-7a4f9952265d496ef3406c52b1debf9b0476fa44.tar.bz2
phreak-7a4f9952265d496ef3406c52b1debf9b0476fa44.zip
Duh, forgot to add the patches.
svn path=/; revision=356
Diffstat (limited to 'hardened')
-rw-r--r--hardened/media-libs/xvid/Manifest3
-rw-r--r--hardened/media-libs/xvid/files/xvid-1.1.0-3dnow-2.patch13
-rw-r--r--hardened/media-libs/xvid/files/xvid-1.1.0_beta2-altivec.patch32
-rw-r--r--hardened/media-libs/xvid/files/xvid-1.1.3-ia64-build.patch12
4 files changed, 60 insertions, 0 deletions
diff --git a/hardened/media-libs/xvid/Manifest b/hardened/media-libs/xvid/Manifest
index 5dac2b5..fef5656 100644
--- a/hardened/media-libs/xvid/Manifest
+++ b/hardened/media-libs/xvid/Manifest
@@ -1,3 +1,6 @@
+AUX xvid-1.1.0-3dnow-2.patch 510 RMD160 6676868458608d25cc93a696dcec73bf4be80392 SHA1 94407b1b98ca8680b3c8fec88931ef1c87e897dd SHA256 4528dacdd88db8cf2bffe7894af284e3ca79e02c3d3f3c48196642d971ddeb46
+AUX xvid-1.1.0_beta2-altivec.patch 1070 RMD160 316da7461c58ddabec7d2907431fbb9675cea322 SHA1 7ea51c2a5a06c8c8a183398fec4656f159335085 SHA256 5644023118344e577e7af0188161899bf5e91de92f864666066dc79e007f991d
+AUX xvid-1.1.3-ia64-build.patch 393 RMD160 2d4b9e76e7c8bcea8466e19c76458db378c12bb9 SHA1 410d1e61dacf4ec6e321abdc44e37e16a3a578d4 SHA256 2b95dc6c1e39b9a39b88284cba7f43580131a140467d7b7893624869098df067
DIST xvid-1.1.2-noexec-stack.patch.bz2 2426 RMD160 083da9ab8e4fdcd067cd2970eeb7ad634894219f SHA1 0f5e9e15e96c6c2a1a6d7bea67e8abd5b41442fa SHA256 6de38a05303e02a2524e3f0093a3e0b021bba93d0889c2b97a05a29ba21efffa
DIST xvidcore-1.1.3.tar.bz2 625974 RMD160 f890a2ef58be5362aa1d2894e748ef11a0c7bba8 SHA1 7a945c245851e115bc107aa621f72d775a5d1adb SHA256 f5d7f658840ef6fda5b2cd8b105d3738e1a3e735ee12ddc0136527f0185c14ed
EBUILD xvid-1.1.3.ebuild 1935 RMD160 a151ffb90cd4629d8c8b25be879ad81f8700a2f3 SHA1 4734f5e34eb30e6224391c56d913549dfe4de1a1 SHA256 0a6875260a4964dd821a7dee901f883ec2a3cc053862ecd2ca903c3bc9799c60
diff --git a/hardened/media-libs/xvid/files/xvid-1.1.0-3dnow-2.patch b/hardened/media-libs/xvid/files/xvid-1.1.0-3dnow-2.patch
new file mode 100644
index 0000000..cc22744
--- /dev/null
+++ b/hardened/media-libs/xvid/files/xvid-1.1.0-3dnow-2.patch
@@ -0,0 +1,13 @@
+Index: xvidcore-1.1.0/src/xvid.c
+===================================================================
+--- xvidcore-1.1.0.orig/src/xvid.c
++++ xvidcore-1.1.0/src/xvid.c
+@@ -634,7 +634,7 @@ int xvid_gbl_init(xvid_gbl_init_t * init
+ * disable asm usage the usual way. When Intel EMT64 cpus will
+ * be out, maybe we'll have to check more precisely what cpu
+ * features there really are. */
+- if (cpu_flags & XVID_CPU_ASM) {
++ if (cpu_flags & XVID_CPU_3DNOW) {
+ /* SIMD state flusher */
+ emms = emms_3dn;
+
diff --git a/hardened/media-libs/xvid/files/xvid-1.1.0_beta2-altivec.patch b/hardened/media-libs/xvid/files/xvid-1.1.0_beta2-altivec.patch
new file mode 100644
index 0000000..ec61b0c
--- /dev/null
+++ b/hardened/media-libs/xvid/files/xvid-1.1.0_beta2-altivec.patch
@@ -0,0 +1,32 @@
+diff -ur -x '*~' xvidcore-1.1.0-beta2/build/generic/configure.in xvidcore-1.1.0-beta2-fixaltivec/build/generic/configure.in
+--- xvidcore-1.1.0-beta2/build/generic/configure.in 2005-04-03 22:39:45.000000000 +0200
++++ xvidcore-1.1.0-beta2-fixaltivec/build/generic/configure.in 2005-05-08 14:38:42.920048928 +0200
+@@ -426,8 +426,18 @@
+ dnl * The vector definition is handled in portab.h thx to
+ dnl HAVE_PARENTHESES/BRACES_ALTIVEC_DECL
+ dnl
++AC_ARG_ENABLE([altivec],
++ AC_HELP_STRING([--disable-altivec], [Disable altivec support on PPC architecture.]),
++ [ want_altivec=$enableval ], [ want_altivec=yes ] )
++
+ PPC_ALTIVEC_SOURCES=""
+-if test "$ARCHITECTURE" = "PPC" ; then
++AC_MSG_CHECKING([if altivec support has to be activated])
++
++if test "$ARCHITECTURE" = "PPC" && test "$want_altivec" = "no"; then
++ AC_MSG_RESULT([no])
++ ARCHITECTURE="GENERIC"
++elif test "$ARCHITECTURE" = "PPC"; then
++ AC_MSG_RESULT([yes])
+ AS="\$(CC)"
+ AFLAGS=""
+ ASSEMBLY_EXTENSION=".s"
+@@ -492,6 +502,8 @@
+ fi
+
+ rm -f conftest.*
++else
++ AC_MSG_RESULT([no])
+ fi
+
+ dnl
diff --git a/hardened/media-libs/xvid/files/xvid-1.1.3-ia64-build.patch b/hardened/media-libs/xvid/files/xvid-1.1.3-ia64-build.patch
new file mode 100644
index 0000000..18e87d9
--- /dev/null
+++ b/hardened/media-libs/xvid/files/xvid-1.1.3-ia64-build.patch
@@ -0,0 +1,12 @@
+diff -ur xvidcore-1.1.3.orig/src/quant/quant.h xvidcore-1.1.3/src/quant/quant.h
+--- xvidcore-1.1.3.orig/src/quant/quant.h 2006-07-10 18:05:30.000000000 +0300
++++ xvidcore-1.1.3/src/quant/quant.h 2007-07-13 15:15:10.000000000 +0300
+@@ -91,7 +91,7 @@
+ #endif
+
+ #ifdef ARCH_IS_IA64
+-quant_intraFunc dequant_h263_intra_ia64
++quant_intraFunc dequant_h263_intra_ia64;
+ #endif
+
+ #ifdef ARCH_IS_PPC