Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=587d8576d081c82f62e82f456aaad6f2b1dfb64c

commit 587d8576d081c82f62e82f456aaad6f2b1dfb64c
Author: Devil505 <devil505li...@gmail.com>
Date:   Tue Aug 23 12:13:33 2011 +0200

ccrtp-1.8.0-2-i686
* rebuilt with commmonccp2 1.8.1
* added patch for gcc4.6

diff --git a/source/lib-extra/ccrtp/FrugalBuild 
b/source/lib-extra/ccrtp/FrugalBuild
index 277aa8e..4f7a99e 100644
--- a/source/lib-extra/ccrtp/FrugalBuild
+++ b/source/lib-extra/ccrtp/FrugalBuild
@@ -3,14 +3,20 @@

pkgname=ccrtp
pkgver=1.8.0
-pkgrel=1
+pkgrel=2
pkgdesc="GNU ccRTP is an implementation of RTP, the real-time transport 
protocol from the IETF."
url="http://wiki.gnutelephony.org/index.php/GNU_ccRTP";
-depends=('commoncpp2>=1.8')
+depends=('commoncpp2>=1.8.1')
groups=('lib-extra')
archs=('i686' 'x86_64')
Fup2gnugz
-source=(http://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-$pkgver.tar.gz)
-signatures=($source.sig)
+source=(http://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-$pkgver.tar.gz gcc46.patch)
+signatures=($source.sig '')
+
+build() {
+  # arch64 fix from Mandriva
+  [ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
+  Fbuild
+}

# optimization OK
diff --git a/source/lib-extra/ccrtp/gcc46.patch 
b/source/lib-extra/ccrtp/gcc46.patch
new file mode 100644
index 0000000..a4b25b3
--- /dev/null
+++ b/source/lib-extra/ccrtp/gcc46.patch
@@ -0,0 +1,11 @@
+diff -aur ccrtp-1.8.0.old//src/ccrtp/sources.h 
ccrtp-1.8.0.new//src/ccrtp/sources.h
+--- ccrtp-1.8.0.old//src/ccrtp/sources.h       2011-05-14 03:15:35.993564505 
-0700
++++ ccrtp-1.8.0.new//src/ccrtp/sources.h       2011-05-14 03:19:02.033569568 
-0700
+@@ -46,6 +46,7 @@
+
+ #include <string>
+ #include <ccrtp/rtcppkt.h>
++#include <stddef.h>
+
+ #ifdef        CCXX_NAMESPACES
+ namespace ost {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to