Path to this page:
Subject: CVS commit: pkgsrc/sysutils/xfm
From: David A. Holland
Date: 2018-11-26 07:52:22
Message id: 20181126065222.73729FB1F@cvs.NetBSD.org
Log Message:
Add a distfile patch to handle pervasive LP64 problems.
Also include assorted cleanup: don't use sprintf, don't use getwd,
fix some 32-bit file size truncations I noticed, use standard
functions and headers, etc.
patch-ac has been rolled into the distfile patch, but (for now anyway)
not the others.
Use tradcpp to produce the app-defaults file (and an install script)
as otherwise these were getting mangled.
PR 52739.
This makes it no longer segfault calling XtVaSetValues() on all LP64
platforms. But, unfortunately, for me it's still crashing, and I'm out
of available time to chase the problem further.
The symptom is that it crashes with a bad font pointer in the
Initialize code of its TextField widget, which seems to be because
something overwrites some X resource strings with garbage so the font
doesn't get set. I think. This seems to be happening from inside libXt.
Disabling libXaw3d (which there isn't a straightforward pkgsrc hook
for) makes it run, or at least start, so I think it's a net
improvement.
Files: