Bug 247982 - texlive-core-2008-r4: remove "deprecated char* conversion" warnings from xpdf library
Bug#: 247982 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: aballier@gentoo.org Reported By: rapatsky@gmail.com
Component: Ebuilds
URL: 
Summary: texlive-core-2008-r4: remove "deprecated char* conversion" warnings from xpdf library
Keywords:  
Status Whiteboard: 
Opened: 2008-11-21 16:14 0000
Description:   Opened: 2008-11-21 16:14 0000
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 From Vladimir Rapatskiy 2008-11-21 16:15:47 0000 -------
Created an attachment (id=172704) [details]
Patch to eliminate xpdf deprecated char* coversion warnings

------- Comment #2 From Vladimir Rapatskiy 2008-11-21 16:16:45 0000 -------
Created an attachment (id=172705) [details]
emerge --info output result

------- Comment #3 From Vladimir Rapatskiy 2008-11-21 17:25:12 0000 -------
Created an attachment (id=172725) [details]
Patch to eliminate xpdf deprecated char* coversion warnings

------- Comment #4 From Santiago M. Mola 2008-11-23 19:26:11 0000 -------
Vladimir, could you send this patch upstream?

------- Comment #5 From Vladimir Rapatskiy 2008-11-24 18:40:40 0000 -------
(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 From Alexis Ballier 2008-11-29 15:20:00 0000 -------
(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.