From 9c418e5445a2ba599f53bff62c2b9e67b8db6fef Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Thu, 16 Jul 2015 14:57:38 +0200 Subject: [PATCH] ola: Update to 0.9.7. Signed-off-by: Christian Beier --- net/ola/Makefile | 4 ++-- net/ola/patches/001-include-endian_h.patch | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 net/ola/patches/001-include-endian_h.patch diff --git a/net/ola/Makefile b/net/ola/Makefile index 7b1b7be16..c2284aab1 100644 --- a/net/ola/Makefile +++ b/net/ola/Makefile @@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ola -PKG_VERSION:=0.9.6 +PKG_VERSION:=0.9.7 PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=e9ece0540fb40beb1be33417cb7e0abf45af74e0 +PKG_SOURCE_VERSION:=2a306e4f0221fea9f4833ba04b042e72c6f10cd3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_LICENSE:=LGPL-2.1+ diff --git a/net/ola/patches/001-include-endian_h.patch b/net/ola/patches/001-include-endian_h.patch new file mode 100644 index 000000000..784f10cf4 --- /dev/null +++ b/net/ola/patches/001-include-endian_h.patch @@ -0,0 +1,15 @@ +diff --git a/common/network/NetworkUtils.cpp b/common/network/NetworkUtils.cpp +index 3914818..094a311 100644 +--- a/common/network/NetworkUtils.cpp ++++ b/common/network/NetworkUtils.cpp +@@ -39,6 +39,10 @@ typedef uint32_t in_addr_t; + #include + #endif + ++#ifdef HAVE_ENDIAN_H ++#include ++#endif ++ + #if defined(HAVE_LINUX_NETLINK_H) && defined(HAVE_LINUX_RTNETLINK_H) + #define USE_NETLINK_FOR_DEFAULT_ROUTE 1 + #include