pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/discount



Module Name:    pkgsrc
Committed By:   mrg
Date:           Mon Sep 29 20:38:04 UTC 2025

Modified Files:
        pkgsrc/textproc/discount: distinfo
Added Files:
        pkgsrc/textproc/discount/patches: patch-main.c

Log Message:
make function type match function pointer type (add const, char* -> void*).

fixes build with GCC 14.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/discount/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/discount/patches/patch-main.c

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

Modified files:

Index: pkgsrc/textproc/discount/distinfo
diff -u pkgsrc/textproc/discount/distinfo:1.18 pkgsrc/textproc/discount/distinfo:1.19
--- pkgsrc/textproc/discount/distinfo:1.18      Wed May  7 08:31:03 2025
+++ pkgsrc/textproc/discount/distinfo   Mon Sep 29 20:38:04 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.18 2025/05/07 08:31:03 wiz Exp $
+$NetBSD: distinfo,v 1.19 2025/09/29 20:38:04 mrg Exp $
 
 BLAKE2s (discount-2.2.7d.tar.gz) = 57f5465f1b921b1561377c6e4e862ad210f2a100b6527f8909c21f665c434569
 SHA512 (discount-2.2.7d.tar.gz) = d7e652a2687bc31605a9fcb4d95133627778d13e84c0a663ebb848d6b356f4892cc14648540627280590c8d422a9d91b6503bf223be1e7f98c9900d084dfc3b5
 Size (discount-2.2.7d.tar.gz) = 133382 bytes
 SHA1 (patch-Makefile.in) = 7919a26def7f5aceb7fa0570824fd183ac0bb856
 SHA1 (patch-generate.c) = 41a6d7e1dea9c52b24df5853ed0db5b17030b51e
+SHA1 (patch-main.c) = 71e2a3f2c3ccdfbae587d11235d008257e7bfaf5
 SHA1 (patch-markdown.c) = 4bb9971a04c2f7320d62b4c1fb478faac4a5d0c9

Added files:

Index: pkgsrc/textproc/discount/patches/patch-main.c
diff -u /dev/null pkgsrc/textproc/discount/patches/patch-main.c:1.1
--- /dev/null   Mon Sep 29 20:38:04 2025
+++ pkgsrc/textproc/discount/patches/patch-main.c       Mon Sep 29 20:38:04 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-main.c,v 1.1 2025/09/29 20:38:04 mrg Exp $
+
+Make function prototypes match for GCC 14.
+
+--- main.c.orig        2023-08-23 01:09:27.000000000 -0700
++++ main.c     2025-09-25 12:07:41.131761165 -0700
+@@ -100,8 +100,9 @@
+ }
+ 
+ char *
+-external_codefmt(char *src, int len, char *lang)
++external_codefmt(const char *src, const int len, void *arg3)
+ {
++    char *lang = arg3;
+     int extra = 0;
+     int i, x;
+     char *res;



Home | Main Index | Thread Index | Old Index