Files
macports-ports/net/ftpmap/files/implicit.patch
Ryan Schmidt 6bf12ada15 ftpmap: Fix implicit declaration of functions
Fix implicit declaration of functions; modernize checksums; and use
archived homepage.
2021-11-24 10:52:51 -06:00

22 lines
686 B
Diff

Fix implicit declaration of functions.
--- configure.orig 2002-06-07 04:54:43.000000000 -0500
+++ configure 2021-11-24 10:47:14.000000000 -0600
@@ -3033,6 +3033,7 @@
#line $LINENO "configure"
#include "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))
--- src/ftpmap.h.orig 2002-06-07 05:20:36.000000000 -0500
+++ src/ftpmap.h 2021-11-24 10:48:26.000000000 -0600
@@ -1,6 +1,7 @@
/* (C)opyleft 2001-2002 by Jedi/Sector One <j@4u.net> */
#include <stdio.h>
+#include <time.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>