Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247982 - texlive-core-2008-r4: remove "deprecated char* conversion" warnings from xpdf library
Summary: texlive-core-2008-r4: remove "deprecated char* conversion" warnings from xpdf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 16:14 UTC by Vladimir Rapatskiy
Modified: 2008-11-29 15:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to eliminate xpdf deprecated char* coversion warnings (99_all_xpdf_const_char.patch,94.02 KB, patch)
2008-11-21 16:15 UTC, Vladimir Rapatskiy
Details | Diff
emerge --info output result (emerge_info.txt,3.72 KB, text/plain)
2008-11-21 16:16 UTC, Vladimir Rapatskiy
Details
Patch to eliminate xpdf deprecated char* coversion warnings (99_all_xpdf_const_char.patch,98.71 KB, patch)
2008-11-21 17:25 UTC, Vladimir Rapatskiy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Rapatskiy 2008-11-21 16:14:03 UTC
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
Comment 1 Vladimir Rapatskiy 2008-11-21 16:15:47 UTC
Created attachment 172704 [details, diff]
Patch to eliminate xpdf deprecated char* coversion warnings
Comment 2 Vladimir Rapatskiy 2008-11-21 16:16:45 UTC
Created attachment 172705 [details]
emerge --info output result
Comment 3 Vladimir Rapatskiy 2008-11-21 17:25:12 UTC
Created attachment 172725 [details, diff]
Patch to eliminate xpdf deprecated char* coversion warnings
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2008-11-23 19:26:11 UTC
Vladimir, could you send this patch upstream?
Comment 5 Vladimir Rapatskiy 2008-11-24 18:40:40 UTC
(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
Comment 6 Alexis Ballier gentoo-dev 2008-11-29 15:20:00 UTC
(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.