Hello community,

here is the log from the commit of package libccrtp for openSUSE:Factory
checked in at Thu Apr 14 14:41:16 CEST 2011.



--------
--- libccrtp/libccrtp.changes   2011-01-08 09:37:14.000000000 +0100
+++ libccrtp/libccrtp.changes   2011-03-24 15:14:37.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Mar 24 14:14:22 UTC 2011 - co...@novell.com
+
+- add patch to fix compilation with gcc 4.6
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  ccrtp-1.8.0-gcc46.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libccrtp.spec ++++++
--- /var/tmp/diff_new_pack.WeIQCq/_old  2011-04-14 14:40:13.000000000 +0200
+++ /var/tmp/diff_new_pack.WeIQCq/_new  2011-04-14 14:40:13.000000000 +0200
@@ -27,22 +27,17 @@
 AutoReqProv:    on
 Summary:        A Common C++ Class Framework for RTP Packets
 Version:        1.8.0
-Release:        1
+Release:        7
 Source0:        ccrtp-%{version}.tar.bz2
 Source1:        rpmlintrc
+# PATCH-FIX-UPSTREAM co...@suse.de, fix compilation with gcc46
+Patch0:         ccrtp-1.8.0-gcc46.diff
 
 %description
 The ccrtp package offers a generic framework for sending and receiving
 real-time streaming data over UDP packets using sending and receiving
 packet queues.
 
-
-
-Authors:
---------
-    David Sugar <dy...@ostel.com>
-    Frederico Montesino Pouzols <p5...@quintero.fie.us.es>
-
 %package -n libccrtp1
 License:        GPLv3+
 Group:          System/Libraries
@@ -57,13 +52,6 @@
 real-time streaming data over UDP packets using sending and receiving
 packet queues.
 
-
-
-Authors:
---------
-    David Sugar <dy...@ostel.com>
-    Frederico Montesino Pouzols <p5...@quintero.fie.us.es>
-
 %package devel
 License:        GPLv3+
 Summary:        Include-files and documentation for ccrtp
@@ -75,15 +63,9 @@
 This package contains files needed when developing applications using
 ccrtp
 
-
-
-Authors:
---------
-    David Sugar <dy...@ostel.com>
-    Frederico Montesino Pouzols <p5...@quintero.fie.us.es>
-
 %prep
 %setup -q -n ccrtp-%version
+%patch0 -p1
 
 %build
 mkdir build
@@ -97,7 +79,7 @@
       -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
       ..  
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} VERBOSE=1
 
 %install
 cd build

++++++ ccrtp-1.8.0-gcc46.diff ++++++
Index: ccrtp-1.8.0/src/ccrtp/sources.h
===================================================================
--- ccrtp-1.8.0.orig/src/ccrtp/sources.h        2011-01-08 08:52:44.000000000 
+0100
+++ ccrtp-1.8.0/src/ccrtp/sources.h     2011-03-24 15:10:07.336093134 +0100
@@ -406,7 +406,7 @@ public:
        public:
                typedef std::forward_iterator_tag iterator_category;
                typedef Participant value_type;
-               typedef ptrdiff_t difference_type;
+               typedef std::ptrdiff_t difference_type;
                typedef const Participant* pointer;
                typedef const Participant& reference;
 
Index: ccrtp-1.8.0/src/ccrtp/iqueue.h
===================================================================
--- ccrtp-1.8.0.orig/src/ccrtp/iqueue.h 2011-01-08 08:52:44.000000000 +0100
+++ ccrtp-1.8.0/src/ccrtp/iqueue.h      2011-03-24 15:10:45.982503182 +0100
@@ -894,7 +894,7 @@ public:
        public:
                typedef std::forward_iterator_tag iterator_category;
                typedef SyncSource value_type;
-               typedef ptrdiff_t difference_type;
+               typedef std::ptrdiff_t difference_type;
                typedef const SyncSource* pointer;
                typedef const SyncSource& reference;
 
Index: ccrtp-1.8.0/src/control.cpp
===================================================================
--- ccrtp-1.8.0.orig/src/control.cpp    2011-01-08 08:52:44.000000000 +0100
+++ ccrtp-1.8.0/src/control.cpp 2011-03-24 15:11:00.817892946 +0100
@@ -575,7 +575,7 @@ bool QueueRTCPManager::onGotSDES(SyncSou
     // 8-bit long, so no ntoh[s|l] is required
     bool cname_found = false;
 
-    ptrdiff_t pointer = reinterpret_cast<unsigned char*>(&pkt) - 
rtcpRecvBuffer;
+    std::ptrdiff_t pointer = reinterpret_cast<unsigned char*>(&pkt) - 
rtcpRecvBuffer;
     uint16 i = 0;
     do {
         size_t len = pkt.getLength();
@@ -649,7 +649,7 @@ bool QueueRTCPManager::onGotSDESChunk(Sy
             pointer++;
             pointer += (pointer & 0x03); // padding
         } else if ( item->type == SDESItemTypePRIV ) {
-            ptrdiff_t prevpointer = pointer;
+            std::ptrdiff_t prevpointer = pointer;
             uint8 plength = *( &(item->len) + 1 );
             pointer += sizeof(item->type) + sizeof(item->len)  + 1;
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to