From 220a96f9926788ed531717f78e44fdf1e7ab3b34 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:45:29 +0100 Subject: rework architecture / embedded systems concept Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;) --- .../patches/patch-src_starter_interfaces_c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 package/strongswan/patches/patch-src_starter_interfaces_c (limited to 'package/strongswan/patches/patch-src_starter_interfaces_c') diff --git a/package/strongswan/patches/patch-src_starter_interfaces_c b/package/strongswan/patches/patch-src_starter_interfaces_c deleted file mode 100644 index 80d774a2e..000000000 --- a/package/strongswan/patches/patch-src_starter_interfaces_c +++ /dev/null @@ -1,20 +0,0 @@ ---- strongswan-4.4.0.orig/src/starter/interfaces.c 2010-03-15 21:52:51.000000000 +0100 -+++ strongswan-4.4.0/src/starter/interfaces.c 2010-07-14 17:36:33.959074540 +0200 -@@ -56,7 +56,7 @@ get_defaultroute(defaultroute_t *default - ssize_t msglen; - int fd; - -- bzero(&rtu, sizeof(rtu)); -+ memset(&rtu, 0, sizeof(rtu)); - rtu.m.nh.nlmsg_len = NLMSG_LENGTH(sizeof(rtu.m.rt)); - rtu.m.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; - rtu.m.nh.nlmsg_type = RTM_GETROUTE; -@@ -142,7 +142,7 @@ get_defaultroute(defaultroute_t *default - plog("could not open AF_INET socket"); - break; - } -- bzero(&req, sizeof(req)); -+ memset(&req, 0, sizeof(req)); - req.ifr_ifindex = iface_idx; - if (ioctl(fd, SIOCGIFNAME, &req) < 0 || - ioctl(fd, SIOCGIFADDR, &req) < 0) -- cgit v1.2.3