Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/rsyslog: fix musl buil
@ 2016-01-31 15:28 Bernd Kuhls
  2016-02-02 14:51 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-01-31 15:28 UTC (permalink / raw)
  To: buildroot

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 <bernd.kuhls@t-online.de>
---
 package/rsyslog/rsyslog.hash | 2 ++
 package/rsyslog/rsyslog.mk   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/package/rsyslog/rsyslog.hash b/package/rsyslog/rsyslog.hash
index 5f9e0ed..9d96edf 100644
--- a/package/rsyslog/rsyslog.hash
+++ b/package/rsyslog/rsyslog.hash
@@ -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
diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
index 5dde924..68b75a5 100644
--- a/package/rsyslog/rsyslog.mk
+++ b/package/rsyslog/rsyslog.mk
@@ -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
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-02 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-31 15:28 [Buildroot] [PATCH 1/1] package/rsyslog: fix musl buil Bernd Kuhls
2016-02-02 14:51 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox