summaryrefslogtreecommitdiffstats
path: root/contrib/patch-xvidcore.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/patch-xvidcore.patch')
-rw-r--r--contrib/patch-xvidcore.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/patch-xvidcore.patch b/contrib/patch-xvidcore.patch
new file mode 100644
index 000000000..51cb94c6d
--- /dev/null
+++ b/contrib/patch-xvidcore.patch
@@ -0,0 +1,31 @@
+diff -ru xvidcore-1.1.0/build/generic/configure xvidcore-1.1.0-patched/build/generic/configure
+--- xvidcore-1.1.0/build/generic/configure 2005-12-30 15:45:30.000000000 +0100
++++ xvidcore-1.1.0-patched/build/generic/configure 2006-01-16 22:06:10.000000000 +0100
+@@ -4052,6 +4071,12 @@
+ PREFIX="-DPREFIX"
+ MARK_FUNCS=""
+ ;;
++ *darwin*)
++ echo "$as_me:$LINENO: result: macho" >&5
++echo "${ECHO_T}macho" >&6
++ NASM_FORMAT="macho"
++ PREFIX="-DPREFIX"
++ MARK_FUNCS=""
+ esac
+
+ AS="$chosen_asm_prog"
+diff -ru xvidcore-1.1.0/build/generic/configure.in xvidcore-1.1.0-patched/build/generic/configure.in
+--- xvidcore-1.1.0/build/generic/configure.in 2005-12-30 15:45:30.000000000 +0100
++++ xvidcore-1.1.0-patched/build/generic/configure.in 2006-01-16 22:06:04.000000000 +0100
+@@ -397,6 +397,11 @@
+ PREFIX="-DPREFIX"
+ MARK_FUNCS=""
+ ;;
++ *darwin*)
++ AC_MSG_RESULT([macho])
++ NASM_FORMAT="macho"
++ PREFIX="-DPREFIX"
++ MARK_FUNCS=""
+ esac
+
+ AS="$chosen_asm_prog"