Accepting request 1173875 from multimedia:apps
OBS-URL: https://build.opensuse.org/request/show/1173875 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zvbi?expand=0&rev=34
This commit is contained in:
commit
d3e2956d8c
42
zvbi-gcc14.patch
Normal file
42
zvbi-gcc14.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
Index: zvbi-0.2.42/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- zvbi-0.2.42.orig/configure.ac
|
||||||
|
+++ zvbi-0.2.42/configure.ac
|
||||||
|
@@ -82,7 +82,7 @@ AC_CHECK_FUNCS([alarm dup2 gethostbyaddr
|
||||||
|
inet_ntoa localtime_r memmove memset mkdir modf munmap
|
||||||
|
nl_langinfo putenv select setenv setlocale socket strcasecmp
|
||||||
|
strchr strdup strerror strncasecmp strndup strrchr strstr
|
||||||
|
- strtol strtoul tzset strptime getaddrinfo])
|
||||||
|
+ strtol strtoul tzset strptime getaddrinfo sincos])
|
||||||
|
|
||||||
|
AM_CONDITIONAL(HAVE_STRPTIME, [test "x$HAVE_STRPTIME" = xyes])
|
||||||
|
|
||||||
|
@@ -105,28 +105,6 @@ dnl autoconf 2.71 required additional qu
|
||||||
|
dnl "Noteworthy changes in autoconf version 2.66 through 2.68"
|
||||||
|
dnl <https://autotools.info/forwardporting/autoconf.html>
|
||||||
|
|
||||||
|
-dnl sincos() is a GNU extension (a macro, not a function).
|
||||||
|
-dnl If not present we use a replacement.
|
||||||
|
-AC_MSG_CHECKING([for sincos])
|
||||||
|
-AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||||
|
-#include <stdio.h>
|
||||||
|
-#include <math.h>
|
||||||
|
-int main (void) {
|
||||||
|
-double s, c;
|
||||||
|
-/* Make sure the compiler does not optimize sincos() away
|
||||||
|
- so the linker can confirm its availability. */
|
||||||
|
-scanf ("%f", &s);
|
||||||
|
-sincos (s, &s, &c);
|
||||||
|
-printf ("%f %f", s, c);
|
||||||
|
-return 0;
|
||||||
|
-}
|
||||||
|
-])],[
|
||||||
|
- AC_MSG_RESULT([yes])
|
||||||
|
- AC_DEFINE(HAVE_SINCOS, 1, [Define if the sincos() function is available])
|
||||||
|
-],[
|
||||||
|
- AC_MSG_RESULT([no])
|
||||||
|
-])
|
||||||
|
-
|
||||||
|
dnl log2() is a GNU extension (a macro, not a function).
|
||||||
|
dnl If not present we use a replacement.
|
||||||
|
AC_MSG_CHECKING([for log2])
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 14 06:04:33 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- added patches
|
||||||
|
fix build with gcc14
|
||||||
|
https://github.com/zapping-vbi/zvbi/commit/ae74ae513714f81b9b8abdb12e1b235d16fad74e
|
||||||
|
+ zvbi-gcc14.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 20 12:12:49 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Feb 20 12:12:49 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zvbi
|
# spec file for package zvbi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,6 +28,8 @@ Group: Productivity/Multimedia/Other
|
|||||||
URL: https://github.com/zapping-vbi/zvbi/
|
URL: https://github.com/zapping-vbi/zvbi/
|
||||||
Source: https://github.com/zapping-vbi/zvbi/archive/refs/tags/v%{version}.tar.gz
|
Source: https://github.com/zapping-vbi/zvbi/archive/refs/tags/v%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
# https://github.com/zapping-vbi/zvbi/commit/ae74ae513714f81b9b8abdb12e1b235d16fad74e
|
||||||
|
Patch0: zvbi-gcc14.patch
|
||||||
Patch10: 10_fix_private_libs.patch
|
Patch10: 10_fix_private_libs.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
Loading…
Reference in New Issue
Block a user