This is a patch to change "char *" into "const char *" where possible in xpdf source subdirectory, to remove gcc 4.3 warnings about deprecated string to char* conversions. Reproducible: Always Steps to Reproduce: 1. emerge =app-text/texlive-core-2008-r4 &>emerge.log 2. grep deprecated emerge.log Actual Results: You'll see bunch of warning messages about string to char* conversions in libs/xpdf sources Expected Results: Compilation must not give any warning message
Created attachment 172704 [details, diff] Patch to eliminate xpdf deprecated char* coversion warnings
Created attachment 172705 [details] emerge --info output result
Created attachment 172725 [details, diff] Patch to eliminate xpdf deprecated char* coversion warnings
Vladimir, could you send this patch upstream?
(In reply to comment #4) > Vladimir, could you send this patch upstream? You mean texlive or xpdf devellopers? I'll try to send to texlive, cause xpdf looks like abandoned project
(In reply to comment #5) > (In reply to comment #4) > > Vladimir, could you send this patch upstream? > > You mean texlive or xpdf devellopers? > I'll try to send to texlive, cause xpdf looks like abandoned project I'd say just send the same mail to both of them, just in case patch applied, thanks just a small note: if it doesn't get applied upstream and the patch fails to apply in later version i'll probably drop it without warning because it's huge and doesn't harm usability.