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
This commit is contained in:
Stephan Kulow 2011-12-02 08:28:16 +00:00 committed by Git OBS Bridge
parent 5513174648
commit 1ac5965484
3 changed files with 18 additions and 2 deletions

11
quvi-include_stdio.patch Normal file
View File

@ -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 <string.h>
+#include "util.h"
extern const char empty[]; /* quvi_api.c */

View File

@ -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

View File

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