From 197cb94c32d8bd8a23c6c79db442581bbe982f65 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 16 Feb 2012 18:08:27 +0000 Subject: [PATCH] miredo: fix a compile error git-svn-id: svn://svn.openwrt.org/openwrt/packages@30598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ipv6/miredo/patches/110-fix_compile_error.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ipv6/miredo/patches/110-fix_compile_error.patch diff --git a/ipv6/miredo/patches/110-fix_compile_error.patch b/ipv6/miredo/patches/110-fix_compile_error.patch new file mode 100644 index 000000000..a49b3f25c --- /dev/null +++ b/ipv6/miredo/patches/110-fix_compile_error.patch @@ -0,0 +1,12 @@ +--- a/src/main.c ++++ b/src/main.c +@@ -300,7 +300,9 @@ + if (val) + { + error_errno ("cap_set_proc"); ++#ifdef MIREDO_DEFAULT_USERNAME + setuid_notice (); ++#endif + return -1; + } + #endif