* [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
* [Buildroot] [PATCH 1/1] package/x11r7/xapp_xload: fix musl build
2016-01-24 13:30 [Buildroot] [PATCH 1/1] package/x11r7/xapp_sessreg: fix musl build Bernd Kuhls
@ 2016-01-24 13:30 ` Bernd Kuhls
2016-01-24 13:31 ` [Buildroot] [PATCH 1/1] package/xl2tp: " Bernd Kuhls
1 sibling, 0 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>
---
package/x11r7/xapp_xload/0001-musl.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 package/x11r7/xapp_xload/0001-musl.patch
diff --git a/package/x11r7/xapp_xload/0001-musl.patch b/package/x11r7/xapp_xload/0001-musl.patch
new file mode 100644
index 0000000..de32333
--- /dev/null
+++ b/package/x11r7/xapp_xload/0001-musl.patch
@@ -0,0 +1,19 @@
+Fix musl build
+
+Partly downloaded from
+https://github.com/GregorR/musl-pkgsrc-patches/blob/master/x11-xload.diff
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr xload-1.1.2.org/get_rload.c xload-1.1.2/get_rload.c
+--- xload-1.1.2.org/get_rload.c 2013-08-04 06:43:06.000000000 +0200
++++ xload-1.1.2/get_rload.c 2016-01-24 14:18:58.000000000 +0100
+@@ -9,7 +9,7 @@
+ /* Not all OS supports get_rload
+ steal the STUB idea from get_load
+ */
+-#if defined(QNX4) || defined(__CYGWIN__)
++#if defined(QNX4) || defined(__CYGWIN__) || 1
+ #define RLOADSTUB
+ #endif
+
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/xl2tp: fix musl build
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 ` Bernd Kuhls
2016-01-26 21:06 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2016-01-24 13:31 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/78d/78daf927aa43591401a072230b582591add1204c/
http://autobuild.buildroot.net/results/b7e/b7e42137e2a7379ea8acb76b2d4faece86ab488a/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/xl2tp/0002-musl.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 package/xl2tp/0002-musl.patch
diff --git a/package/xl2tp/0002-musl.patch b/package/xl2tp/0002-musl.patch
new file mode 100644
index 0000000..44238e8
--- /dev/null
+++ b/package/xl2tp/0002-musl.patch
@@ -0,0 +1,19 @@
+Fix musl build
+
+Downloaded from
+http://git.alpinelinux.org/cgit/aports/tree/main/xl2tpd/xl2tpd-compile.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -u --recursive src.orig/xl2tpd-1.3.6/xl2tpd.c src/xl2tpd-1.3.6/xl2tpd.c
+--- xl2tpd-1.3.6.orig/xl2tpd.c 2014-01-15 21:58:37.000000000 -0100
++++ xl2tpd-1.3.6/xl2tpd.c 2014-06-21 07:22:21.195278618 -0200
+@@ -33,8 +33,6 @@
+ #if (__GLIBC__ < 2)
+ # if defined(FREEBSD) || defined(OPENBSD)
+ # include <sys/signal.h>
+-# elif defined(LINUX)
+-# include <bsd/signal.h>
+ # elif defined(SOLARIS)
+ # include <signal.h>
+ # endif
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/xl2tp: fix musl build
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
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-01-26 21:06 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 24 Jan 2016 14:31:00 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/78d/78daf927aa43591401a072230b582591add1204c/
> http://autobuild.buildroot.net/results/b7e/b7e42137e2a7379ea8acb76b2d4faece86ab488a/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/xl2tp/0002-musl.patch | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 package/xl2tp/0002-musl.patch
I've applied, even if I'm not too happy with the patch since it's
probably not an upstream acceptable solution.
Could you submit the patch upstream (they have a github repo, so it's
easy), and see what they say ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/xl2tp: fix musl build
2016-01-26 21:06 ` Thomas Petazzoni
@ 2016-01-26 21:28 ` Bernd Kuhls
0 siblings, 0 replies; 5+ messages in thread
From: Bernd Kuhls @ 2016-01-26 21:28 UTC (permalink / raw)
To: buildroot
Am Tue, 26 Jan 2016 22:06:47 +0100 schrieb Thomas Petazzoni:
> Could you submit the patch upstream (they have a github repo, so it's
> easy), and see what they say ?
Hi Thomas,
I will submit the whole bunch of patches I submitted in the last weeks
when my schedule permits, but this will not happen in the coming weeks,
sorry, but I will not forget it. Currently I am focusing my spare time
for buildroot to fix bugs ;)
Regards, Bernd
^ permalink raw reply [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