From d92e2d01cb8207ea3c388df103b288886a9626c7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 18 Feb 2010 19:06:45 +0100 Subject: Avoid/Fix build on OpenBSD host system --- package/kismet/patches/patch-configure | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'package/kismet/patches/patch-configure') diff --git a/package/kismet/patches/patch-configure b/package/kismet/patches/patch-configure index 054622165..ce10b60f3 100644 --- a/package/kismet/patches/patch-configure +++ b/package/kismet/patches/patch-configure @@ -1,16 +1,18 @@ ---- kismet-2010-01-R1.orig/configure 2010-01-08 00:33:30.000000000 +0100 -+++ kismet-2010-01-R1/configure 2010-02-14 20:32:44.000000000 +0100 -@@ -26,7 +26,8 @@ esac +--- kismet-2010-01-R1.orig/configure Fri Jan 8 00:33:30 2010 ++++ kismet-2010-01-R1/configure Wed Feb 17 21:59:01 2010 +@@ -26,9 +26,10 @@ esac fi -- +oCC="$CC" +CC="$CXX" +- # PATH needs CR -@@ -6836,73 +6837,6 @@ else + # Avoid depending upon Character Ranges. + as_cr_letters='abcdefghijklmnopqrstuvwxyz' +@@ -6836,74 +6837,7 @@ else $as_echo "yes" >&6; } fi @@ -31,7 +33,7 @@ -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -- + - -int -main () @@ -81,9 +83,10 @@ - foundcxxl="uclibc" CXXLIBS="$CXXLIBS -luClibc++" -fi - - +- # Do we use uclibc++? if test "$foundcxxl"x == "x"; then + { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 @@ -7017,7 +6951,7 @@ fi -- cgit v1.2.3