pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/xpaint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 10:44:55 UTC 2026

Modified Files:
        pkgsrc/graphics/xpaint: Makefile

Log Message:
xpaint: fix ctype(3) abuse

Fixes coredump during build.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/graphics/xpaint/Makefile

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

Modified files:

Index: pkgsrc/graphics/xpaint/Makefile
diff -u pkgsrc/graphics/xpaint/Makefile:1.91 pkgsrc/graphics/xpaint/Makefile:1.92
--- pkgsrc/graphics/xpaint/Makefile:1.91        Sun Dec 21 07:47:50 2025
+++ pkgsrc/graphics/xpaint/Makefile     Sun Jan  4 10:44:54 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2025/12/21 07:47:50 vins Exp $
+# $NetBSD: Makefile,v 1.92 2026/01/04 10:44:54 wiz Exp $
 
 DISTNAME=      xpaint-3.1.4
 PKGREVISION=   7
@@ -36,6 +36,19 @@ SUBST_SED.paths=     -e 's|/usr/bin/libtool|
 SUBST_SED.paths+=      -e 's|/etc/X11/app-defaults|${PREFIX}/lib/X11/app-defaults|'
 SUBST_SED.paths+=      -e 's|freetype2/config/ftheader.h|freetype2/freetype/config/ftheader.h|'
 
+SUBST_CLASSES+=                ctype
+SUBST_STAGE.ctype=     pre-build
+SUBST_MESSAGE.ctype=   Fixing isspace arguments.
+SUBST_SED.ctype+=      -e 's|isspace(|isspace((unsigned char)|'
+SUBST_FILES.ctype+=    help.c
+SUBST_FILES.ctype+=    main.c
+SUBST_FILES.ctype+=    misc.c
+SUBST_FILES.ctype+=    msgedit.c
+SUBST_FILES.ctype+=    preproc.c
+SUBST_FILES.ctype+=    print.c
+SUBST_FILES.ctype+=    substads.c
+SUBST_FILES.ctype+=    xpaintrw/readWritePS.c
+
 pre-configure:
        set -e; cd ${WRKSRC} && autoreconf -fiv
 



Home | Main Index | Thread Index | Old Index