Tue Apr 23 16:34:09 2024 UTC (44d)
guile30: Wrap dprintf() in HAVE_DPRINTF.
(jperkin)
diff -r1.4 -r1.5 pkgsrc/lang/guile30/distinfo
diff -r0 -r1.1 pkgsrc/lang/guile30/patches/patch-libguile_posix.c
--- pkgsrc/lang/guile30/distinfo 2023/03/04 09:41:13 1.4
+++ pkgsrc/lang/guile30/distinfo 2024/04/23 16:34:09 1.5
| @@ -1,6 +1,7 @@ | | | @@ -1,6 +1,7 @@ |
1 | $NetBSD: distinfo,v 1.4 2023/03/04 09:41:13 wiz Exp $ | | 1 | $NetBSD: distinfo,v 1.5 2024/04/23 16:34:09 jperkin Exp $ |
2 | | | 2 | |
3 | BLAKE2s (guile-3.0.9.tar.gz) = 0b58897075659445a370db20baab6c90c284bd27f897e269498977fcbf686543 | | 3 | BLAKE2s (guile-3.0.9.tar.gz) = 0b58897075659445a370db20baab6c90c284bd27f897e269498977fcbf686543 |
4 | SHA512 (guile-3.0.9.tar.gz) = 6fd14f0860c7f5b7a9b53c43a60c6a7ca53072684ddc818cd10c720af2c5761ef110b29af466b89ded884fb66d66060894b14e615eaebee8844c397932d05fa2 | | 4 | SHA512 (guile-3.0.9.tar.gz) = 6fd14f0860c7f5b7a9b53c43a60c6a7ca53072684ddc818cd10c720af2c5761ef110b29af466b89ded884fb66d66060894b14e615eaebee8844c397932d05fa2 |
5 | Size (guile-3.0.9.tar.gz) = 9734735 bytes | | 5 | Size (guile-3.0.9.tar.gz) = 9734735 bytes |
6 | SHA1 (patch-libguile_loader.c) = 32b012d095c343995f93d0c8160411c4b0cfbee1 | | 6 | SHA1 (patch-libguile_loader.c) = 32b012d095c343995f93d0c8160411c4b0cfbee1 |
| | | 7 | SHA1 (patch-libguile_posix.c) = 63b4ae471db79f7ee2b7b8b225d59b0bdc2cc28f |
$NetBSD: patch-libguile_posix.c,v 1.1 2024/04/23 16:34:09 jperkin Exp $
Wrap dprintf() in HAVE_DPRINTF.
--- libguile/posix.c.orig 2024-04-23 15:53:58.536124795 +0000
+++ libguile/posix.c
@@ -1573,8 +1573,10 @@ piped_process (pid_t *pid, SCM prog, SCM
default: /* ENOENT, etc. */
/* Report the error on the console (before switching to
'posix_spawn', the child process would do exactly that.) */
+#ifdef HAVE_DPRINTF
dprintf (err, "In execvp of %s: %s\n", exec_file,
strerror (errno_save));
+#endif
}
free (exec_file);