Files
macports-ports/sysutils/sudo/files/patch-configure.diff
Marius Schamschula f0f1e59716 sudo: update to 1.9.15
2023-11-06 16:10:20 -06:00

44 lines
945 B
Diff

--- configure.orig 2023-11-04 17:54:22
+++ configure 2023-11-06 16:00:52
@@ -23756,6 +23756,7 @@
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <fnmatch.h>
+#include <stdlib.h>
int main() { return(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
_ACEOF
if ac_fn_c_try_run "$LINENO"
@@ -24753,6 +24754,7 @@
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
int main(void)
@@ -24799,6 +24802,7 @@
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
@@ -25705,6 +25709,7 @@
#error "OpenSSL too old"
#endif
+#include <stdio.h>
int
main (void)
{
@@ -29872,7 +29877,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-
+#include <stdio.h>
int
main (void)
{