300-fortify-source-compat.patch 616 B

1234567891011121314151617181920212223
  1. --- a/m4/canonicalize.m4
  2. +++ b/m4/canonicalize.m4
  3. @@ -11,8 +11,6 @@ AC_DEFUN([gl_CANONICALIZE],
  4. AC_CHECK_FUNCS(canonicalize_file_name)
  5. if test $ac_cv_func_canonicalize_file_name = no; then
  6. AC_LIBOBJ(canonicalize)
  7. - AC_DEFINE([realpath], [rpl_realpath],
  8. - [Define to a replacement function name for realpath().])
  9. gl_PREREQ_CANONICALIZE
  10. fi
  11. ])
  12. --- a/configure
  13. +++ b/configure
  14. @@ -35532,9 +35532,6 @@ done
  15. if test $ac_cv_func_canonicalize_file_name = no; then
  16. SRCLIBOBJS="$SRCLIBOBJS canonicalize.$ac_objext"
  17. -cat >>confdefs.h <<\_ACEOF
  18. -#define realpath rpl_realpath
  19. -_ACEOF