}
#else
# error Need some way to seed the random number generator
+
+
---- ortp-0.13.1/src/stun.c.orig 2007-03-11 21:13:36.000000000 +0100
-+++ ortp-0.13.1/src/stun.c 2008-02-17 22:00:38.358282506 +0100
-@@ -756,7 +756,7 @@
- tick <<= 32;
- tick |= lowtick;
- }
+--- ortp-0.16.5/src/stun.c~ 2010-11-19 11:32:47.000000000 +0100
++++ ortp-0.16.5/src/stun.c 2011-07-26 13:00:04.172190285 +0200
+@@ -1184,7 +1184,7 @@
+ read(fd,&tick,sizeof(tick));
+ closesocket(fd);
+ }
-#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) )
-+#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i586__) || defined(__pentium4__) || defined(__athlon__) )
++#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__pentium4__) || defined(__athlon__) )
asm("rdtsc" : "=A" (tick));
#elif defined(__GNUC__) && defined(__amd64__)
asm("rdtsc" : "=A" (tick));
---- ortp-0.16.1/configure.ac~ 2009-09-07 15:55:21.000000000 +0200
-+++ ortp-0.16.1/configure.ac 2010-02-22 02:27:28.999527369 +0100
-@@ -255,8 +255,7 @@
+--- ortp-0.16.5/configure.ac~ 2011-03-28 20:53:54.000000000 +0200
++++ ortp-0.16.5/configure.ac 2011-07-26 13:00:57.613550509 +0200
+@@ -280,8 +280,7 @@
+
+ if test "$ssl_hmac_enabled" = "yes" ; then
+ AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
+- AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
+- AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
++ AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="-lcrypto"])
+ fi
- AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
-
--AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
--AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
-+AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="-lcrypto"])
-
- AC_SUBST(SSL_LIBS)
Summary: RTP/RTCP protocol library
Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
Name: ortp
-Version: 0.16.1
-Release: 3
+Version: 0.16.5
+Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
-# Source0-md5: bc96cdcb9c139d366a720a94200f92dd
+# Source0-md5: 94546901d14b85f97342f4ecf39489b1
Patch0: %{name}-i486.patch
Patch1: %{name}-Werror.patch
Patch2: %{name}-libssl-not-required.patch
%else
--enable-mode64bit=no \
%endif
- --enable-ipv6
+ --enable-ipv6 \
+ --disable-strict
%{__make}
%install