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))
On 11/04/11 11:18 AM, wiz%NetBSD.org@localhost 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/XPDFViewer.cc.orig 2011-08-15 21:08:53.000000000 +0000
+++ xpdf/XPDFViewer.cc
@@ -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
upstream.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index