瀏覽代碼

Remove now unneeded jshn patch

Matthias Schiffer 10 年之前
父節點
當前提交
2aba5daf8b

+ 0 - 0
patches/openwrt/0009-ar71xx-add-kernel-support-for-the-TL-WDR3500-board.patch → patches/openwrt/0008-ar71xx-add-kernel-support-for-the-TL-WDR3500-board.patch


+ 0 - 40
patches/openwrt/0008-libubox-jshn-increase-int-width-to-64bit.patch

@@ -1,40 +0,0 @@
-From: Matthias Schiffer <mschiffer@universe-factory.net>
-Date: Thu, 13 Feb 2014 19:33:07 +0100
-Subject: libubox: jshn: increase int width to 64bit
-
-diff --git a/package/libubox/patches/001-jshn-increase-int-width-to-64bit.patch b/package/libubox/patches/001-jshn-increase-int-width-to-64bit.patch
-new file mode 100644
-index 0000000..0fc8977
---- /dev/null
-+++ b/package/libubox/patches/001-jshn-increase-int-width-to-64bit.patch
-@@ -0,0 +1,30 @@
-+From e90344324b07aea040d818ec7eadb814570fa691 Mon Sep 17 00:00:00 2001
-+Message-Id: <e90344324b07aea040d818ec7eadb814570fa691.1392316273.git.mschiffer@universe-factory.net>
-+From: Matthias Schiffer <mschiffer@universe-factory.net>
-+Date: Thu, 13 Feb 2014 19:30:06 +0100
-+Subject: [PATCH] jshn: increase int width to 64bit
-+
-+---
-+ jshn.c | 4 ++--
-+ 1 file changed, 2 insertions(+), 2 deletions(-)
-+
-+--- a/jshn.c
-++++ b/jshn.c
-+@@ -142,7 +142,7 @@ static int add_json_element(const char *
-+ 		fprintf(stdout, "' %d;\n", json_object_get_boolean(obj));
-+ 		break;
-+ 	case json_type_int:
-+-		fprintf(stdout, "' %d;\n", json_object_get_int(obj));
-++		fprintf(stdout, "' %lld;\n", (long long)json_object_get_int64(obj));
-+ 		break;
-+ 	case json_type_double:
-+ 		fprintf(stdout, "' %lf;\n", json_object_get_double(obj));
-+@@ -217,7 +217,7 @@ static void jshn_add_object_var(json_obj
-+ 	} else if (!strcmp(type, "string")) {
-+ 		new = json_object_new_string(var);
-+ 	} else if (!strcmp(type, "int")) {
-+-		new = json_object_new_int(atoi(var));
-++		new = json_object_new_int64(atoll(var));
-+ 	} else if (!strcmp(type, "double")) {
-+ 		new = json_object_new_double(strtod(var, NULL));
-+ 	} else if (!strcmp(type, "boolean")) {

+ 0 - 0
patches/openwrt/0010-ar71xx-add-user-space-support-for-TL-WDR3500-board.patch → patches/openwrt/0009-ar71xx-add-user-space-support-for-TL-WDR3500-board.patch


+ 0 - 0
patches/openwrt/0011-ar71xx-build-image-for-the-TL-WDR3500-board.patch → patches/openwrt/0010-ar71xx-build-image-for-the-TL-WDR3500-board.patch


+ 0 - 0
patches/openwrt/0012-ar71xx-add-default-switch-configuration-for-the-TL-WDR3500.patch → patches/openwrt/0011-ar71xx-add-default-switch-configuration-for-the-TL-WDR3500.patch


+ 0 - 0
patches/openwrt/0013-ar71xx-add-diag-support-for-the-TL-WDR3500.patch → patches/openwrt/0012-ar71xx-add-diag-support-for-the-TL-WDR3500.patch


+ 0 - 0
patches/openwrt/0014-ar71xx-remove-numeric-suffix-of-the-TL-WDR3500-USB-LED.patch → patches/openwrt/0013-ar71xx-remove-numeric-suffix-of-the-TL-WDR3500-USB-LED.patch


+ 0 - 0
patches/openwrt/0015-ar71xx-fix-USB-power-GPIO-on-the-TL-WDR3500.patch → patches/openwrt/0014-ar71xx-fix-USB-power-GPIO-on-the-TL-WDR3500.patch


+ 0 - 0
patches/openwrt/0016-ar71xx-add-default-LED-configuration-for-the-WL-WRD3500.patch → patches/openwrt/0015-ar71xx-add-default-LED-configuration-for-the-WL-WRD3500.patch


+ 0 - 0
patches/openwrt/0017-ar71xx-fix-ethernet-LEDs-on-the-TL-WDR3500.patch → patches/openwrt/0016-ar71xx-fix-ethernet-LEDs-on-the-TL-WDR3500.patch


+ 0 - 0
patches/openwrt/0018-ar71xx-add-GPIO-output-select-values-for-AR934x.patch → patches/openwrt/0017-ar71xx-add-GPIO-output-select-values-for-AR934x.patch