head 1.1; access; symbols pkgsrc-2026Q3:1.1.0.2; locks; strict; comment @ * @; 1.1 date 2026.10.25.15.27.12; author taca; state Exp; branches 1.1.2.1; next ; commitid Oh9afH2eFC6m7S0H; 1.1.2.1 date 2026.10.25.15.27.12; author bsiegert; state dead; branches; next 1.1.2.2; commitid zMRIWEBgm9sSkV1H; 1.1.2.2 date 2026.11.02.19.53.38; author bsiegert; state Exp; branches; next ; commitid zMRIWEBgm9sSkV1H; desc @@ 1.1 log @net/arpwatch: fix runtime problem on NetBSD 11 * Add descriptions to each patch files. * Pass correct type to ctype(3) function to fix runtime problem on NetBSD 11. * Reduce pkglint warnings except LICENSE. It might build with bcopy.c from original BSD license and most of other codes contains 0-clause-bsd, but I'm not sure. So LICENSE is commented out for now. Bump PKGREVISION. @ text @$NetBSD$ * Pass correct type to ctype(3) function. --- file.c.orig 2026-10-25 13:25:35.361730749 +0000 +++ file.c @@@@ -102,7 +102,7 @@@@ fprintf(stderr, "file_loop: %s:%d bad et cp = cp2; if ((cp2 = strchr(cp, '\t')) != NULL) *cp2++ = '\0'; - if (!isdigit((int)*cp) || (int32_t)(a = inet_addr(cp)) == -1) { + if (!isdigit((unsigned char)*cp) || (int32_t)(a = inet_addr(cp)) == -1) { if ((hp = gethostbyname(cp)) == NULL) { syslog(LOG_ERR, "file_loop: %s:%d bad hostname \"%s\"", @ 1.1.2.1 log @file patch-file.c was added on branch pkgsrc-2026Q3 on 2026-11-02 19:53:38 +0000 @ text @d1 15 @ 1.1.2.2 log @Pullup ticket #7325 - requested by taca net/arpwatch: NetBSD build fix Revisions pulled up: - net/arpwatch/Makefile 1.37 - net/arpwatch/distinfo 1.15 - net/arpwatch/patches/patch-aa 1.7 - net/arpwatch/patches/patch-ab 1.9 - net/arpwatch/patches/patch-ac 1.11 - net/arpwatch/patches/patch-ad 1.6 - net/arpwatch/patches/patch-ae 1.6 - net/arpwatch/patches/patch-db.c 1.1 - net/arpwatch/patches/patch-ec.c 1.1 - net/arpwatch/patches/patch-file.c 1.1 --- Module Name: pkgsrc Committed By: taca Date: Sun Oct 25 15:27:12 UTC 2026 Modified Files: pkgsrc/net/arpwatch: Makefile distinfo pkgsrc/net/arpwatch/patches: patch-aa patch-ab patch-ac patch-ad patch-ae Added Files: pkgsrc/net/arpwatch/patches: patch-db.c patch-ec.c patch-file.c Log Message: net/arpwatch: fix runtime problem on NetBSD 11 * Add descriptions to each patch files. * Pass correct type to ctype(3) function to fix runtime problem on NetBSD 11. * Reduce pkglint warnings except LICENSE. It might build with bcopy.c from original BSD license and most of other codes contains 0-clause-bsd, but I'm not sure. So LICENSE is commented out for now. Bump PKGREVISION. @ text @a0 15 $NetBSD: patch-file.c,v 1.1 2026/10/25 15:27:12 taca Exp $ * Pass correct type to ctype(3) function. --- file.c.orig 2026-10-25 13:25:35.361730749 +0000 +++ file.c @@@@ -102,7 +102,7 @@@@ fprintf(stderr, "file_loop: %s:%d bad et cp = cp2; if ((cp2 = strchr(cp, '\t')) != NULL) *cp2++ = '\0'; - if (!isdigit((int)*cp) || (int32_t)(a = inet_addr(cp)) == -1) { + if (!isdigit((unsigned char)*cp) || (int32_t)(a = inet_addr(cp)) == -1) { if ((hp = gethostbyname(cp)) == NULL) { syslog(LOG_ERR, "file_loop: %s:%d bad hostname \"%s\"", @