Files
macports-ports/net/trafshow/files/implicit.patch
Ryan Schmidt 1215e17803 trafshow: Fix build; modernize checksums
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.
2021-05-11 19:34:09 -05:00

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))