diff --git a/wvdial/.md5sum b/wvdial/.md5sum index b087dd6bf..d3fc6fb30 100644 --- a/wvdial/.md5sum +++ b/wvdial/.md5sum @@ -1,3 +1,4 @@ ca2d01b5c727d7ea62aa20b81028998b wvdial-1.60.patch 27fbbde89f8fd9f6e735a8efa5217fc9 wvdial-1.60.tar.gz 907b0cba8931553d848620ea16f006b9 wvstreams-4.4.1.tar.gz +0a1e0f921075774ad97a7aac2fb4421c wvstreams-gcc43.patch diff --git a/wvdial/Pkgfile b/wvdial/Pkgfile index 16d930739..c4f0358b0 100644 --- a/wvdial/Pkgfile +++ b/wvdial/Pkgfile @@ -5,13 +5,15 @@ name=wvdial version=1.60 -release=2 +release=3 source=(http://alumnit.ca/download/$name-$version.tar.gz \ http://wvstreams.googlecode.com/files/wvstreams-4.4.1.tar.gz \ - $name-$version.patch) + $name-$version.patch wvstreams-gcc43.patch) build() { cd wvstreams-4.4.1 + + patch -p1 -i $SRC/wvstreams-gcc43.patch ./configure --prefix=/usr \ --enable-verbose \ --without-{pam,tcl,qt} diff --git a/wvdial/wvstreams-gcc43.patch b/wvdial/wvstreams-gcc43.patch new file mode 100644 index 000000000..62bb3bc13 --- /dev/null +++ b/wvdial/wvstreams-gcc43.patch @@ -0,0 +1,26 @@ +http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/wvstreams/files/wvstreams-4.4.1-gcc43.patch?rev=1.1&view=markup + +diff -ur wvstreams-4.4.1.orig/include/uniconfkey.h wvstreams-4.4.1/include/uniconfkey.h +--- wvstreams-4.4.1.orig/include/uniconfkey.h 2007-07-19 22:22:49.000000000 +0100 ++++ wvstreams-4.4.1/include/uniconfkey.h 2008-06-17 19:54:46.000000000 +0100 +@@ -7,6 +7,8 @@ + #ifndef __UNICONFKEY_H + #define __UNICONFKEY_H + ++#include ++ + #include "wvstring.h" + #include "wvlinklist.h" + +diff -ur wvstreams-4.4.1.orig/include/wvserialize.h wvstreams-4.4.1/include/wvserialize.h +--- wvstreams-4.4.1.orig/include/wvserialize.h 2007-08-17 06:15:30.000000000 +0100 ++++ wvstreams-4.4.1/include/wvserialize.h 2008-06-17 20:02:28.000000000 +0100 +@@ -349,7 +349,7 @@ + * except as the last character. + */ + template <> +-extern WvString _wv_deserialize(WvBuf &buf); ++WvString _wv_deserialize(WvBuf &buf); + + + /** Deserialize a WvBuf. */