summaryrefslogtreecommitdiffstats
path: root/package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 13:52:43 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 13:52:43 +0000
commitae5ff6bc509e53f95198e461af40a4c06b743e70 (patch)
tree8ea4db3457da242c6d26695a8ab64f38da681b52 /package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch
parent3c9baee374857de425a0e14f0f13ad27491006be (diff)
downloadbuildroot-novena-ae5ff6bc509e53f95198e461af40a4c06b743e70.tar.gz
buildroot-novena-ae5ff6bc509e53f95198e461af40a4c06b743e70.zip
- bump version and make it work
Diffstat (limited to 'package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch')
-rw-r--r--package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch b/package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch
new file mode 100644
index 000000000..0a0b0a46a
--- /dev/null
+++ b/package/sudo/sudo_1.6.8p12-2-no-cxx-configcheck.patch
@@ -0,0 +1,22 @@
+diff -u sudo-1.6.8p12.orig/configure sudo-1.6.8p12/configure
+--- sudo-1.6.8p12.orig/configure 2006-12-21 12:06:02.000000000 +0100
++++ sudo-1.6.8p12/configure 2006-12-21 12:12:06.000000000 +0100
+@@ -6072,7 +6072,8 @@
+ fi
+
+ done
+-
++if test -n "$CXX"
++then
+ ac_ext=cc
+ ac_cpp='$CXXCPP $CPPFLAGS'
+ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -6654,7 +6655,7 @@
+ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+-
++fi
+ ac_ext=f
+ ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'