summaryrefslogtreecommitdiffstats
path: root/package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 19:58:51 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-11 19:58:51 +0000
commitd36b786d91e98545dae070cdbaea79b087d6b3fc (patch)
tree1f1be7b2b8115f90020bbb5dd6f1d5a85e17f181 /package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch
parentde5576b350d664c1df1dd03f6641c64c27515d93 (diff)
downloadbuildroot-novena-d36b786d91e98545dae070cdbaea79b087d6b3fc.tar.gz
buildroot-novena-d36b786d91e98545dae070cdbaea79b087d6b3fc.zip
Move SUDO_SITE to ATMEL_MIRROR, No cross-compiler patches for later versions which does not build without, fix installation
Diffstat (limited to 'package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch')
-rw-r--r--package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch b/package/sudo/sudo-1.6.8p12-002-no-cxx-configcheck.patch
new file mode 100644
index 000000000..0a0b0a46a
--- /dev/null
+++ b/package/sudo/sudo-1.6.8p12-002-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'