package/rsyslog: fix musl buil
PATCH 1/1 package/rsyslog: fix musl buil
The build error was not yet being found by the autobuilders:
omfile.c: In function ?prepareFile?:
omfile.c:580:3: error: implicit declaration of function ?open? [-Werror=implicit-function-declaration]
fd = open((char*) newFileName, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY|O_CLOEXEC,
^
--- package/rsyslog/rsyslog.hash | 2 ++ package/rsyslog/rsyslog.mk | 2 ++ 2 files changed, 4 insertions(+)
package/rsyslog/rsyslog.hash +2 -0
@@ -1,2 +1,4 @@ # From http://www.rsyslog.com/downloads/download-v8-stable/ sha256 eab00e8e758cd9dd33b3e2cf6af80297d1951dc7db37bd723a6488a35d577adc rsyslog-8.9.0.tar.gz +# Locally computed +sha256 feda2d9ca6c788e375116b6c43b6c4ac5debe83dab0efcfc9a47216c9af36599 musl-fix.patch
package/rsyslog/rsyslog.mk +2 -0
@@ -6,6 +6,8 @@ RSYSLOG_VERSION = 8.9.0 RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog +RSYSLOG_PATCH = \ + http://git.alpinelinux.org/cgit/aports/plain/main/rsyslog/musl-fix.patch RSYSLOG_LICENSE = GPLv3, LGPLv3, Apache-2.0 RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 RSYSLOG_DEPENDENCIES = zlib libestr liblogging json-c host-pkgconf
Signature · 1 line
2.7.0
PATCH 1/1 package/rsyslog: fix musl buil
Quoted 27 lines · Bernd Kuhls
The build error was not yet being found by the autobuilders:
omfile.c: In function ?prepareFile?:
omfile.c:580:3: error: implicit declaration of function ?open? [-Werror=implicit-function-declaration]
fd = open((char*) newFileName, O_WRONLY|O_APPEND|O_CREAT|O_NOCTTY|O_CLOEXEC,
^Signed-off-by Bernd Kuhls <[email protected]>--- package/rsyslog/rsyslog.hash | 2 ++ package/rsyslog/rsyslog.mk | 2 ++ 2 files changed, 4 insertions(+)package/rsyslog/rsyslog.hash +2
-0@@ -1,2 +1,4 @@ # From http://www.rsyslog.com/downloads/download-v8-stable/ sha256 eab00e8e758cd9dd33b3e2cf6af80297d1951dc7db37bd723a6488a35d577adc rsyslog-8.9.0.tar.gz +# Locally computed +sha256 feda2d9ca6c788e375116b6c43b6c4ac5debe83dab0efcfc9a47216c9af36599 musl-fix.patchpackage/rsyslog/rsyslog.mk +0
-0
package/rsyslog/rsyslog.mk line 10
Quoted 5 lines
package/rsyslog/rsyslog.mk +2
-0@@ -6,6 +6,8 @@ RSYSLOG_VERSION = 8.9.0 RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog +RSYSLOG_PATCH = \ + http://git.alpinelinux.org/cgit/aports/plain/main/rsyslog/musl-fix.patch
Patch is not good, the #ifdef OS_SOLARIS should be removed. Like is done in
upstream commit 835571774dc519dd2cff7ab1020cf298cc953a8f. Please use that one instead.
Regards,
Arnout
Quoted 4 lines
package/rsyslog/rsyslog.mk +0
-0RSYSLOG_LICENSE = GPLv3, LGPLv3, Apache-2.0 RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 RSYSLOG_DEPENDENCIES = zlib libestr liblogging json-c host-pkgconf
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF