wvdial: fixed build issue with gcc 4.1.2

This commit is contained in:
Juergen Daubert 2007-02-21 18:40:40 +01:00
parent fb55a49c1e
commit 5f0e8a7fa9
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,3 @@
d084772c96db6c52371e36b29d95f332 wvdial-1.56.patch
45097f269c7847266e121e4a0f362be9 wvdial-1.56.tar.gz
f8efd865a0c4da3cdf80f53622357a87 wvstreams-4.2.2-gcc41.patch
103230cb9926cb8f3f4d8dc8584f3b9c wvstreams-4.2.2.tar.gz
eb34544384c951fd14470d583273e02a wvstreams-4.3.tar.gz

View File

@ -5,14 +5,13 @@
name=wvdial
version=1.56
release=2
source=(http://open.nit.ca/download/$name-$version.tar.gz \
http://open.nit.ca/download/wvstreams-4.2.2.tar.gz \
wvstreams-4.2.2-gcc41.patch $name-$version.patch)
release=3
source=(http://alumnit.ca/download/$name-$version.tar.gz \
http://alumnit.ca/download/wvstreams-4.3.tar.gz \
$name-$version.patch)
build() {
cd wvstreams-4.2.2
patch -p1 -i $SRC/wvstreams-4.2.2-gcc41.patch
cd wvstreams-4.3
./configure --prefix=/usr \
--enable-verbose \
--without-{bdb,qdbm,pam,tcl,telephony,swig,qt,openslp}
@ -21,6 +20,6 @@ build() {
cd $SRC/$name-$version
patch -p1 < $SRC/$name-$version.patch
make CXXOPTS="$CXXFLAGS" WVS=$SRC/wvstreams-4.2.2
make CXXOPTS="$CXXFLAGS" WVS=$SRC/wvstreams-4.3
make DESTDIR=$PKG install
}