pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/xfm



Module Name:    pkgsrc
Committed By:   dholland
Date:           Mon Nov 26 06:52:22 UTC 2018

Modified Files:
        pkgsrc/sysutils/xfm: Makefile distinfo
Removed Files:
        pkgsrc/sysutils/xfm/patches: patch-ac

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.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/xfm/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/xfm/distinfo
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/sysutils/xfm/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/xfm/Makefile
diff -u pkgsrc/sysutils/xfm/Makefile:1.19 pkgsrc/sysutils/xfm/Makefile:1.20
--- pkgsrc/sysutils/xfm/Makefile:1.19   Wed Oct 14 20:17:28 2015
+++ pkgsrc/sysutils/xfm/Makefile        Mon Nov 26 06:52:22 2018
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile,v 1.19 2015/10/14 20:17:28 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2018/11/26 06:52:22 dholland Exp $
 
 DISTNAME=      xfm-1.4.3
 PKGREVISION=   4
 CATEGORIES=    sysutils x11
 MASTER_SITES=  http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/
 
+PATCHFILES=    xfm-jumbo-patch-20181125.gz
+PATCH_SITES=   http://www.NetBSD.org/~dholland/patchkits/xfm/
+PATCH_DIST_STRIP= -p1
+
 MAINTAINER=    rxg%NetBSD.org@localhost
 HOMEPAGE=      http://www.musikwissenschaft.uni-mainz.de/~ag/xfm/
 COMMENT=       The X File Manager
@@ -13,6 +17,7 @@ LICENSE=      gnu-gpl-v2
 BUILD_TARGET+= all xfm.install.script Xfm.ad
 
 USE_IMAKE=     YES
+IMAKEOPTS=     -DCppCmd=tradcpp
 # does not directly support Xaw3d
 .PHONY: buildlink-Xaw3d-inc-hack
 pre-configure: buildlink-Xaw3d-inc-hack
@@ -21,6 +26,8 @@ buildlink-Xaw3d-inc-hack: buildlink-dire
        cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
 #BUILDLINK_TRANSFORM+=           l:Xaw:Xaw3d
 
+TOOL_DEPENDS+= tradcpp>=0.5.2:../../devel/tradcpp
+
 .include "../../x11/libXaw3d/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/xfm/distinfo
diff -u pkgsrc/sysutils/xfm/distinfo:1.8 pkgsrc/sysutils/xfm/distinfo:1.9
--- pkgsrc/sysutils/xfm/distinfo:1.8    Wed Nov  4 01:32:41 2015
+++ pkgsrc/sysutils/xfm/distinfo        Mon Nov 26 06:52:22 2018
@@ -1,12 +1,15 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:32:41 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/11/26 06:52:22 dholland Exp $
 
 SHA1 (xfm-1.4.3.tar.gz) = 8d6235bb63e04491cc99603144b52884866b39e2
 RMD160 (xfm-1.4.3.tar.gz) = b06c562b467e5085e5ecdd4273b64d554415ce69
 SHA512 (xfm-1.4.3.tar.gz) = 8d81a50c474712745d1d1fe6e84d772fd2faba6db31bec2bade799923d9455d772cd1b7cc68bd8014e0ab9f2840117ead0eb959945f800e13a62824d82c8955d
 Size (xfm-1.4.3.tar.gz) = 420962 bytes
+SHA1 (xfm-jumbo-patch-20181125.gz) = def1eb43063dcdf5f2c885410f083573e4d1cd83
+RMD160 (xfm-jumbo-patch-20181125.gz) = 0d6c70e6b3925050166d4bb48335e8a3e76a6891
+SHA512 (xfm-jumbo-patch-20181125.gz) = 2e09e55dbbd99006b1e4e134b9c4749f3ee743c699cf346c2b9625ef69b3d338bfd268697fc63038b9d3b55de60365e7c8d148f9ae4309d8fb614b8bf3653105
+Size (xfm-jumbo-patch-20181125.gz) = 25181 bytes
 SHA1 (patch-aa) = 24ce4e78b18356db98ed2588f8da48380e1efd20
 SHA1 (patch-ab) = b8c1cff37974fee67272e1f7befe345654ceb819
-SHA1 (patch-ac) = 40a32177cc5b64a49a51ea9c77062bfdc77da75d
 SHA1 (patch-ad) = 64709ecb67e91d8677545a7af54fa205079a77fd
 SHA1 (patch-ae) = 9e2a79a0a7becdca8bcdb30da457ef7b25ccd22d
 SHA1 (patch-af) = 075d38b00064ef6a853e62268e07a0432b1a7710



Home | Main Index | Thread Index | Old Index