diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2020-04-03 14:23:03 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2020-04-03 14:23:03 -0500 |
commit | 9b3403615b95317b76b725328d059bbc1893da3d (patch) | |
tree | d2fde48f4e831c23a361ab6e16c1d8dc812392c4 /libre/libquicktime/libquicktime-1.2.4-faad2.patch | |
parent | 9fc410f3ecdc790c30599ea74cc9d74a8792115d (diff) | |
download | abslibre-9b3403615b95317b76b725328d059bbc1893da3d.tar.gz abslibre-9b3403615b95317b76b725328d059bbc1893da3d.tar.bz2 abslibre-9b3403615b95317b76b725328d059bbc1893da3d.zip |
libquicktime-1.2.4-22.parabola1: rebuild
Diffstat (limited to 'libre/libquicktime/libquicktime-1.2.4-faad2.patch')
-rw-r--r-- | libre/libquicktime/libquicktime-1.2.4-faad2.patch | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/libre/libquicktime/libquicktime-1.2.4-faad2.patch b/libre/libquicktime/libquicktime-1.2.4-faad2.patch new file mode 100644 index 000000000..563f46426 --- /dev/null +++ b/libre/libquicktime/libquicktime-1.2.4-faad2.patch @@ -0,0 +1,86 @@ +diff -ruN a/configure.ac b/configure.ac +--- a/configure.ac 2012-03-29 21:44:28.000000000 +0200 ++++ b/configure.ac 2020-02-09 18:27:31.599127781 +0100 +@@ -728,82 +728,9 @@ + + if test "x$with_faad2" != "xno"; then + +-OLD_CFLAGS=$CFLAGS +-OLD_LIBS=$LIBS +- + CFLAGS="$CFLAGS" + LIBS="$LIBS -lfaad -lm" + +-AC_MSG_CHECKING(for neaacdec.h usability for faad2) +- +- +-AC_TRY_RUN([ +- #include <neaacdec.h> +- #include <stdio.h> +- main() +- { +- int faad_major; +- int faad_minor; +- faacDecHandle dec; +- +- if(sscanf(FAAD2_VERSION, "%d.%d", &faad_major, &faad_minor) < 2) +- return -1; +- dec = faacDecOpen(); +- if(!dec) +- return -1; +- return 0; +- } +- ], +- [ +- # program could be run +- have_faad2="true" +- AC_MSG_RESULT(yes) +- FAAD2_CFLAGS=$CFLAGS +- FAAD2_LIBS=$LIBS +- AC_DEFINE(HAVE_NEAACDEC_H) +- ], +- # program could not be run +- AC_MSG_RESULT(no) +-) +- +-if test "x$have_faad2" != "xtrue"; then +- +-AC_MSG_CHECKING(for faad.h usability for faad2) +- +-AC_TRY_RUN([ +- #include <faad.h> +- #include <stdio.h> +- main() +- { +- int faad_major; +- int faad_minor; +- faacDecHandle dec; +- +- if(sscanf(FAAD2_VERSION, "%d.%d", &faad_major, &faad_minor) < 2) +- return -1; +- dec = faacDecOpen(); +- if(!dec) +- return -1; +- return 0; +- } +- ], +- [ +- # program could be run +- have_faad2="true" +- AC_MSG_RESULT(yes) +- FAAD2_CFLAGS=$CFLAGS +- FAAD2_LIBS=$LIBS +- +- +- ], +- # program could not be run +- AC_MSG_RESULT(no) +-) +- +-fi +- +-CFLAGS=$OLD_CFLAGS +-LIBS=$OLD_LIBS + + fi + |