[wvstreams] build fix
authorhschang <chang@dev3>
Wed, 2 Jul 2014 06:00:17 +0000 (15:00 +0900)
committerhschang <chang@dev3>
Wed, 2 Jul 2014 06:00:17 +0000 (15:00 +0900)
meta-openvuplus/recipes-connectivity/wvstream/wvstreams-4.6/vuplus-wvstreams-build-fix_getuid.patch [new file with mode: 0644]
meta-openvuplus/recipes-connectivity/wvstream/wvstreams_4.6.bb

diff --git a/meta-openvuplus/recipes-connectivity/wvstream/wvstreams-4.6/vuplus-wvstreams-build-fix_getuid.patch b/meta-openvuplus/recipes-connectivity/wvstream/wvstreams-4.6/vuplus-wvstreams-build-fix_getuid.patch
new file mode 100644 (file)
index 0000000..8ef08de
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/utils/wvuid.cc b/utils/wvuid.cc
+index 7fa1035..709a484 100644
+--- a/utils/wvuid.cc
++++ b/utils/wvuid.cc
+@@ -33,6 +33,7 @@ wvuid_t wvgetuid()
+ #else // not WIN32
++#include <unistd.h>
+ WvString wv_username_from_uid(wvuid_t uid)
+ {
index 01afd5d..db67612 100644 (file)
@@ -7,7 +7,8 @@ DESCRIPTION = "WvStreams is a network programming library in C++"
 DEPENDS = "zlib openssl (>= 0.9.8)"
 
 SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
-       file://vuplus-wvstreams-build-fix.patch;patch=1;pnum=1 \
+       file://vuplus-wvstreams-build-fix.patch \
+       file://vuplus-wvstreams-build-fix_getuid.patch \
        "
 
 inherit autotools pkgconfig