- fix rpmlint error no-return-in-nonvoid-function
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=37
This commit is contained in:
parent
0cc5b71ea1
commit
7218222bc8
13
libva-fix-rpmlint-error-no-return-in-non-void.patch
Normal file
13
libva-fix-rpmlint-error-no-return-in-non-void.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/test/v4l_h264/decode/TCPSocketServer.cpp b/test/v4l_h264/decode/TCPSocketServer.cpp
|
||||||
|
index ad33d77..287bf27 100644
|
||||||
|
--- a/test/v4l_h264/decode/TCPSocketServer.cpp
|
||||||
|
+++ b/test/v4l_h264/decode/TCPSocketServer.cpp
|
||||||
|
@@ -150,7 +150,7 @@ ssize_t TCPSocketServer::send(const void *buffer, const int &bufferLen) throw (s
|
||||||
|
|
||||||
|
ssize_t TCPSocketServer::send(const string &message) throw (std::runtime_error)
|
||||||
|
{
|
||||||
|
- send(message.c_str(), message.length());
|
||||||
|
+ return send(message.c_str(), message.length());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 18 11:09:09 UTC 2012 - kkhere.geo@gmail.com
|
||||||
|
|
||||||
|
- fix rpmlint error no-return-in-nonvoid-function
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 18 10:59:21 UTC 2012 - kkhere.geo@gmail.com
|
Thu Oct 18 10:59:21 UTC 2012 - kkhere.geo@gmail.com
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ License: MIT
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://freedesktop.org/wiki/Software/vaapi
|
Url: http://freedesktop.org/wiki/Software/vaapi
|
||||||
Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{version}.tar.xz
|
Source0: http://cgit.freedesktop.org/libva/snapshot/%{name}-%{version}.tar.xz
|
||||||
|
Patch1: libva-fix-rpmlint-error-no-return-in-non-void.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -143,6 +144,7 @@ This contains the dummy driver.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
[ -d m4 ] || mkdir m4
|
[ -d m4 ] || mkdir m4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user