From 3226673a48f42fd9f9a66ec1578a6ea887a0ccf6 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 1 May 2019 12:01:03 -0700 Subject: [PATCH] iodine: Fix compilation with uClibc-ng daemon is supported now. Signed-off-by: Rosen Penev --- net/iodine/Makefile | 2 +- net/iodine/patches/100-musl-compatibility.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iodine/Makefile b/net/iodine/Makefile index e6cf46c398..bf4d2f50b7 100644 --- a/net/iodine/Makefile +++ b/net/iodine/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=iodine PKG_VERSION:=0.7.0 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://code.kryo.se/iodine/ diff --git a/net/iodine/patches/100-musl-compatibility.patch b/net/iodine/patches/100-musl-compatibility.patch index 17ddc04836..ef55c3c52c 100644 --- a/net/iodine/patches/100-musl-compatibility.patch +++ b/net/iodine/patches/100-musl-compatibility.patch @@ -20,7 +20,7 @@ index 2715979..5f0e370 100644 /* daemon(3) exists only in 4.4BSD or later, and in GNU libc */ -#if !defined(ANDROID) && !defined(WINDOWS32) && !(defined(BSD) && (BSD >= 199306)) && !defined(__GLIBC__) -+#ifdef __UCLIBC__ ++#ifdef __NO_DAEMON__ static int daemon(int nochdir, int noclose) { int fd, i; -- 2.30.2