mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Fix build with libpcap 1.10 and later by renaming local pcap_init function so that it does not conflict with libpcap's pcap_init function. Closes: https://trac.macports.org/ticket/62860 Fix implicit declaration of functions in configure script. Modernize checksums.
12 lines
401 B
Diff
12 lines
401 B
Diff
Fix implicit declaration of function.
|
|
--- configure.orig 2006-03-13 22:59:56.000000000 -0600
|
|
+++ configure 2021-05-11 19:26:18.000000000 -0500
|
|
@@ -3498,6 +3498,7 @@
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include <ctype.h>
|
|
+#include <stdlib.h>
|
|
#if ((' ' & 0x0FF) == 0x020)
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|