pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/clisp



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Jan  3 03:26:08 UTC 2026

Modified Files:
        pkgsrc/lang/clisp: distinfo
Added Files:
        pkgsrc/lang/clisp/patches: patch-modules-syscalls-calls.c
            patch-src-malloc-gmalloc.c

Log Message:
lang/clisp: fix gcc14 build

Use the right grade of baling wire to match the chewing gum flavor.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/clisp/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/clisp/patches/patch-modules-syscalls-calls.c \
    pkgsrc/lang/clisp/patches/patch-src-malloc-gmalloc.c

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

Modified files:

Index: pkgsrc/lang/clisp/distinfo
diff -u pkgsrc/lang/clisp/distinfo:1.43 pkgsrc/lang/clisp/distinfo:1.44
--- pkgsrc/lang/clisp/distinfo:1.43     Wed May 17 10:33:24 2023
+++ pkgsrc/lang/clisp/distinfo  Sat Jan  3 03:26:07 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.43 2023/05/17 10:33:24 jperkin Exp $
+$NetBSD: distinfo,v 1.44 2026/01/03 03:26:07 dholland Exp $
 
 BLAKE2s (clisp-2.49.tar.gz) = b9f656df562cbe46fc550bb9bd44399efb2c7a87b024b22d07637c4d75c51866
 SHA512 (clisp-2.49.tar.gz) = 7885956b373a4c1d04a0b43c229fe8c8694d89982cadce09da6ef03cb56a5705b92f94b564981075c36bb9773a9f16b0b95fef23e942f6245604aefa6600ef98
@@ -6,7 +6,9 @@ Size (clisp-2.49.tar.gz) = 9823111 bytes
 SHA1 (patch-aa) = e0c2e68da15f2ff11a73d7ee724c99a3999b7728
 SHA1 (patch-ab) = 93aef2c423ce9e5eabebc20cdc144c83845b19cb
 SHA1 (patch-ac) = c31fcd65d7d37aeaf69c0eee9499bff596b6619b
+SHA1 (patch-modules-syscalls-calls.c) = 06ed5d9a0245a2be9acccf6cfcbd76788f832938
 SHA1 (patch-modules_readline_readline.lisp) = 1463cb15f6a21374dffc0e585670ac89bb758ff3
+SHA1 (patch-src-malloc-gmalloc.c) = 1321c6aeca31083282f1b56614df64dd2229b1b0
 SHA1 (patch-src_configure) = 861681456cb768b7f308aa88e77f1cee1edb2090
 SHA1 (patch-src_intparam.c) = f968079252691d06e191cf991bd43eea0a0bc739
 SHA1 (patch-src_lispbibl.d) = 68eeac6def2d22ffb214fd8be3870d5c654f10bc

Added files:

Index: pkgsrc/lang/clisp/patches/patch-modules-syscalls-calls.c
diff -u /dev/null pkgsrc/lang/clisp/patches/patch-modules-syscalls-calls.c:1.1
--- /dev/null   Sat Jan  3 03:26:08 2026
+++ pkgsrc/lang/clisp/patches/patch-modules-syscalls-calls.c    Sat Jan  3 03:26:07 2026
@@ -0,0 +1,26 @@
+$NetBSD: patch-modules-syscalls-calls.c,v 1.1 2026/01/03 03:26:07 dholland Exp $
+
+Hack around some kind of weird configury problem where the autoconf
+muck is apparently setting the macros for strverscmp one way but
+substituting something else into the replacement <string.h> so it
+disappears.
+
+Fixes build with gcc14.
+
+--- modules/syscalls/calls.c~  2010-06-18 20:05:54.000000000 +0000
++++ modules/syscalls/calls.c
+@@ -89,6 +89,14 @@ DEFINE_GUID(FMTID_UserDefinedProperties,
+ #include <stdlib.h>
+ #include <string.h>             /* for strcpy(), strcat() */
+ 
++/*
++ * This lives in src/gllib/string.h, which is supposed to be hiding
++ * the real string.h, except there's something wrong with the
++ * configury such that it gets disabled there. Since that's now fatal
++ * with gcc14, kludge around the problem.
++ */
++int strverscmp(const char *, const char *);
++
+ /* #define DEBUG */
+ #if defined(DEBUG)
+ extern object nobject_out (FILE* stream, object obj);
Index: pkgsrc/lang/clisp/patches/patch-src-malloc-gmalloc.c
diff -u /dev/null pkgsrc/lang/clisp/patches/patch-src-malloc-gmalloc.c:1.1
--- /dev/null   Sat Jan  3 03:26:08 2026
+++ pkgsrc/lang/clisp/patches/patch-src-malloc-gmalloc.c        Sat Jan  3 03:26:07 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-src-malloc-gmalloc.c,v 1.1 2026/01/03 03:26:07 dholland Exp $
+
+Use the right grade of baling wire to match the chewing gum flavor.
+Fixes the build with gcc14.
+
+--- src/malloc/gmalloc.c~      2008-06-02 13:54:05.000000000 +0000
++++ src/malloc/gmalloc.c
+@@ -5,6 +5,8 @@
+ #define USE_PTHREAD
+ #endif
+ 
++#define HAVE_CONFIG_H
++
+ /* The malloc headers and source files from the C library follow here.  */
+ 
+ /* Declarations for `malloc' and friends.



Home | Main Index | Thread Index | Old Index