Skip to contentSkip to conversation

Patch to get wvstreams recipe functional

PATCH Kirtika Ruchandani 2 participants 3 messages Jul 28, 2009

lore
Share & tools
lore
#0 lore raw

Greetings,
Please find attached the quilt patches for the wvstreams 4.4.1 recipe. The one in the OE tree currently doesn't build correctly.
It would be great if someone could test the above patches and check if the build goes fine.
Regards,

Signature · 5 lines
Kirtika Ruchandani
Maemo Google Summer of Code  student
Sophomore, CS&E @ IIT-Madras
IRC: rkirti / oespirit
http://rkirti.wordpress.com
include/wvserialize.h +2 -1
Index: wvstreams-4.4.1/include/wvserialize.h
===================================================================
@@ -348,8 +348,9 @@
  * (zero) character.  Serialized WvStrings are guaranteed not to contain nul
  * except as the last character.
  */
+/*No storage class allowed here as per gcc 4.3 specs*/
 template <>
-extern WvString _wv_deserialize<WvString>(WvBuf &buf);
+WvString _wv_deserialize<WvString>(WvBuf &buf);
 
 
 /** Deserialize a WvBuf. */
include/uniconfkey.h +1 -1
Index: wvstreams-4.4.1/include/uniconfkey.h
===================================================================
@@ -9,7 +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
 // wrappers, get rid of that.
#1 lore raw
Quoted 35 lines · Kirtika Ruchandani

Greetings,
Please find attached the quilt patches for the wvstreams 4.4.1 recipe. The one in the OE tree currently doesn't build correctly.
It would be great if someone could test the above patches and check if the build goes fine.
Regards,

Signature · 8 lines
Kirtika Ruchandani
Maemo Google Summer of Code  student
Sophomore, CS&E @ IIT-Madras
IRC: rkirti / oespirit
http://rkirti.wordpress.com

Index: wvstreams-4.4.1/include/wvserialize.h
===================================================================
include/wvserialize.h +2 -1
@@ -348,8 +348,9 @@
  * (zero) character.  Serialized WvStrings are guaranteed not to contain nul
  * except as the last character.
  */
+/*No storage class allowed here as per gcc 4.3 specs*/
 template <>
-extern WvString _wv_deserialize<WvString>(WvBuf &buf);
+WvString _wv_deserialize<WvString>(WvBuf &buf);
 
 
 /** Deserialize a WvBuf. */

Index: wvstreams-4.4.1/include/uniconfkey.h
===================================================================

include/uniconfkey.h line 15

Quoted 8 lines
include/uniconfkey.h +1 -1
@@ -9,7 +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
 // wrappers, get rid of that.

FWIW patch looks ok. Can you send it with rest of recipe changes ?

Thx

-Khem

#2 lore raw
In reply to Kirtika Ruchandani
Quoted 35 lines · Kirtika Ruchandani

Greetings,
Please find attached the quilt patches for the wvstreams 4.4.1 recipe. The one in the OE tree currently doesn't build correctly.
It would be great if someone could test the above patches and check if the build goes fine.
Regards,

Signature · 8 lines
Kirtika Ruchandani
Maemo Google Summer of Code  student
Sophomore, CS&E @ IIT-Madras
IRC: rkirti / oespirit
http://rkirti.wordpress.com

Index: wvstreams-4.4.1/include/wvserialize.h
===================================================================
include/wvserialize.h +2 -1
@@ -348,8 +348,9 @@
  * (zero) character.  Serialized WvStrings are guaranteed not to contain nul
  * except as the last character.
  */
+/*No storage class allowed here as per gcc 4.3 specs*/
 template <>
-extern WvString _wv_deserialize<WvString>(WvBuf &buf);
+WvString _wv_deserialize<WvString>(WvBuf &buf);
 
 
 /** Deserialize a WvBuf. */

Index: wvstreams-4.4.1/include/uniconfkey.h
===================================================================

include/uniconfkey.h line 15

Quoted 8 lines
include/uniconfkey.h +1 -1
@@ -9,7 +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
 // wrappers, get rid of that.

FWIW patch looks ok. Can you send it with recipe changes ? so it can be applied
Thx

-Khem