aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/000-upstream-dnsd.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-06-16 13:24:11 +0000
committerNicolas Thill <nico@openwrt.org>2010-06-16 13:24:11 +0000
commit3dc2c3bb4d4569ab3387934ce55cca9adda42eae (patch)
tree59db0c8fcfba666a8c67537f41ef2ec1a71f378b /package/busybox/patches/000-upstream-dnsd.patch
parent3e52d0529655eacc581dd1fa14553191f0fc9c1e (diff)
downloadupstream-3dc2c3bb4d4569ab3387934ce55cca9adda42eae.tar.gz
upstream-3dc2c3bb4d4569ab3387934ce55cca9adda42eae.tar.bz2
upstream-3dc2c3bb4d4569ab3387934ce55cca9adda42eae.zip
package/busybox: update to 1.16.2 (bug fix release)
SVN-Revision: 21813
Diffstat (limited to 'package/busybox/patches/000-upstream-dnsd.patch')
-rw-r--r--package/busybox/patches/000-upstream-dnsd.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/busybox/patches/000-upstream-dnsd.patch b/package/busybox/patches/000-upstream-dnsd.patch
deleted file mode 100644
index 25458cae68..0000000000
--- a/package/busybox/patches/000-upstream-dnsd.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/include/platform.h
-+++ b/include/platform.h
-@@ -291,10 +291,12 @@ typedef unsigned smalluint;
- #if 1 /* if needed: !defined(arch1) && !defined(arch2) */
- # define ALIGN1 __attribute__((aligned(1)))
- # define ALIGN2 __attribute__((aligned(2)))
-+# define ALIGN4 __attribute__((aligned(4)))
- #else
- /* Arches which MUST have 2 or 4 byte alignment for everything are here */
- # define ALIGN1
- # define ALIGN2
-+# define ALIGN4
- #endif
-
-
---- a/networking/dnsd.c
-+++ b/networking/dnsd.c
-@@ -459,7 +459,8 @@ int dnsd_main(int argc UNUSED_PARAM, cha
- unsigned lsa_size;
- int udps, opts;
- uint16_t port = 53;
-- uint8_t buf[MAX_PACK_LEN + 1];
-+ /* Ensure buf is 32bit aligned (we need 16bit, but 32bit can't hurt) */
-+ uint8_t buf[MAX_PACK_LEN + 1] ALIGN4;
-
- opts = getopt32(argv, "vi:c:t:p:d", &listen_interface, &fileconf, &sttl, &sport);
- //if (opts & 0x1) // -v