guile30: compilation fix for previous (posix.c:1573:7: error: label at end of compound statement)diff -r1.5 -r1.6 pkgsrc/lang/guile30/distinfo
(wiz)
@@ -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 | |||
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 | 7 | SHA1 (patch-libguile_posix.c) = 175dd5caf7251043ebc7c44ad2ea4547726e15d4 |
@@ -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 | |||
3 | Wrap dprintf() in HAVE_DPRINTF. | 3 | Wrap 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); |