PORTNAME= stamp
PORTVERSION= 2.0.8
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
MAINTAINER= fuz@fuz.su
COMMENT= Adds a graphical, configurable timestamp to a grayscale image
BROKEN_FreeBSD_13= ld: error: duplicate symbol: DefaultNetbuf
LICENSE= GPLv2+
BROKEN_FreeBSD_14= ld: error: duplicate symbol: DefaultNetbuf
LICENSE_FILE= ${WRKSRC}/COPYING
USES= jpeg
GNU_CONFIGURE= yes
--- lib/ftplib.c.orig 2021-08-17 12:18:12 UTC
+++ lib/ftplib.c
@@ -77,6 +77,7 @@ static char *version =
"ftplib Release 3 12/xx/97, copyright 1996, 1997 Thomas Pfau";
GLOBALDEF int ftplib_debug = 0;
+netbuf *DefaultNetbuf;
#if defined(__unix__) || defined(VMS)
#define net_read read
-
--- lib/ftplib.h.orig 2021-08-17 12:17:32 UTC
+++ lib/ftplib.h
@@ -55,7 +55,7 @@ extern "C" {
typedef struct NetBuf netbuf;
/* v1 compatibility stuff */
-netbuf *DefaultNetbuf;
+extern netbuf *DefaultNetbuf;
#define ftplib_lastresp FtpLastResponse(DefaultNetbuf)
#define ftpInit FtpInit