diff options
Diffstat (limited to 'package/findutils/patches')
-rw-r--r-- | package/findutils/patches/patch-configure_ac | 11 | ||||
-rw-r--r-- | package/findutils/patches/patch-gnulib_m4_fflush_m4 | 12 |
2 files changed, 16 insertions, 7 deletions
diff --git a/package/findutils/patches/patch-configure_ac b/package/findutils/patches/patch-configure_ac new file mode 100644 index 000000000..34c03d76f --- /dev/null +++ b/package/findutils/patches/patch-configure_ac @@ -0,0 +1,11 @@ +--- findutils-4.4.2.orig/configure.ac 2009-05-16 17:27:39.000000000 +0200 ++++ findutils-4.4.2/configure.ac 2014-03-23 19:39:22.000000000 +0100 +@@ -77,8 +77,6 @@ AC_PROG_CPP + dnl for gnulib + gl_EARLY + +-AM_C_PROTOTYPES +- + AC_PROG_INSTALL + AC_PROG_RANLIB + dnl AC_PROG_LIBTOOL diff --git a/package/findutils/patches/patch-gnulib_m4_fflush_m4 b/package/findutils/patches/patch-gnulib_m4_fflush_m4 index 5cee53cc0..b3dd6a082 100644 --- a/package/findutils/patches/patch-gnulib_m4_fflush_m4 +++ b/package/findutils/patches/patch-gnulib_m4_fflush_m4 @@ -1,6 +1,6 @@ --- findutils-4.4.2.orig/gnulib/m4/fflush.m4 2009-05-10 23:23:57.000000000 +0200 -+++ findutils-4.4.2/gnulib/m4/fflush.m4 2014-03-23 16:40:29.000000000 +0100 -@@ -32,14 +32,20 @@ AC_DEFUN([gl_FUNC_FFLUSH], ++++ findutils-4.4.2/gnulib/m4/fflush.m4 2014-03-23 18:40:09.000000000 +0100 +@@ -32,12 +32,18 @@ AC_DEFUN([gl_FUNC_FFLUSH], return 4; return !(lseek (fd, 0, SEEK_CUR) == 5); ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no], @@ -11,9 +11,6 @@ rm conftest.txt ]) - if test $gl_cv_func_fflush_stdin = no; then -+ if test $gl_cv_func_fflush_stdin != yes; then - gl_REPLACE_FFLUSH - fi + case $gl_cv_func_fflush_stdin in + yes) gl_func_fflush_stdin=1 ;; + no) gl_func_fflush_stdin=0 ;; @@ -22,6 +19,7 @@ + AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin], + [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, + 0 if fflush is known to not work, -1 if unknown.]) ++ if test $gl_cv_func_fflush_stdin != yes; then + gl_REPLACE_FFLUSH + fi ]) - - AC_DEFUN([gl_REPLACE_FFLUSH], |