From fda57fdd5eef9c87374b9737f74f3e07d1524fa5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 7 Jul 2012 11:44:28 +0200 Subject: ccrtp-1.8: fix build with gcc 4.6 --- pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch (limited to 'pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch') diff --git a/pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch b/pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch new file mode 100644 index 000000000000..49d07a89e52a --- /dev/null +++ b/pkgs/development/libraries/ccrtp/gcc-4.6-fix.patch @@ -0,0 +1,20 @@ +diff -ubr ccrtp-1.8.0-orig/src/ccrtp/sources.h ccrtp-1.8.0/src/ccrtp/sources.h +--- ccrtp-1.8.0-orig/src/ccrtp/sources.h 2010-04-18 20:51:49.000000000 +0200 ++++ ccrtp-1.8.0/src/ccrtp/sources.h 2012-07-07 11:42:50.961179016 +0200 +@@ -45,6 +45,7 @@ + #define CCXX_RTP_SOURCES_H_ + + #include ++#include + #include + + #ifdef CCXX_NAMESPACES +@@ -406,7 +407,7 @@ + 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; + -- cgit 1.4.1