mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(gawk): patch legacy strtod declaration to modern prototype in node.c
This commit is contained in:
parent
de8378520a
commit
96765e2121
1 changed files with 15 additions and 0 deletions
15
steps-guix/gawk-4.2.1/patches/fix-strtod-prototype.patch
Normal file
15
steps-guix/gawk-4.2.1/patches/fix-strtod-prototype.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Fix legacy strtod declaration to match modern libc prototype.
|
||||
|
||||
--- gawk-4.2.1/node.c
|
||||
+++ gawk-4.2.1/node.c
|
||||
@@ -62,7 +62,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef __STDC__
|
||||
- extern double strtod();
|
||||
+ extern double strtod(const char *, char **);
|
||||
#endif
|
||||
|
||||
/* r_force_number --- force a value to be numeric */
|
||||
Loading…
Add table
Add a link
Reference in a new issue