forked from pool/libquvi
Accepting request 972209 from home:dimstar:Factory
- Add libquvi-autoconf-2.70.patch: Fix build using autoconf 2.70. * luaL_register replaced by luaL_newlib OBS-URL: https://build.opensuse.org/request/show/972209 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=24
This commit is contained in:
parent
636da9e084
commit
87ae303103
24
libquvi-autoconf-2.70.patch
Normal file
24
libquvi-autoconf-2.70.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From: Boyuan Yang <byang@debian.org>
|
||||
Date: Fri, 3 Sep 2021 10:47:13 -0400
|
||||
Subject: Fix FTBFS with autoconf 2.70
|
||||
|
||||
Patch retrieved from https://bugs.gentoo.org/777768
|
||||
|
||||
Bug-Debian: https://bugs.debian.org/978860
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index da8e61c..3010a3b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -8,7 +8,7 @@ m4_include([m4/version.m4])
|
||||
AC_INIT([libquvi], m4_esyscmd([./gen-ver.sh -c | tr -d '\n']),
|
||||
[http://quvi.sf.net/bugs/],[],[http://quvi.sf.net/])
|
||||
|
||||
-AC_DEFINE_UNQUOTED([BUILD_OPTS], "$@",
|
||||
+AC_DEFINE_UNQUOTED([BUILD_OPTS], "$*",
|
||||
[Define to configure invocation command line options])
|
||||
|
||||
# Interface
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 22 13:56:03 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add libquvi-autoconf-2.70.patch: Fix build using autoconf 2.70.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 18:10:58 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
@ -8,7 +13,7 @@ Sat Jul 18 02:45:31 UTC 2015 - i@marguerite.su
|
||||
|
||||
- add patch: libquvi-0.9.4-lua-5.2.patch
|
||||
* compatibility w/ lua 5.2+
|
||||
* luaL_register replaced by luaL_newlib
|
||||
* luaL_register replaced by luaL_newlib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 13:00:17 CET 2015 - sbrabec@suse.cz
|
||||
|
11
libquvi.spec
11
libquvi.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libquvi
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -22,15 +22,17 @@ Name: libquvi
|
||||
Version: 0.9.4
|
||||
Release: 0
|
||||
Summary: Library to parse flash media stream URLs
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Url: http://quvi.sourceforge.net/
|
||||
URL: http://quvi.sourceforge.net/
|
||||
Source: http://sourceforge.net/projects/quvi/files/0.9/libquvi/libquvi-0.9.4.tar.xz
|
||||
Source1: %{name}.rpmlintrc
|
||||
# PATCH-FEATURE-OPENSUSE libquvi-stable-build-date.patch sbrabec@suse.cz -- Don't embed build date. Triggers rebuild.
|
||||
Patch0: %{name}-stable-build-date.patch
|
||||
# PATCH-FIX-UPSTREAM marguerite@opensuse.org -- compatibility for lua 5.2+
|
||||
Patch1: %{name}-%{version}-lua-5.2.patch
|
||||
# PATCH-FIX-UPSTREAM libquvi-autoconf-2.70.patch dimstar@opensuse.org -- Fix build with autconfig 2.70
|
||||
Patch2: libquvi-autoconf-2.70.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
@ -77,6 +79,7 @@ echo "timestamp for BUILD_TIME" >stamp-build-time
|
||||
touch -d "$(sed -n '2s/ - .*$//p' <%{_sourcedir}/%{name}.changes)" stamp-build-time
|
||||
fi
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE"
|
||||
|
Loading…
Reference in New Issue
Block a user