Revert "bmx6: fix gcc6&7 warnings, avoid json-c patch"
authorAxel Neumann <neumann@cgws.de>
Mon, 29 Jan 2018 15:54:24 +0000 (16:54 +0100)
committerAxel Neumann <neumann@cgws.de>
Mon, 29 Jan 2018 16:41:09 +0000 (17:41 +0100)
This reverts commit b19d008932820a7da7103d2269cbe52e8d659ec2.

bmx6/Makefile
bmx6/patches/001-json-c.patch [new file with mode: 0644]

index f741a71dd49e53029be68bcc4c91e62ce9840d5f..e8ca9fc2e4744b1705d384839e55daef844e486d 100644 (file)
@@ -31,8 +31,8 @@ PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://github.com/bmx-routing/bmx6.git
 #PKG_SOURCE_URL:=file:///usr/src/bmx-routing/bmx6.git
 
-PKG_REV:=39dd1f2d99ac5a3fa28e92f8173c15039132e181
-PKG_VERSION:=r2018011302
+PKG_REV:=4016a1980d900309771e432d1f7c741d6c48d477
+PKG_VERSION:=r2018012901
 PKG_RELEASE:=5
 PKG_LICENSE:=GPL-2.0
 
diff --git a/bmx6/patches/001-json-c.patch b/bmx6/patches/001-json-c.patch
new file mode 100644 (file)
index 0000000..5d29dae
--- /dev/null
@@ -0,0 +1,13 @@
+Index: bmx6-r2014112401/lib/bmx6_json/json.c
+===================================================================
+--- bmx6-r2014112401.orig/lib/bmx6_json/json.c
++++ bmx6-r2014112401/lib/bmx6_json/json.c
+@@ -27,7 +27,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <stdint.h>
+-#include <json/json.h>
++#include <json-c/json.h>
+ //#include <dirent.h>
+ //#include <sys/inotify.h>