The following change at line 611 in wvdial.cc fixes the a compilation
error for wvdial-1.41-3 and rp3-1.0.7-4 using gcc-2.95.3-0.20000323:

(Why is the wvdial code present in rp3? An alternative could be a
dependency on wvdial)
 
g++ $_R_CXXFLAGS -c wvdialer.cc
wvdialer.cc: In method `void WvDialer::start_ppp()':
wvdialer.cc:611: conversion to `char *' from `const char *' discards qualifiers
make[3]: *** [wvdialer.o] Error 1

//      options.remote ? (char*)options.remote : (options.new_pppd ? "wvdial" : NULL),
        options.remote ? (const char*)options.remote : (options.new_pppd ? "wvdial" : 
NULL),

How to make a new rpm after the fix? Even if your changed code compiles,
you have to make a patch, edit the specfile to include the patch, make
a new set of source/binary packages with rpm -ba ... Is this the only way??
I'm too lazy to do this manually, can this be automated using a small script? 

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to