From 4cf73979dea390d1d91a409f71af3e42649a203d Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 29 Dec 2007 19:09:36 +0000
Subject: [PATCH] add hacks for compiling ipsec-tools with the new uclibc

SVN-Revision: 10028
---
 package/ipsec-tools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 0f24ae12ee..08c6c92023 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -42,6 +42,8 @@ CONFIGURE_ARGS += \
 	--enable-adminport \
 	--enable-ipv6
 
+TARGET_CFLAGS += -Dbcopy=memmove -Dindex\(s,c\)=strchr\(s,c\)
+
 define Build/Configure
 	(cd $(PKG_BUILD_DIR); touch \
 		configure.ac \
-- 
2.30.2