diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /nano/nano-1.3.0/configure.patch | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'nano/nano-1.3.0/configure.patch')
-rw-r--r-- | nano/nano-1.3.0/configure.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nano/nano-1.3.0/configure.patch b/nano/nano-1.3.0/configure.patch index e69de29bb2..62d33639c5 100644 --- a/nano/nano-1.3.0/configure.patch +++ b/nano/nano-1.3.0/configure.patch @@ -0,0 +1,34 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- nano-1.3.0/configure.ac~configure ++++ nano-1.3.0/configure.ac +@@ -39,16 +39,22 @@ + AC_HEADER_STDC + AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termio.h termios.h unistd.h) + AC_CHECK_HEADER(regex.h, +- AC_MSG_CHECKING([for broken regexec]) +- AC_TRY_RUN([ ++AC_CACHE_CHECK([for broken regexec], ++ [nano_cv_func_regexec_segfault_emptystr], ++ AC_TRY_RUN([ + #include <sys/types.h> + #include <regex.h> + int main () { regex_t reg; size_t n = 1; regmatch_t r; regcomp(®, "\\<", 0); regexec(®, "", n, &r, 0); regfree(®); return 0; }], +- AC_MSG_RESULT(no), +- AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.]) ++ nano_cv_func_regexec_segv_emptystr=no, ++ nano_cv_func_regexec_segv_emptystr=yes, ++ nano_cv_func_regexec_segv_emptystr=no) + ) + ) + ++if test x$ac_cv_func_regexec_segv_emptystr = xyes; then ++ AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.]) ++fi ++ + dnl options + AC_ARG_ENABLE(debug, + [ --enable-debug Enable debugging (disabled by default)], |