From 1ac59654848d1814c0aaac38c3f41ff86dcf1dd24351b458b1a24f07e61a49b2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 2 Dec 2011 08:28:16 +0000 Subject: [PATCH] Accepting request 94595 from devel:libraries:c_c++ - add missing include stdio.h to fix build (forwarded request 94590 from oertel) OBS-URL: https://build.opensuse.org/request/show/94595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quvi?expand=0&rev=8 --- quvi-include_stdio.patch | 11 +++++++++++ quvi.changes | 5 +++++ quvi.spec | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 quvi-include_stdio.patch diff --git a/quvi-include_stdio.patch b/quvi-include_stdio.patch new file mode 100644 index 0000000..f723177 --- /dev/null +++ b/quvi-include_stdio.patch @@ -0,0 +1,11 @@ +--- src/libquvi/net_api.c ++++ src/libquvi/net_api.c +@@ -24,6 +24,8 @@ + #include "quvi/llst.h" + + #include "internal.h" ++#include ++#include "util.h" + + extern const char empty[]; /* quvi_api.c */ + diff --git a/quvi.changes b/quvi.changes index ce0ddab..1eaf9dd 100644 --- a/quvi.changes +++ b/quvi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 29 14:52:36 CET 2011 - ro@suse.de + +- add missing include stdio.h to fix build + ------------------------------------------------------------------- Tue Aug 9 10:57:33 UTC 2011 - dnh@opensuse.org diff --git a/quvi.spec b/quvi.spec index ccf7f92..1e4c336 100644 --- a/quvi.spec +++ b/quvi.spec @@ -27,6 +27,7 @@ Group: Productivity/Multimedia/Other License: GNU LGPLv2.1 Url: http://sourceforge.net/projects/quvi/files/0.2/ Source: %{name}-%{version}.tar.bz2 +Patch0: quvi-include_stdio.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) >= 7.18.0 @@ -39,7 +40,6 @@ Youtube and other similar video Web sites. %package -n libquvi%{soname} - Summary: Parsing video downloads links for Youtube and others Group: Development/Libraries/C and C++ @@ -49,7 +49,6 @@ written in C and intended to be a cross-platform library. %package -n libquvi-devel - Summary: Parsing video downloads links for Youtube and others Group: Development/Libraries/C and C++ Requires: libquvi%{soname} = %{version}-%{release} @@ -62,6 +61,7 @@ written in C and intended to be a cross-platform library. %prep %setup -q +%patch0 %build %{configure} \