summaryrefslogtreecommitdiffstats
path: root/package/uboot-envtools/patches/004-allow_mac_change.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-16 13:44:25 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-16 13:44:25 +0000
commita3a71d430b762ca48c6030c92d268a86b9f9137d (patch)
tree5937de88cb9dca7bfebc4dc3dce3cf904bf65357 /package/uboot-envtools/patches/004-allow_mac_change.patch
parent05a3ece84affbb56ac43d1bf67b15d06bb354ca0 (diff)
[boot] move boot related packages to their own folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33781 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-envtools/patches/004-allow_mac_change.patch')
-rw-r--r--package/uboot-envtools/patches/004-allow_mac_change.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/uboot-envtools/patches/004-allow_mac_change.patch b/package/uboot-envtools/patches/004-allow_mac_change.patch
deleted file mode 100644
index b7d600b69..000000000
--- a/package/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;