commit 2a57e56c5f584e7b5e4bc376f6837264cbaf8770
Author: Tom "spot" Callaway <tcallawa(a)redhat.com>
Date: Fri Apr 1 08:13:13 2011 -0400
update NULL patch for 1.5.2
libjingle-0.5.2-NULL-fix.patch | 22 ++++++++++++++++++++++
libjingle.spec | 2 +-
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/libjingle-0.5.2-NULL-fix.patch b/libjingle-0.5.2-NULL-fix.patch
new file mode 100644
index 0000000..a397a7f
--- /dev/null
+++ b/libjingle-0.5.2-NULL-fix.patch
@@ -0,0 +1,22 @@
+diff -upN libjingle-0.5.2/talk/base/event.cc.NULL libjingle-0.5.2/talk/base/event.cc
+--- libjingle-0.5.2/talk/base/event.cc.NULL 2011-01-11 19:25:49.000000000 -0500
++++ libjingle-0.5.2/talk/base/event.cc 2011-04-01 08:11:07.676149003 -0400
+@@ -26,6 +26,7 @@
+ */
+
+ #include "talk/base/event.h"
++#include <cstdlib>
+
+ #if defined(WIN32)
+ #include <windows.h>
+diff -upN libjingle-0.5.2/talk/base/sigslot.h.NULL libjingle-0.5.2/talk/base/sigslot.h
+--- libjingle-0.5.2/talk/base/sigslot.h.NULL 2011-04-01 08:12:00.723149003 -0400
++++ libjingle-0.5.2/talk/base/sigslot.h 2011-04-01 08:12:09.470149096 -0400
+@@ -80,6 +80,7 @@
+
+ #include <set>
+ #include <list>
++#include <cstdlib>
+
+ // On our copy of sigslot.h, we force single threading
+ #define SIGSLOT_PURE_ISO
diff --git a/libjingle.spec b/libjingle.spec
index 643d716..c81528b 100644
--- a/libjingle.spec
+++ b/libjingle.spec
@@ -11,7 +11,7 @@ Patch0: libjingle-0.5.1-build-sanity.patch
# before any header with __BEGIN_DECLS, notably, sys/types.h
Patch1: libjingle-0.5.1-C-linkage-fix.patch
# We need <cstdlib> for NULL.
-Patch2: libjingle-0.5.1-NULL-fix.patch
+Patch2: libjingle-0.5.2-NULL-fix.patch
# In file included from /usr/include/fcntl.h:41:0,
# from physicalsocketserver.cc:37:
#/usr/include/bits/stat.h:91:21: error: field 'st_atim' has incomplete type
Show replies by date