head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.06.28.00.44.26; author gdt; state dead; branches; next 1.1; commitid krbxq7yUzi8U2vLG; 1.1 date 2026.06.27.20.07.53; author gdt; state Exp; branches; next ; commitid wk1jfiMdBHCJwtLG; desc @@ 1.2 log @x11/xephem: Pivot from WRKSRC to BUILD_DIRS WRKSRC implies that the build does not look outside of it, but that's not true. Instead, make WRKSRC top level, and instead invoke make in (singleton) BUILD_DIRS. This is a huge commit textually, but it's just a pivot in how the subdir is used, adding BUILD_DIRS to paths, and renaming all the patches. NFCI; this should produce the same binary. Works on netbsd-10 amd64 in "look at sky view, didn't crash, not blank" testing. @ text @$NetBSD: patch-skyip.c,v 1.1 2026/06/27 20:07:53 gdt Exp $ Fix ctype(3) UB. Taken from https://github.com/XEphem/XEphem/pull/126 --- skyip.c.orig 2024-02-13 14:35:36.000000000 +0000 +++ skyip.c @@@@ -2573,8 +2573,8 @@@@ char msg[]; /* relax need for user to type in upper case */ for (bp = kw; *bp; bp++) - if (islower(*bp)) - *bp = toupper(*bp); + if (islower((unsigned char)*bp)) + *bp = toupper((unsigned char)*bp); /* get from FITS header and copy to our value field */ if (getStringFITS (&fim, kw, valu) == 0) { @ 1.1 log @x11/xephem: Apply ctype(3) UB patch from upstream PR Taken from https://github.com/XEphem/XEphem/pull/126. @ text @d1 1 a1 1 $NetBSD$ @