Wed Apr 24 06:47:56 2024 UTC (33d)
guile30: compilation fix for previous

(posix.c:1573:7: error: label at end of compound statement)


(wiz)
diff -r1.5 -r1.6 pkgsrc/lang/guile30/distinfo
diff -r1.1 -r1.2 pkgsrc/lang/guile30/patches/patch-libguile_posix.c

cvs diff -r1.5 -r1.6 pkgsrc/lang/guile30/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/guile30/distinfo 2024/04/23 16:34:09 1.5
+++ pkgsrc/lang/guile30/distinfo 2024/04/24 06:47:55 1.6
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.5 2024/04/23 16:34:09 jperkin Exp $ 1$NetBSD: distinfo,v 1.6 2024/04/24 06:47:55 wiz Exp $
2 2
3BLAKE2s (guile-3.0.9.tar.gz) = 0b58897075659445a370db20baab6c90c284bd27f897e269498977fcbf686543 3BLAKE2s (guile-3.0.9.tar.gz) = 0b58897075659445a370db20baab6c90c284bd27f897e269498977fcbf686543
4SHA512 (guile-3.0.9.tar.gz) = 6fd14f0860c7f5b7a9b53c43a60c6a7ca53072684ddc818cd10c720af2c5761ef110b29af466b89ded884fb66d66060894b14e615eaebee8844c397932d05fa2 4SHA512 (guile-3.0.9.tar.gz) = 6fd14f0860c7f5b7a9b53c43a60c6a7ca53072684ddc818cd10c720af2c5761ef110b29af466b89ded884fb66d66060894b14e615eaebee8844c397932d05fa2
5Size (guile-3.0.9.tar.gz) = 9734735 bytes 5Size (guile-3.0.9.tar.gz) = 9734735 bytes
6SHA1 (patch-libguile_loader.c) = 32b012d095c343995f93d0c8160411c4b0cfbee1 6SHA1 (patch-libguile_loader.c) = 32b012d095c343995f93d0c8160411c4b0cfbee1
7SHA1 (patch-libguile_posix.c) = 63b4ae471db79f7ee2b7b8b225d59b0bdc2cc28f 7SHA1 (patch-libguile_posix.c) = 175dd5caf7251043ebc7c44ad2ea4547726e15d4

cvs diff -r1.1 -r1.2 pkgsrc/lang/guile30/patches/patch-libguile_posix.c (expand / switch to unified diff)

--- pkgsrc/lang/guile30/patches/patch-libguile_posix.c 2024/04/23 16:34:09 1.1
+++ pkgsrc/lang/guile30/patches/patch-libguile_posix.c 2024/04/24 06:47:55 1.2
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1$NetBSD: patch-libguile_posix.c,v 1.1 2024/04/23 16:34:09 jperkin Exp $ 1$NetBSD: patch-libguile_posix.c,v 1.2 2024/04/24 06:47:55 wiz Exp $
2 2
3Wrap dprintf() in HAVE_DPRINTF. 3Wrap dprintf() in HAVE_DPRINTF.
4 4
5--- libguile/posix.c.orig 2024-04-23 15:53:58.536124795 +0000 5--- libguile/posix.c.orig 2023-01-23 10:47:35.000000000 +0000
6+++ libguile/posix.c 6+++ libguile/posix.c
7@@ -1573,8 +1573,10 @@ piped_process (pid_t *pid, SCM prog, SCM 7@@ -1573,8 +1573,11 @@ piped_process (pid_t *pid, SCM prog, SCM
8 default: /* ENOENT, etc. */ 8 default: /* ENOENT, etc. */
9 /* Report the error on the console (before switching to 9 /* Report the error on the console (before switching to
10 'posix_spawn', the child process would do exactly that.) */ 10 'posix_spawn', the child process would do exactly that.) */
11+#ifdef HAVE_DPRINTF 11+#ifdef HAVE_DPRINTF
12 dprintf (err, "In execvp of %s: %s\n", exec_file, 12 dprintf (err, "In execvp of %s: %s\n", exec_file,
13 strerror (errno_save)); 13 strerror (errno_save));
14+#endif 14+#endif
 15+ break;
15 } 16 }
16  17
17 free (exec_file); 18 free (exec_file);