include $(TOPDIR)/rules.mk
PKG_NAME:=linknx
-PKG_VERSION:=0.0.1.38
-PKG_RELEASE:=3
+PKG_VERSION:=0.0.1.39
+PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-${PKG_VERSION}.tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/linknx/linknx/tar.gz/$(PKG_VERSION)?
-PKG_HASH:=00c53776c2e871295459ede922402d8ad0208367d2364781fdb92ddafad94d3d
+PKG_HASH:=d07199875c6e3f90871308989dd7d4240b67ce971d5908cb39592690341f8d0a
PKG_LICENSE:=GPL-2.0-or-later
+++ /dev/null
---- a/include/eibclient.h
-+++ b/include/eibclient.h
-@@ -27,11 +27,12 @@
- #ifndef EIBCLIENT_H
- #define EIBCLIENT_H
-
--#include "sys/cdefs.h"
- #include "stdint.h"
- #include <pthsem.h>
-
--__BEGIN_DECLS;
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-
- #include "eibloadresult.h"
-
-@@ -705,5 +706,7 @@ BCU_LOAD_RESULT EIB_LoadImage (EIBConnec
- */
- int EIB_LoadImage_async (EIBConnection * con, const uint8_t * image, int len);
-
--__END_DECLS
-+#ifdef __cplusplus
-+}
-+#endif
- #endif
+++ /dev/null
---- a/configure.ac
-+++ b/configure.ac
-@@ -90,8 +90,24 @@ if test x"$enable_smtp" != xno ; then
- )
- fi
-
--AC_MSG_CHECKING(whether to use libesmtp)
-+AC_MSG_CHECKING(whether to use libesmtp >= v1.1.x)
- if test x"$enable_smtp" != xno ; then
-+ PKG_CHECK_MODULES(ESMTP, libesmtp-1.0 >= 1.1.0, [
-+ AC_DEFINE([HAVE_LIBESMTP], [1], [Build with libesmtp email support.])
-+ AC_SUBST(ESMTP_CFLAGS)
-+ AC_SUBST(ESMTP_LIBS)
-+ if test x"`echo $ESMTP_LIBS | grep pthread`" != x ; then
-+ AC_MSG_WARN([libesmtp is compiled with pthread support. This can conflict with pth. If you observe segmentation faults at startup, try to recompile with libesmtp support disabled])
-+ AC_DEFINE([HAVE_LIBESMTP_PTHREAD], [1], [libesmtp is compiled with pthread support.])
-+ fi
-+ found_esmtp=yes
-+ ],[
-+ AC_MSG_RESULT([no])
-+ ])
-+fi
-+if test x"$found_esmtp" = x ; then
-+AC_MSG_CHECKING(whether to use libesmtp v1.0.x)
-+if test x"$enable_smtp" != xno && test x`which libesmtp-config` != x ; then
- ESMTP_CFLAGS="`libesmtp-config --cflags`"
- ESMTP_LIBS="`libesmtp-config --libs`"
- if test x"`libesmtp-config --libs | grep pthread`" != x ; then
-@@ -110,6 +126,7 @@ if test x"$enable_smtp" != xno ; then
- else
- AC_MSG_RESULT([no])
- fi
-+fi
- AM_CONDITIONAL([USE_B64], [test x"$enable_smtp" != xno])
-
-