Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/x11r7/xapp_sessreg: fix musl build
@ 2016-01-24 13:30 Bernd Kuhls
  2016-01-24 13:30 ` [Buildroot] [PATCH 1/1] package/x11r7/xapp_xload: " Bernd Kuhls
  2016-01-24 13:31 ` [Buildroot] [PATCH 1/1] package/xl2tp: " Bernd Kuhls
  0 siblings, 2 replies; 5+ messages in thread
From: Bernd Kuhls @ 2016-01-24 13:30 UTC (permalink / raw)
  To: buildroot

The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../xapp_sessreg/0002-musl-missing-path-wtmpx.patch   | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/x11r7/xapp_sessreg/0002-musl-missing-path-wtmpx.patch

diff --git a/package/x11r7/xapp_sessreg/0002-musl-missing-path-wtmpx.patch b/package/x11r7/xapp_sessreg/0002-musl-missing-path-wtmpx.patch
new file mode 100644
index 0000000..90e1e8e
--- /dev/null
+++ b/package/x11r7/xapp_sessreg/0002-musl-missing-path-wtmpx.patch
@@ -0,0 +1,19 @@
+Fix musl build
+
+Downloaded from
+https://cgit.gentoo.org/proj/musl.git/tree/x11-apps/sessreg/files/sessreg-1.1.0-missing_path_wtmpx.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -Naur sessreg-1.0.8.orig/sessreg.h sessreg-1.0.8/sessreg.h
+--- sessreg-1.0.8.orig/sessreg.h	2013-02-10 21:43:50.000000000 -0500
++++ sessreg-1.0.8/sessreg.h	2014-06-18 10:02:17.769459663 -0400
+@@ -106,3 +106,8 @@
+ #ifndef UTMPX_FILE
+ # define UTMPX_FILE	_PATH_UTMPX
+ #endif
++
++#ifndef _PATH_WTMPX
++# define _PATH_WTMPX	"/var/log/wtmp"
++#endif
++
-- 
2.7.0.rc3

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

end of thread, other threads:[~2016-01-26 21:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-24 13:30 [Buildroot] [PATCH 1/1] package/x11r7/xapp_sessreg: fix musl build Bernd Kuhls
2016-01-24 13:30 ` [Buildroot] [PATCH 1/1] package/x11r7/xapp_xload: " Bernd Kuhls
2016-01-24 13:31 ` [Buildroot] [PATCH 1/1] package/xl2tp: " Bernd Kuhls
2016-01-26 21:06   ` Thomas Petazzoni
2016-01-26 21:28     ` Bernd Kuhls

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