diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libfame/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libfame/files')
-rw-r--r-- | media-libs/libfame/files/libfame-0.9.1-gcc43.patch | 33 | ||||
-rw-r--r-- | media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch | 20 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libfame/files/libfame-0.9.1-gcc43.patch b/media-libs/libfame/files/libfame-0.9.1-gcc43.patch new file mode 100644 index 000000000000..71fdbf59c522 --- /dev/null +++ b/media-libs/libfame/files/libfame-0.9.1-gcc43.patch @@ -0,0 +1,33 @@ +diff -rupN libfame-0.9.1b/src/fame_motion_pmvfast.c libfame-0.9.1/src/fame_motion_pmvfast.c +--- libfame-0.9.1b/src/fame_motion_pmvfast.c 2009-02-03 01:30:26.000000000 -0400 ++++ libfame-0.9.1/src/fame_motion_pmvfast.c 2009-02-03 01:31:33.000000000 -0400 +@@ -19,6 +19,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include "fame.h" + #include "fame_malloc.h" + #include "fame_motion.h" +diff -rupN libfame-0.9.1b/src/fame_rate_1param.c libfame-0.9.1/src/fame_rate_1param.c +--- libfame-0.9.1b/src/fame_rate_1param.c 2009-02-03 01:30:26.000000000 -0400 ++++ libfame-0.9.1/src/fame_rate_1param.c 2009-02-03 01:31:15.000000000 -0400 +@@ -19,6 +19,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <math.h> + #include "fame.h" + #include "fame_rate_1param.h" +diff -rupN libfame-0.9.1b/src/fame_rate_simple.c libfame-0.9.1/src/fame_rate_simple.c +--- libfame-0.9.1b/src/fame_rate_simple.c 2009-02-03 01:30:26.000000000 -0400 ++++ libfame-0.9.1/src/fame_rate_simple.c 2009-02-03 01:30:57.000000000 -0400 +@@ -19,6 +19,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <math.h> + #include "fame.h" + #include "fame_rate_simple.h" diff --git a/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch b/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch new file mode 100644 index 000000000000..ff4e7327ce2f --- /dev/null +++ b/media-libs/libfame/files/libfame-0.9.1-mmx-configure.ac.patch @@ -0,0 +1,20 @@ +Index: libfame-0.9.1/configure.in +=================================================================== +--- libfame-0.9.1.orig/configure.in ++++ libfame-0.9.1/configure.in +@@ -101,12 +101,9 @@ if test x$ac_cv_prog_gcc = xyes; then + CFLAGS="$CFLAGS -Wall -fexpensive-optimizations -funroll-loops -ffast-math" + + dnl -fstrict-aliasing doesn't seem to be supported by gcc < 2.95 +- gcc_major_version=`$CC --version | \ +- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` +- gcc_minor_version=`$CC --version | \ +- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` +- gcc_micro_version=`$CC --version | \ +- sed -e 's,[[^0-9.]],,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` ++ gcc_major_version=`${CC} -dumpversion | cut -f1 -d.` ++ gcc_minor_version=`${CC} -dumpversion | cut -f2 -d.` ++ gcc_micro_version=`${CC} -dumpversion | cut -f3 -d.` + + dnl ok, I must admit I don't know how to do or/and ;) + if test $gcc_major_version -eq 2; then |