[SOURCE:tarball] wvdial (Bug #180)
Description
The Error Message...
wvmodemscan.cc: In constructor 'WvModemScanList::WvModemScanList(WvStringParm)': wvmodemscan.cc:544:58: error: invalid conversion from 'int (*)(const void*, const void*)' to 'int (*)(const dirent**, const dirent**)' [-fpermissive] /usr/include/dirent.h:260:12: error: initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))' [-fpermissive] make: *** [wvmodemscan.o] Error 1 make: *** Waiting for unfinished jobs....
With the Following changes in wvdial-1.60/wvmodemscan.cc
--Line(544)
num = scandir("/dev", &namelist, fileselect, filesort);
--
++
// num = scandir("/dev", &namelist, fileselect, filesort);
++
yes I know it is simply bypassing the problem by commenting it out.
however my intention at this time is to have a functional package installed for
further package testing and not to bugfix everything upstream as well.
Issue hierarchy
History
Updated by Bor Kraljič over 1 year ago
Seems that one newer version is available here:
http://code.google.com/p/wvstreams/downloads/list
WEB_SITE should also be updated. Arch has http://alumnit.ca/wiki/index.php?page=WvDial listed as website but seems that page is also not working. So I suggest we use googlecode page (http://code.google.com/p/wvstreams/)