pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cook



Module Name:    pkgsrc
Committed By:   mrg
Date:           Mon Sep 29 20:46:56 UTC 2025

Modified Files:
        pkgsrc/devel/cook: distinfo
Added Files:
        pkgsrc/devel/cook/patches: patch-common_error_intl.c

Log Message:
fix a wctype(3) usage problem found while looking at GCC 14 issues.

this doesn't fix the build for GCC 14, but does remove a warning about
calling iswctype() with swapped arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/cook/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/cook/patches/patch-common_error_intl.c

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

Modified files:

Index: pkgsrc/devel/cook/distinfo
diff -u pkgsrc/devel/cook/distinfo:1.8 pkgsrc/devel/cook/distinfo:1.9
--- pkgsrc/devel/cook/distinfo:1.8      Tue Oct 26 10:14:27 2021
+++ pkgsrc/devel/cook/distinfo  Mon Sep 29 20:46:56 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:14:27 nia Exp $
+$NetBSD: distinfo,v 1.9 2025/09/29 20:46:56 mrg Exp $
 
 BLAKE2s (cook-2.26.tar.gz) = 325f0c8461db21520e3a6ebcf17a41eb692541a387e92c80405c660ee7120ef6
 SHA512 (cook-2.26.tar.gz) = 75d6349a4491589823e2f0e569b2e3d95e2c2bc2217e983bdfa8d89b9e05ea962f66c500bc0a023a2d9c3ce9099aa0459e5595cdf3fce4d0500f50900808cb60
 Size (cook-2.26.tar.gz) = 881301 bytes
+SHA1 (patch-common_error_intl.c) = 66041d854d17bdc80834865c3ac3ef27a538bbb9

Added files:

Index: pkgsrc/devel/cook/patches/patch-common_error_intl.c
diff -u /dev/null pkgsrc/devel/cook/patches/patch-common_error_intl.c:1.1
--- /dev/null   Mon Sep 29 20:46:56 2025
+++ pkgsrc/devel/cook/patches/patch-common_error_intl.c Mon Sep 29 20:46:56 2025
@@ -0,0 +1,13 @@
+$NetBSD: patch-common_error_intl.c,v 1.1 2025/09/29 20:46:56 mrg Exp $
+
+--- common/error_intl.c.orig   2006-01-16 17:56:01.000000000 -0800
++++ common/error_intl.c        2025-09-25 10:17:35.313135499 -0700
+@@ -153,7 +153,7 @@
+               kanji = wctype("kanji");
+               kanji_set = 1;
+       }
+-      if (kanji && iswctype(kanji, wc))
++      if (kanji && iswctype(wc, kanji))
+               return 2;
+ #endif
+       return 1;



Home | Main Index | Thread Index | Old Index