All of lore.kernel.org
 help / color / mirror / Atom feed
* wvstreams fix
@ 2009-05-17  8:21 Ming Chow 周明
  0 siblings, 0 replies; only message in thread
From: Ming Chow 周明 @ 2009-05-17  8:21 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 76 bytes --]

wvstreams compile failed with gcc-4.3.x.
here is my patch to fix it up.


[-- Attachment #2: wvstreams.patch --]
[-- Type: text/x-patch, Size: 1919 bytes --]

diff --git a/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch b/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch
new file mode 100644
index 0000000..fd6f951
--- /dev/null
+++ b/recipes/wvstreams/wvstreams-4.4.1/wvstreams-4.4.1-gcc-4.3-compile.patch
@@ -0,0 +1,23 @@
+diff -urN wvstreams-4.4.1-orig/include/uniconfkey.h wvstreams-4.4.1/include/uniconfkey.h
+--- wvstreams-4.4.1-orig/include/uniconfkey.h	2009-05-17 15:52:15.761594425 +0800
++++ wvstreams-4.4.1/include/uniconfkey.h	2009-05-17 15:51:49.290819209 +0800
+@@ -9,6 +9,7 @@
+ 
+ #include "wvstring.h"
+ #include "wvlinklist.h"
++#include <limits.h>
+ 
+ 
+ // The Python headers try to #define ANY as void.  If we're building Python
+diff -urN wvstreams-4.4.1-orig/include/wvserialize.h wvstreams-4.4.1/include/wvserialize.h
+--- wvstreams-4.4.1-orig/include/wvserialize.h	2009-05-17 15:52:21.970914867 +0800
++++ wvstreams-4.4.1/include/wvserialize.h	2009-05-17 15:51:49.300819143 +0800
+@@ -349,7 +349,7 @@
+  * except as the last character.
+  */
+ template <>
+-extern WvString _wv_deserialize<WvString>(WvBuf &buf);
++WvString _wv_deserialize<WvString>(WvBuf &buf);
+ 
+ 
+ /** Deserialize a WvBuf. */
diff --git a/recipes/wvstreams/wvstreams_4.4.1.bb b/recipes/wvstreams/wvstreams_4.4.1.bb
index 8cf1d1b..7dcc126 100644
--- a/recipes/wvstreams/wvstreams_4.4.1.bb
+++ b/recipes/wvstreams/wvstreams_4.4.1.bb
@@ -3,10 +3,11 @@ LICENSE = "LGPL"
 DESCRIPTION = "WvStreams is a network programming library in C++"
 DEPENDS = "zlib openssl (>= 0.9.8)"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
-           file://build-fixes-and-sanity.patch;patch=1 "
+           file://build-fixes-and-sanity.patch;patch=1 \
+           file://wvstreams-4.4.1-gcc-4.3-compile.patch;patch=1 "
 
 inherit autotools pkgconfig
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-17  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-17  8:21 wvstreams fix Ming Chow 周明

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.