summaryrefslogtreecommitdiff
path: root/net/ola
diff options
context:
space:
mode:
authorChristian Beier <cb@shoutrlabs.com>2015-07-16 14:57:38 +0200
committerChristian Beier <cb@shoutrlabs.com>2015-07-16 14:57:38 +0200
commit9c418e5445a2ba599f53bff62c2b9e67b8db6fef (patch)
treef7b32a99105e035e36715205f81ac5340d053d4d /net/ola
parent77c01ad1249c204345db0163759089e274447bc1 (diff)
ola: Update to 0.9.7.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
Diffstat (limited to 'net/ola')
-rw-r--r--net/ola/Makefile4
-rw-r--r--net/ola/patches/001-include-endian_h.patch15
2 files changed, 17 insertions, 2 deletions
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 <resolv.h>
+ #endif
+
++#ifdef HAVE_ENDIAN_H
++#include <endian.h>
++#endif
++
+ #if defined(HAVE_LINUX_NETLINK_H) && defined(HAVE_LINUX_RTNETLINK_H)
+ #define USE_NETLINK_FOR_DEFAULT_ROUTE 1
+ #include <linux/netlink.h>