diff --git a/net/netatalk3/files/patch-configure b/net/netatalk3/files/patch-configure index 814542715554..65d60417021b 100644 --- a/net/netatalk3/files/patch-configure +++ b/net/netatalk3/files/patch-configure @@ -1,45 +1,11 @@ --- configure.orig 2023-09-11 13:10:58.000000000 -0400 +++ configure 2023-09-13 15:28:59.173250000 -0400 -@@ -18111,8 +18111,15 @@ fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - int allow_severity = 0; int deny_severity = 0; extern char hosts_access(void); -- ,hosts_access(); -+ int -+main (void) -+{ -+hosts_access(); - -+ ; -+ return 0; -+} -+ - _ACEOF - if ac_fn_c_try_link "$LINENO" - then : -@@ -18125,8 +18132,15 @@ else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ - int allow_severity = 0; int deny_severity = 0; extern char hosts_access(void); -- ,hosts_access(); -+ int -+main (void) -+{ -+hosts_access(); - -+ ; -+ return 0; -+} -+ - _ACEOF - if ac_fn_c_try_link "$LINENO" - then : @@ -19064,7 +19078,7 @@ if test "x$bdb_required" = "xyes"; then trybdbdir="" dobdbsearch=yes bdb_search_dirs="/usr/local /usr" - search_subdirs="/ /db6.1 /db6 /db5 /db5.3 /db5.2 /db5.1 /db51 /db5.0 /db50 /db4.8 /db48 /db4.7 /db47 /db4.6 /db46 /db4" + search_subdirs="/%%DB_NAME%% / /db6.1 /db6 /db5 /db5.3 /db5.2 /db5.1 /db51 /db5.0 /db50 /db4.8 /db48 /db4.7 /db47 /db4.6 /db46 /db4" bdbfound=no savedcflags="$CFLAGS"