diff --git a/net/linknx/Makefile b/net/linknx/Makefile index 06083fc96..3af3842be 100644 --- a/net/linknx/Makefile +++ b/net/linknx/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=linknx PKG_VERSION:=0.0.1.32 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_MD5SUM:=7ecc1208f59bceb05068c752b2250b63 PKG_MAINTAINER:=Othmar Truniger @@ -18,6 +18,7 @@ PKG_LICENSE:=GPL-2.0+ PKG_SOURCE_URL:=@SF/linknx PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_BUILD_DEPENDS:=argp-standalone +PKG_FORTIFY_SOURCE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/net/linknx/patches/010-musl-compat b/net/linknx/patches/010-musl-compat new file mode 100644 index 000000000..15c757ee0 --- /dev/null +++ b/net/linknx/patches/010-musl-compat @@ -0,0 +1,10 @@ +--- a/src/eibclient.c 2007-10-11 01:55:31.000000000 +0200 ++++ b/src/eibclient.c 2015-06-27 22:18:01.433296921 +0200 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include "config.h" + diff --git a/net/linknx/patches/012-fix-linknx.cpp b/net/linknx/patches/012-fix-linknx.cpp new file mode 100644 index 000000000..8394cf12e --- /dev/null +++ b/net/linknx/patches/012-fix-linknx.cpp @@ -0,0 +1,11 @@ +--- a/src/linknx.cpp 2012-06-04 22:12:13.000000000 +0200 ++++ b/src/linknx.cpp 2015-06-27 22:35:23.705721355 +0200 +@@ -136,7 +136,7 @@ + if (errno) + printf (": %s\n", strerror (errno)); + else +- printf ("\n", strerror (errno)); ++ printf ("\n"); + exit (1); + } +