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} \