mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
daemonize: fix build with gcc-15
* fix build with gcc-15.0.1 submitted to upstream: https://github.com/bmc/daemonize/pull/37 following error: ../git/getopt.c: In function 'x_getopt': ../git/getopt.c:51:16: error: too many arguments to function 'write'; expected 0, have 3 51 | (void) write(2, argv[0], (unsigned)strlen(argv[0])); | ^~~~~ ~ ../git/getopt.c:78:17: note: in expansion of macro 'ERR' 78 | ERR(": illegal option -- ", c); | ^~~ ../git/getopt.c:48:20: note: declared here 48 | extern int write(); | ^~~~~ Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -7,7 +7,9 @@ PV = "1.7.8"
|
||||
inherit autotools
|
||||
|
||||
SRCREV = "18869a797dab12bf1c917ba3b4782fef484c407c"
|
||||
SRC_URI = "git://github.com/bmc/daemonize.git;branch=master;protocol=https \
|
||||
SRC_URI = " \
|
||||
git://github.com/bmc/daemonize.git;branch=master;protocol=https \
|
||||
file://0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user