summaryrefslogtreecommitdiff
path: root/community/ccrtp
diff options
context:
space:
mode:
Diffstat (limited to 'community/ccrtp')
-rw-r--r--community/ccrtp/PKGBUILD10
-rw-r--r--community/ccrtp/gcc46.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/community/ccrtp/PKGBUILD b/community/ccrtp/PKGBUILD
index 19a66964b..13ac0026b 100644
--- a/community/ccrtp/PKGBUILD
+++ b/community/ccrtp/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 33232 2010-11-23 12:15:12Z spupykin $
+# $Id: PKGBUILD 47033 2011-05-14 10:27:41Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor:
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=ccrtp
-pkgver=1.7.1
+pkgver=1.8.0
pkgrel=1
pkgdesc="GNU ccRTP"
arch=('i686' 'x86_64')
@@ -13,11 +13,13 @@ url="http://www.gnu.org/software/ccrtp"
license=('GPL' 'custom')
depends=('commoncpp2' 'zlib' 'libxml2' 'libgcrypt')
options=('!libtool')
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('9f5d34a18f2c1c779d2e5818cc4987f8')
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz gcc46.patch)
+md5sums=('3410d2f43a6a28679bd091ed8b2ed228'
+ '17ce9c79c4518f35f484b539bcff570d')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i $srcdir/gcc46.patch
# arch64 fix from Mandriva
[ "$CARCH" == "x86_64" ] && export CXXFLAGS="$CXXFLAGS -fpermissive"
./configure --prefix=/usr
diff --git a/community/ccrtp/gcc46.patch b/community/ccrtp/gcc46.patch
new file mode 100644
index 000000000..a4b25b369
--- /dev/null
+++ b/community/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 {