diff --git a/fix-gcc14-build.patch b/fix-gcc14-build.patch new file mode 100644 index 0000000..1645de1 --- /dev/null +++ b/fix-gcc14-build.patch @@ -0,0 +1,12 @@ +Index: libquicktime-1.2.4+git20180804.fff99cd/configure.ac +=================================================================== +--- libquicktime-1.2.4+git20180804.fff99cd.orig/configure.ac ++++ libquicktime-1.2.4+git20180804.fff99cd/configure.ac +@@ -282,6 +282,7 @@ have_lame="false" + AC_TRY_RUN([ + #include + #include ++int + main() + { + int version_major; diff --git a/libquicktime.changes b/libquicktime.changes index c66d6b8..2bd87a2 100644 --- a/libquicktime.changes +++ b/libquicktime.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 10 13:10:44 UTC 2024 - Danilo Spinella + +- Fix build with GCC 14, bsc#1221701 + * fix-gcc14-build.patch + ------------------------------------------------------------------- Fri Mar 3 03:03:03 UTC 2023 - olaf@aepfle.de diff --git a/libquicktime.spec b/libquicktime.spec index fc6cc34..a7ed2c0 100644 --- a/libquicktime.spec +++ b/libquicktime.spec @@ -1,7 +1,7 @@ # # spec file for package libquicktime # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,7 @@ Group: Development/Libraries/C and C++ URL: http://libquicktime.sf.net Source0: %{name}-%{version}.tar.xz Source2: baselibs.conf +Patch0: fix-gcc14-build.patch BuildRequires: alsa-devel BuildRequires: autoconf BuildRequires: automake @@ -110,7 +111,7 @@ Tools for reading/writing quicktime movie files. %lang_package %prep -%setup -q +%autosetup -p1 %build echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in