All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ming Chow 周明" <chow.ming@linuxbj.com>
To: openembedded-devel@lists.openembedded.org
Subject: wvstreams fix
Date: Sun, 17 May 2009 16:21:10 +0800	[thread overview]
Message-ID: <4A0FC8F6.6080003@linuxbj.com> (raw)

[-- 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
 


                 reply	other threads:[~2009-05-17  8:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A0FC8F6.6080003@linuxbj.com \
    --to=chow.ming@linuxbj.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.