summaryrefslogtreecommitdiffstats
path: root/package/netkittelnet/netkittelnet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/netkittelnet/netkittelnet.patch')
-rw-r--r--package/netkittelnet/netkittelnet.patch25
1 files changed, 18 insertions, 7 deletions
diff --git a/package/netkittelnet/netkittelnet.patch b/package/netkittelnet/netkittelnet.patch
index 863bbcd91..ee4f37ee4 100644
--- a/package/netkittelnet/netkittelnet.patch
+++ b/package/netkittelnet/netkittelnet.patch
@@ -24,14 +24,25 @@
) >/dev/null 2>&1 || continue;
CXX=$TRY
break;
-@@ -141,7 +138,6 @@
- echo -n 'Checking if C++ compiler works... '
- if (
- $CXX __conftest.cc -o __conftest || exit 1
+@@ -138,18 +135,5 @@
+ fi
+ echo "$CXX"
+-else
+- echo -n 'Checking if C++ compiler works... '
+- if (
+- $CXX __conftest.cc -o __conftest || exit 1
- ./__conftest || exit 1
- ) >/dev/null 2>&1; then
- echo 'yes'
- else
+- ) >/dev/null 2>&1; then
+- echo 'yes'
+- else
+- echo 'no'
+- echo 'Compiler '"$CXX"' does not exist or cannot compile C++; try another.'
+- rm -f __conftest*
+- exit
+- fi
+ fi
+
+ echo -n "Checking if $CXX accepts gcc warnings... "
@@ -278,13 +274,11 @@
EOF
if (