commit af78d59220f7e45521cd2345ae88f74021c74aba
Author: Jacek Konieczny <[email protected]>
Date: Thu Mar 24 12:58:14 2016 +0100
Build with NDEBUG, to disable asserts
Many pj_assert() calls are done on externally provided values opening
e.g. Asterisk for DoS attacks. The asserts are (as far as I checked)
accompanied by safe fallback behaviour, so it should be safe to disable
them.
Release: 2
pjproject.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pjproject.spec b/pjproject.spec
index ab70e49..af3dd61 100644
--- a/pjproject.spec
+++ b/pjproject.spec
@@ -20,7 +20,7 @@
Summary: PJSIP - free and open source multimedia communication library
Name: pjproject
Version: 2.4.5
-Release: 1
+Release: 2
License: GPL v2+
Group: Libraries
Source0:
http://www.pjsip.org/release/%{version}/%{name}-%{version}.tar.bz2
@@ -101,7 +101,7 @@ Statyczna biblioteka %{name}.
%{__autoconf} -o configure aconfigure.ac
%configure \
- CFLAGS="%{rpmcflags} %{?with_video:-DPJMEDIA_HAS_VIDEO=1}" \
+ CFLAGS="%{rpmcflags} -DNDEBUG=1 %{?with_video:-DPJMEDIA_HAS_VIDEO=1}" \
--enable-shared \
%{__enable_disable sound sound} \
%{__enable_disable video video} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pjproject.git/commitdiff/af78d59220f7e45521cd2345ae88f74021c74aba
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit