Re: [OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-04-05 Thread Rosen Penev
On Sun, Apr 5, 2020 at 4:48 PM Rosen Penev wrote: > > SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. > > Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. > > Signed-off-by: Rosen Penev Whoops. accidentally sent this. Changed status on patchwork. > ---

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-04-05 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- src/dhcpv6-ia.c | 8 src/odhcpd.c| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dh

Re: [OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-28 Thread Hans Dedecker
Hi, On Fri, Mar 27, 2020 at 12:07 AM Rosen Penev wrote: > > SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. > > Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. > > Signed-off-by: Rosen Penev > --- > src/dhcpv6-ia.c | 8 > src/odhcpd.c| 2

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-26 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- src/dhcpv6-ia.c | 8 src/odhcpd.c| 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dh

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Added a link to librt as that is needed for glibc. Signed-off-by: Rosen Penev --- v2: switched to function CMakeLists.txt | 2 +- src/odhcpd.c | 2 +-

[OpenWrt-Devel] [PATCH] odhcpd: fix compilation with musl 1.2.0

2020-03-24 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0, leaving only the 64-bit variant Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- src/odhcpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/odhcpd.c b/src/odhcpd.c index