pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45562 (print/xpdf does not compile (when using lesstif))

The following reply was made to PR pkg/45562; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <>
Subject: Re: pkg/45562 (print/xpdf does not compile (when using lesstif))
Date: Fri, 04 Nov 2011 11:38:12 +0100

 On 11/04/11 11:18 AM, wrote:
 > Do you have patch suggestions? Otherwise we could just remove the option ;)
 You mean remove lesstif from pkgsrc?
 Just to prevent such drastic measures:
 --- xpdf/     2011-08-15 21:08:53.000000000 +0000
 +++ xpdf/
 @@ -1803,7 +1803,7 @@ void XPDFViewer::initToolbar(Widget pare
     menuPane = XmCreatePulldownMenu(toolBar, "zoomMenuPane", args, n);
     for (i = 0; i < nZoomMenuItems; ++i) {
       n = 0;
 -    s = XmStringCreateLocalized(zoomMenuInfo[i].label);
 +    s = XmStringCreateLocalized((char *)zoomMenuInfo[i].label);
       XtSetArg(args[n], XmNlabelString, s); ++n;
       XtSetArg(args[n], XmNuserData, (XtPointer)i); ++n;
       sprintf(buf, "zoom%d", i);
 The same problem was fixed a few lines above in the top half of an 
 #if/#else block, but obviously missed on the other side. I'll report it 
   Jörn Clausen                    
   Universität Bielefeld

Home | Main Index | Thread Index | Old Index