net/click: update to click-20101002 git (#8072)
[openwrt/svn-archive/archive.git] / net / click / patches / 100-compile_fix.patch
1 --- a/tools/click-mkmindriver/Makefile.in
2 +++ b/tools/click-mkmindriver/Makefile.in
3 @@ -60,7 +60,7 @@ DEPCFLAGS = @DEPCFLAGS@
4 DEFS = @DEFS@
5 INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
6 -I$(top_srcdir)/tools/lib -I$(srcdir)
7 -LDFLAGS = @LDFLAGS@
8 +LDFLAGS = @LDFLAGS@ -lrt
9 LIBS = @LIBS@ @POSIX_CLOCK_LIBS@ $(DL_LIBS)
10
11 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEPCFLAGS)
12 --- a/configure
13 +++ b/configure
14 @@ -7135,7 +7135,7 @@ fi
15 $as_echo "$ac_cv_va_list_addr" >&6; }
16 if test "x$ac_cv_va_list_addr" = xyes; then
17
18 -$as_echo "#define HAVE_ADDRESSABLE_VA_LIST 1" >>confdefs.h
19 +$as_echo "#define HAVE_ADDRESSABLE_VA_LIST 0" >>confdefs.h
20
21 fi
22