SHA256
1
0
forked from pool/libquicktime
libquicktime/0002-Allow-any-avcodec-to-be-detected-by-configure.patch
Tomáš Chvátal e93eddf4dc - Update to version 1.2.4+git20180207.666c35c:
* remove generated file that got committed somehow
  * cleanup - remove all the .cvsignore files
  * remove another .cvsignore file
  * remove typo
  * add a bunch more generated files to ignore
  * more files added
  * add more files
  * switch to .gitignore from .cvsignore
  * remove m4/avcodec.m4, not needed with changes to configure.ac
  * don't need avcodec.m4 with changes to configure.ac
- Remove merged patches:
  * libquicktime-1.2.4-integer_overflow.patch
  * libquicktime-1.2.4-multiple_vulnerabilities.patch
- Remove all local patches:
  * libquicktime-faad2.patch
  * libquicktime-1.2.4-ffmpeg2.patch
  * libquicktime-1.2.4-ffmpeg29.patch
  * libquicktime-1.2.4-ffmpeg4.patch
- Readd patches to be rebased from the git:
  * 0001-Fix-sizeof-call-in-faad2.patch
  * 0002-Allow-any-avcodec-to-be-detected-by-configure.patch
  * 0003-Fix-AVCODEC_HEADER-macro-replacement.patch
  * 0004-Ignore-prepared-patches-in-git-checkout.patch
  * 0005-ffmpeg4-conversion-fixing-the-erroring-ones-only.patch

- Switch to Git snapshots as upstream moved to git, use _service

- Remove redone patch:
  * libquicktime-ffmpeg3.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=84
2018-06-13 09:51:34 +00:00

31 lines
983 B
Diff

From b56b368223216af236f818fbe0924f41b7934577 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
Date: Wed, 13 Jun 2018 11:13:53 +0200
Subject: [PATCH 2/5] Allow any avcodec to be detected by configure
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 85dda8f..0ee1166 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,12 +561,10 @@ AH_TEMPLATE([HAVE_LIBAVCODEC],
have_libavcodec=false
-dnl Require libavcodec less than 56.0.0
-
AC_ARG_WITH([ffmpeg], AS_HELP_STRING([--without-ffmpeg], [Build without ffmpeg library (default: test)]))
if test "x$with_ffmpeg" != "xno"; then
-PKG_CHECK_MODULES(LIBAVCODEC, [libavcodec < 56.0.0], have_libavcodec="true", have_libavcodec="false")
+PKG_CHECK_MODULES(LIBAVCODEC, [libavcodec], have_libavcodec="true", have_libavcodec="false")
fi
AM_CONDITIONAL(HAVE_LIBAVCODEC, test x$have_libavcodec = xtrue)
--
2.17.1