Accepting request 895538 from home:susnux:branches:home:dmolkentin:video

10_fix_private_libs.patch

OBS-URL: https://build.opensuse.org/request/show/895538
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/zvbi?expand=0&rev=24
This commit is contained in:
Martin Pluskal 2021-05-26 13:04:47 +00:00 committed by Git OBS Bridge
parent b1c9d59a43
commit 4d2c3408dd
3 changed files with 21 additions and 1 deletions

12
10_fix_private_libs.patch Normal file
View File

@ -0,0 +1,12 @@
Index: zvbi-0.2.35/zvbi-0.2.pc.in
===================================================================
--- zvbi-0.2.35.orig/zvbi-0.2.pc.in
+++ zvbi-0.2.35/zvbi-0.2.pc.in
@@ -7,5 +7,6 @@ Name: ZVBI
Description: VBI Capturing and Decoding Library
Requires:
Version: @VERSION@
-Libs: -L${libdir} -lzvbi -lm @LIBS@
+Libs: -L${libdir} -lzvbi
+Libs.Private: -lm @LIBS@
Cflags: -I${includedir}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 14 09:18:49 UTC 2018 - daniel.molkentin@suse.com
- Add patch to separate private libs from required libs:
* 10_fix_private_libs.patch
-------------------------------------------------------------------
Mon Dec 11 21:40:13 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package zvbi
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -36,6 +36,7 @@ Patch06: 06_sizeof-FTBFS.patch
Patch07: 07_fix-spelling-in-binaries.patch
Patch08: 08_fix-manpage.patch
Patch09: 09_fix-FTBFS-GCC6.patch
Patch10: 10_fix_private_libs.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -107,6 +108,7 @@ sliced VBI data, and to interpret the data of several popular services.
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%build
ACLOCAL="aclocal -I m4" autoreconf -fi