package/duma: fix build with latest glibc
PATCH 1/1 package/duma: fix build with latest glibc
Fixes:
- http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0004-Fix-build-with-latest-glibc.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/duma/0004-Fix-build-with-latest-glibc.patch
package/duma/0004-Fix-build-with-latest-glibc.patch new file +22 -0
@@ -0,0 +1,22 @@ +Fix build with latest glibc + +Fixes: + - http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832 + +Signed-off-by: Fabrice Fontaine <[email protected]> + +diff -durN duma_2_5_15.orig/print.c duma_2_5_15/print.c +--- duma_2_5_15.orig/print.c 2019-10-28 10:21:14.080149620 +0100 ++++ duma_2_5_15/print.c 2019-10-28 10:22:01.256151561 +0100 +@@ -326,9 +326,9 @@ + if(DUMA_OUTPUT_FILE != NULL) + { + #if defined(WIN32) && !defined(__CYGWIN__) +- fd = _open(DUMA_OUTPUT_FILE, _O_APPEND|_O_CREAT|_O_WRONLY); ++ fd = _open(DUMA_OUTPUT_FILE, _O_APPEND|_O_CREAT|_O_WRONLY, 0600); + #else +- fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY); ++ fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY, 0600); + #endif + if ( fd >= 0 ) + {
Signature · 1 line
2.23.0
Arnout Vandecappelle
AppliedPATCH 1/1 package/duma: fix build with latest glibc
Quoted 4 lines · Fabrice Fontaine
Fixes:
- http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Quoted 17 lines
--- .../0004-Fix-build-with-latest-glibc.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/duma/0004-Fix-build-with-latest-glibc.patchpackage/duma/0004-Fix-build-with-latest-glibc.patch new file +6
-0@@ -0,0 +1,22 @@ +Fix build with latest glibc + +Fixes: + - http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832 + +Signed-off-by: Fabrice Fontaine <[email protected]>
package/duma/0004-Fix-build-with-latest-glibc.patch line 16
Quoted 10 lines
package/duma/0004-Fix-build-with-latest-glibc.patch new file +10
-0+ +diff -durN duma_2_5_15.orig/print.c duma_2_5_15/print.c +--- duma_2_5_15.orig/print.c 2019-10-28 10:21:14.080149620 +0100 ++++ duma_2_5_15/print.c 2019-10-28 10:22:01.256151561 +0100 +@@ -326,9 +326,9 @@ + if(DUMA_OUTPUT_FILE != NULL) + { + #if defined(WIN32) && !defined(__CYGWIN__) +- fd = _open(DUMA_OUTPUT_FILE, _O_APPEND|_O_CREAT|_O_WRONLY); ++ fd = _open(DUMA_OUTPUT_FILE, _O_APPEND|_O_CREAT|_O_WRONLY, 0600);
I don't know if it's worth fixing it for Windows too :-)
Regards,
Arnout
Quoted 7 lines
package/duma/0004-Fix-build-with-latest-glibc.patch new file +6
-0+ #else +- fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY); ++ fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY, 0600); + #endif + if ( fd >= 0 ) + {
PATCH 1/1 package/duma: fix build with latest glibc
In reply to Fabrice FontaineQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- http://autobuild.buildroot.net/results/c7de1a1d01edced2098a804ad87dcb67b5dc6832Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x and 2019.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard