[libjingle] fix undeclared size_t

Tom Callaway spot at fedoraproject.org
Fri Apr 1 12:22:42 UTC 2011


commit 7f8ccd09d4110872bb7484227a48e593f14b87a9
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Fri Apr 1 08:24:07 2011 -0400

    fix undeclared size_t

 libjingle-0.5.2-size_t.patch |   11 +++++++++++
 libjingle.spec               |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libjingle-0.5.2-size_t.patch b/libjingle-0.5.2-size_t.patch
new file mode 100644
index 0000000..eaea235
--- /dev/null
+++ b/libjingle-0.5.2-size_t.patch
@@ -0,0 +1,11 @@
+diff -upN libjingle-0.5.2/talk/p2p/base/pseudotcp.h.sizet libjingle-0.5.2/talk/p2p/base/pseudotcp.h
+--- libjingle-0.5.2/talk/p2p/base/pseudotcp.h.sizet	2011-04-01 08:21:09.592149011 -0400
++++ libjingle-0.5.2/talk/p2p/base/pseudotcp.h	2011-04-01 08:21:18.242149032 -0400
+@@ -29,6 +29,7 @@
+ #define TALK_P2P_BASE_PSEUDOTCP_H_
+ 
+ #include <list>
++#include <cstdlib>
+ 
+ #include "talk/base/basictypes.h"
+ 
diff --git a/libjingle.spec b/libjingle.spec
index c81528b..465ac9d 100644
--- a/libjingle.spec
+++ b/libjingle.spec
@@ -49,6 +49,8 @@ Patch14:	libjingle-0.5.1-config-linux.patch
 Patch15:	libjingle-0.5.2-chromium12-changes.patch
 # Fix 0.5.2 compilation
 Patch16:	libjingle-0.5.2-compilefix.patch
+# Fix missing cstdlib for size_t
+Patch17:	libjingle-0.5.2-size_t.patch
 
 BuildRequires:	libtool, autoconf, automake
 BuildRequires:	openssl-devel
@@ -100,6 +102,7 @@ developing applications that use %{name}.
 %patch14 -p1 -b .config
 %patch15 -p1 -b .chromium12
 %patch16 -p1 -b .compilefix
+%patch17 -p1 -b .size_t
 
 touch NEWS ChangeLog
 autoreconf -i


More information about the scm-commits mailing list