]> git.pld-linux.org Git - packages/ortp.git/commitdiff
- updated to 0.23.0; now uses libzrtpcppcore >= 4 auto/th/ortp-0.23.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Mar 2014 17:53:32 +0000 (18:53 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Mar 2014 17:53:32 +0000 (18:53 +0100)
- updated i486 patch

ortp-i486.patch
ortp.spec

index 7629e87d8edfc667e3d1758dac21537076aedfd3..6fc4a46bbbecb133d60feefb1acac98c62ffd472 100644 (file)
@@ -1,11 +1,11 @@
---- 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);
+--- ortp-0.23.0/src/stun.c.orig        2014-03-01 14:32:05.431008206 +0100
++++ ortp-0.23.0/src/stun.c     2014-03-01 14:33:23.847671582 +0100
+@@ -1234,7 +1234,7 @@
+                       read(fd,&tick,sizeof(tick));
+                       closesocket(fd);
           }
--#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) )
-+#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__pentium4__) || defined(__athlon__) )
-       asm("rdtsc" : "=A" (tick));
- #elif defined(__GNUC__) && defined(__amd64__)
-       asm("rdtsc" : "=A" (tick));
+-#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__amd64__) )
++#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__pentium4__) || defined(__athlon__) || defined(__amd64__) )
+         asm("rdtsc" : "=A" (tick));
+ #elif defined (__SUNPRO_CC) && defined( __sparc__ )
+         tick = gethrtime();
index a7d57a979ceded032cf86aa29b638ae4d9c085d6..134846d920d5aa32f14f9af84387392cae944507 100644 (file)
--- a/ortp.spec
+++ b/ortp.spec
@@ -1,20 +1,17 @@
 #
 # Conditional build:
-%bcond_without zrtp    # ZRTP (RFC 6189: Media Path Key Agreement for Unicast Secure RTP) support; GPL v3
+%bcond_without zrtp    # ZRTP (RFC 6189: Media Path Key Agreement for Unicast Secure RTP) support
 #
 Summary:       RTP/RTCP protocol library
 Summary(pl.UTF-8):     Biblioteka obsługująca protokół RTP/RTCP
 Name:          ortp
-Version:       0.22.0
-Release:       2
-%if %{with zrtp}
-License:       GPL v3+
-%else
+Version:       0.23.0
+Release:       1
 License:       LGPL v2.1+
-%endif
 Group:         Libraries
-Source0:       http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
-# Source0-md5: 119357e1d904be0289e57c80e5ad90ba
+#Source0:      http://download.savannah.gnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
+Source0:       http://download.savannah.gnu.org/releases/linphone/ortp/%{name}-%{version}.tar.gz
+# Source0-md5: fb833cc7a66ec1a0c1b75016130e7e6d
 Patch0:                %{name}-i486.patch
 Patch1:                %{name}-libssl-not-required.patch
 URL:           http://www.linphone.org/eng/documentation/dev/ortp.html
@@ -22,7 +19,7 @@ BuildRequires:        autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: doxygen
 BuildRequires: libtool >= 2:2.0
-%{?with_zrtp:BuildRequires:    libzrtpcpp-devel >= 2.0.0}
+%{?with_zrtp:BuildRequires:    libzrtpcpp-core-devel >= 4.0.0}
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
 BuildRequires: srtp-devel
@@ -41,7 +38,7 @@ Summary:      Header files to develop applications using ortp
 Summary(pl.UTF-8):     Pliki nagłówkowe do tworzenia aplikacji używających ortp
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-%{?with_zrtp:Requires: libzrtpcpp-devel >= 2.0.0}
+%{?with_zrtp:Requires: libzrtpcpp-core-devel >= 4.0.0}
 Requires:      openssl-devel
 Requires:      srtp-devel
 
This page took 0.105557 seconds and 4 git commands to generate.