Bug #180

Bug #178: [MASTER:source modification] Source Modification prior to compilation for completion

[SOURCE:tarball] wvdial

Added by Jeremy Sutherland about 4 years ago. Updated about 4 years ago.

Status:NewStart date:09/09/2011
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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


#1 Updated by Bor Kraljič about 4 years ago

Seems that one newer version is available here:

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/)

Also available in: Atom PDF