SHA256
1
0
forked from pool/libquicktime

Accepting request 1166667 from home:dspinella:branches:multimedia:libs

- Fix build with GCC 14, bsc#1221701
  * fix-gcc14-build.patch

OBS-URL: https://build.opensuse.org/request/show/1166667
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=95
This commit is contained in:
Danilo Spinella 2024-04-10 13:37:06 +00:00 committed by Git OBS Bridge
parent cfc2bf13c7
commit 8ce6d2c8aa
3 changed files with 21 additions and 2 deletions

12
fix-gcc14-build.patch Normal file
View File

@ -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 <lame/lame.h>
#include <stdio.h>
+int
main()
{
int version_major;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 10 13:10:44 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
- Fix build with GCC 14, bsc#1221701
* fix-gcc14-build.patch
-------------------------------------------------------------------
Fri Mar 3 03:03:03 UTC 2023 - olaf@aepfle.de

View File

@ -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