pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/snobol



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 11:16:28 UTC 2026

Modified Files:
        pkgsrc/lang/snobol: Makefile distinfo
        pkgsrc/lang/snobol/patches: patch-configure
Added Files:
        pkgsrc/lang/snobol/patches: patch-lib_snolib_ndbm.c

Log Message:
snobol: fix some configure problems

Fixes build, but still doesn't package on NetBSD-current because a self-test
fails.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/lang/snobol/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/snobol/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/snobol/patches/patch-configure
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/snobol/patches/patch-lib_snolib_ndbm.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/snobol/Makefile
diff -u pkgsrc/lang/snobol/Makefile:1.35 pkgsrc/lang/snobol/Makefile:1.36
--- pkgsrc/lang/snobol/Makefile:1.35    Mon Jan 16 03:46:28 2023
+++ pkgsrc/lang/snobol/Makefile Sun Jan  4 11:16:28 2026
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2023/01/16 03:46:28 dholland Exp $
-#
+# $NetBSD: Makefile,v 1.36 2026/01/04 11:16:28 wiz Exp $
 
 DISTNAME=      snobol4-1.3
 PKGNAME=       snobol-1.3

Index: pkgsrc/lang/snobol/distinfo
diff -u pkgsrc/lang/snobol/distinfo:1.19 pkgsrc/lang/snobol/distinfo:1.20
--- pkgsrc/lang/snobol/distinfo:1.19    Mon Jan 16 03:46:28 2023
+++ pkgsrc/lang/snobol/distinfo Sun Jan  4 11:16:28 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2023/01/16 03:46:28 dholland Exp $
+$NetBSD: distinfo,v 1.20 2026/01/04 11:16:28 wiz Exp $
 
 BLAKE2s (snobol4-1.3bis/snobol4-1.3.tar.gz) = 4165d49fab481c8667037e70c97c9e6008feb80cc9f790fd9c6a4a939a0958dc
 SHA512 (snobol4-1.3bis/snobol4-1.3.tar.gz) = 2ed768434c816dd728f8013b8f713a26b43e21c5fa9dec6e8ad5f178ed9f4fd4154f738d0add58a26f239dcfb33c81440a140f6e1af4729c5f6518eb497e46c2
@@ -8,4 +8,5 @@ SHA512 (snobol4-1.3bis/vanilla.tar.gz) =
 Size (snobol4-1.3bis/vanilla.tar.gz) = 188502 bytes
 SHA1 (patch-aa) = 02b759eb25bd46678d96eb281247ae326822d8f4
 SHA1 (patch-ab) = 7d3b10c2784e2732a3f9226a4263ff3cfe312282
-SHA1 (patch-configure) = 9ec8465e634c9e637345dac3c3612b50098d9e53
+SHA1 (patch-configure) = 5e4c3ee505f41cc17ffc160728b388b7e17e244a
+SHA1 (patch-lib_snolib_ndbm.c) = f241dd9019fad4b5798e8ae275b62738cb5eb297

Index: pkgsrc/lang/snobol/patches/patch-configure
diff -u pkgsrc/lang/snobol/patches/patch-configure:1.1 pkgsrc/lang/snobol/patches/patch-configure:1.2
--- pkgsrc/lang/snobol/patches/patch-configure:1.1      Mon Jan 16 03:46:29 2023
+++ pkgsrc/lang/snobol/patches/patch-configure  Sun Jan  4 11:16:28 2026
@@ -1,11 +1,32 @@
-$NetBSD: patch-configure,v 1.1 2023/01/16 03:46:29 dholland Exp $
+$NetBSD: patch-configure,v 1.2 2026/01/04 11:16:28 wiz Exp $
 
 Don't attempt to use /etc/install. It apparently exists on Solaris
 (even today) and does horrible things.
 
---- configure~ 2010-02-27 21:09:03.000000000 +0000
+--- configure.orig     2010-02-27 21:09:03.000000000 +0000
 +++ configure
-@@ -1632,7 +1632,7 @@ for DIR in /usr/bin /usr/ucb /usr/local/
+@@ -300,7 +300,8 @@ if [ ! "$GCCPATH" ]; then
+     TMP=conf$$
+     # vanilla bsd43 systems can't use <<- AND EOF must be in col 0!
+     cat << EOF > $TMP.c
+-main() {
++#include <stdlib.h>
++int main() {
+ #if defined(__gcc__) || defined(__GNUC__)
+     exit(0);
+ #else
+@@ -700,8 +701,9 @@ echo checking sizes of C types 1>&2
+ TMP=conf$$
+ cat << EOF > $TMP.c
+ #include <stdio.h>
++#include <stdlib.h>
+ 
+-main() {
++int main() {
+     printf("%d %d %d %d\n", sizeof(void *), sizeof(long),
+       sizeof(double), sizeof(int));
+     exit(0);
+@@ -1632,7 +1634,7 @@ for DIR in /usr/bin /usr/ucb /usr/local/
                continue
            fi
            case $IPATH in

Added files:

Index: pkgsrc/lang/snobol/patches/patch-lib_snolib_ndbm.c
diff -u /dev/null pkgsrc/lang/snobol/patches/patch-lib_snolib_ndbm.c:1.1
--- /dev/null   Sun Jan  4 11:16:28 2026
+++ pkgsrc/lang/snobol/patches/patch-lib_snolib_ndbm.c  Sun Jan  4 11:16:28 2026
@@ -0,0 +1,12 @@
+$NetBSD: patch-lib_snolib_ndbm.c,v 1.1 2026/01/04 11:16:28 wiz Exp $
+
+--- lib/snolib/ndbm.c.orig     2026-01-04 11:14:36.323854956 +0000
++++ lib/snolib/ndbm.c
+@@ -44,6 +44,7 @@
+ #endif /* HAVE_CONFIG_H defined */
+ 
+ #include <fcntl.h>
++#include <stdlib.h>
+ 
+ /* only one will be set: */
+ #ifdef HAVE_NDBM_H



Home | Main Index | Thread Index | Old Index