aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/patches/004-allow_mac_change.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-03-15 01:36:53 +0000
committerLuka Perkov <luka@openwrt.org>2013-03-15 01:36:53 +0000
commitc449658f92578e1fb7ab6bdd2e3d2d0950a7000f (patch)
tree396dde7183341f5be87573356b172a781de98b68 /package/boot/uboot-envtools/patches/004-allow_mac_change.patch
parenta831afda2f95ddb71623597531acc37ae7e49adc (diff)
downloadupstream-c449658f92578e1fb7ab6bdd2e3d2d0950a7000f.tar.gz
upstream-c449658f92578e1fb7ab6bdd2e3d2d0950a7000f.tar.bz2
upstream-c449658f92578e1fb7ab6bdd2e3d2d0950a7000f.zip
[package] uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36033 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools/patches/004-allow_mac_change.patch')
-rw-r--r--package/boot/uboot-envtools/patches/004-allow_mac_change.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/boot/uboot-envtools/patches/004-allow_mac_change.patch b/package/boot/uboot-envtools/patches/004-allow_mac_change.patch
deleted file mode 100644
index b7d600b690..0000000000
--- a/package/boot/uboot-envtools/patches/004-allow_mac_change.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/fw_env.c
-+++ b/fw_env.c
-@@ -46,8 +46,6 @@
-
- #include "fw_env.h"
-
--#include <config.h>
--
- #define WHITESPACE(c) ((c == '\t') || (c == ' '))
-
- #define min(x, y) ({ \
-@@ -401,9 +399,7 @@ int fw_env_write(char *name, char *value
- if (
- (strcmp(name, "serial#") == 0) ||
- ((strcmp(name, "ethaddr") == 0)
--#if defined(CONFIG_OVERWRITE_ETHADDR_ONCE) && defined(CONFIG_ETHADDR)
- && (strcmp(oldval, MK_STR(CONFIG_ETHADDR)) != 0)
--#endif /* CONFIG_OVERWRITE_ETHADDR_ONCE && CONFIG_ETHADDR */
- ) ) {
- fprintf (stderr, "Can't overwrite \"%s\"\n", name);
- errno = EROFS;