wvdial: fix for gcc 4.3

This commit is contained in:
Juergen Daubert 2008-10-01 22:07:09 +02:00
parent cda0d1748a
commit 54ec271240
3 changed files with 31 additions and 2 deletions

View File

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

View File

@ -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}

View File

@ -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 <climits>
+
#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<WvString>(WvBuf &buf);
+WvString _wv_deserialize<WvString>(WvBuf &buf);
/** Deserialize a WvBuf. */