diff options
Diffstat (limited to 'package/monit/patches/patch-configure')
| -rw-r--r-- | package/monit/patches/patch-configure | 49 | 
1 files changed, 49 insertions, 0 deletions
| diff --git a/package/monit/patches/patch-configure b/package/monit/patches/patch-configure new file mode 100644 index 000000000..5908d3b70 --- /dev/null +++ b/package/monit/patches/patch-configure @@ -0,0 +1,49 @@ +--- monit-5.33.0.orig/configure	2023-02-11 11:29:07.000000000 +0100 ++++ monit-5.33.0/configure	2024-02-13 16:51:40.139483822 +0100 +@@ -5428,46 +5428,6 @@ else $as_nop +   : + fi +  +-if test `uname` != "AIX"; then +-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-all" >&5 +-printf %s "checking whether C compiler accepts -fstack-protector-all... " >&6; } +-if test ${ax_cv_check_cflags___fstack_protector_all+y} +-then : +-  printf %s "(cached) " >&6 +-else $as_nop +- +-  ax_check_save_flags=$CFLAGS +-  CFLAGS="$CFLAGS  -fstack-protector-all" +-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h.  */ +- +-int +-main (void) +-{ +- +-  ; +-  return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO" +-then : +-  ax_cv_check_cflags___fstack_protector_all=yes +-else $as_nop +-  ax_cv_check_cflags___fstack_protector_all=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +-  CFLAGS=$ax_check_save_flags +-fi +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_all" >&5 +-printf "%s\n" "$ax_cv_check_cflags___fstack_protector_all" >&6; } +-if test "x$ax_cv_check_cflags___fstack_protector_all" = xyes +-then : +-  CFLAGS="$CFLAGS -fstack-protector-all" +-else $as_nop +-  : +-fi +- +-fi +  +  + # ------------------------------------------------------------------------ | 
