[ortp] - fix "ignoring return value" warning
Dan Horák
sharkcz at fedoraproject.org
Thu Sep 2 18:07:33 UTC 2010
commit b71e531bf91eee05e07e9411a84715d0d7c671f8
Author: Dan Horák <dan at danny.cz>
Date: Thu Sep 2 20:07:34 2010 +0200
- fix "ignoring return value" warning
ortp.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ortp.spec b/ortp.spec
index 05b6745..689f8c4 100644
--- a/ortp.spec
+++ b/ortp.spec
@@ -1,6 +1,6 @@
Name: ortp
Version: 0.16.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A C library implementing the RTP protocol (RFC3550)
Epoch: 1
@@ -8,6 +8,7 @@ Group: System Environment/Libraries
License: LGPLv2+ and VSL
URL: http://www.linphone.org/index.php/code_review/ortp
Source: http://nongnu.askapache.com/linphone/ortp/sources/ortp-%{version}.tar.gz
+Patch0: %{name}-0.16.1-retval.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -32,6 +33,7 @@ Libraries and headers required to develop software with ortp.
%prep
%setup0 -q
+%patch0 -p1 -b .retval
%{__perl} -pi.dot -e 's/^(HAVE_DOT\s+=)\s+NO$/\1 YES/;s/^(CALL_GRAPH\s+=)\s+NO$/\1 YES/;s/^(CALLER_GRAPH\s+=)\s+NO$/\1 YES/' ortp.doxygen.in
@@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/ortp.pc
%changelog
+* Thu Sep 2 2010 Dan Horák <dan[at]danny.cz> - 1:0.16.1-2
+- fix "ignoring return value" warning
+
* Mon Nov 30 2009 Rakesh Pandit <rakesh at fedoraproject.org> - 1:0.16.1-1
- Updated to 0.16.1, removed old patch
- removed autotool calls, and using install -p
More information about the scm-commits
mailing list