View | Details | Raw Unified | Return to bug 248870 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	megaglest
4
PORTNAME=	megaglest
5
PORTVERSION=	3.13.0
5
PORTVERSION=	3.13.0
6
PORTREVISION=	9
6
PORTREVISION=	10
7
CATEGORIES=	games
7
CATEGORIES=	games
8
8
9
MAINTAINER=	monwarez@mailoo.org
9
MAINTAINER=	monwarez@mailoo.org
(-)files/patch-source_shared__lib_include_feathery__ftp_ftpTypes.h (+28 lines)
Line 0 Link Here
1
--- source/shared_lib/include/feathery_ftp/ftpTypes.h.orig	2020-08-25 07:39:46 UTC
2
+++ source/shared_lib/include/feathery_ftp/ftpTypes.h
3
@@ -69,7 +69,7 @@ typedef uint16_t port_t;
4
 extern "C" {
5
 #endif
6
 
7
-int VERBOSE_MODE_ENABLED;
8
+extern int VERBOSE_MODE_ENABLED;
9
 
10
 typedef ip_t (*ftpFindExternalFTPServerIpType)(ip_t clientIp);
11
 typedef void (*ftpAddUPNPPortForwardType)(int internalPort, int externalPort);
12
@@ -77,11 +77,11 @@ typedef void (*ftpRemoveUPNPPortForwardType)(int inter
13
 typedef int (*ftpIsValidClientType)(ip_t clientIp);
14
 typedef int (*ftpIsClientAllowedToGetFileType)(ip_t clientIp, const char *username, const char *filename);
15
 
16
-ftpFindExternalFTPServerIpType	ftpFindExternalFTPServerIp;
17
-ftpAddUPNPPortForwardType		ftpAddUPNPPortForward;
18
-ftpRemoveUPNPPortForwardType	ftpRemoveUPNPPortForward;
19
-ftpIsValidClientType            ftpIsValidClient;
20
-ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile;
21
+extern ftpFindExternalFTPServerIpType	ftpFindExternalFTPServerIp;
22
+extern ftpAddUPNPPortForwardType		ftpAddUPNPPortForward;
23
+extern ftpRemoveUPNPPortForwardType	ftpRemoveUPNPPortForward;
24
+extern ftpIsValidClientType            ftpIsValidClient;
25
+extern ftpIsClientAllowedToGetFileType ftpIsClientAllowedToGetFile;
26
 
27
 #ifdef	__cplusplus
28
 }

Return to bug 248870