mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix build with clang11
Notified by: pkg-fallout
This commit is contained in:
parent
83e0ccc36f
commit
3275604de8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546913
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= socat
|
||||
PORTVERSION= 1.7.3.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
|
||||
LOCAL/ehaupt
|
||||
|
11
net/socat/files/patch-filan.c
Normal file
11
net/socat/files/patch-filan.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- filan.c.orig 2020-01-01 13:02:06 UTC
|
||||
+++ filan.c
|
||||
@@ -30,7 +30,7 @@ static int filan_streams_analyze(int fd, FILE *outfile
|
||||
|
||||
/* dirty workaround so we dont get an error on AIX when being linked with
|
||||
libwrap */
|
||||
-int allow_severity, deny_severity;
|
||||
+//int allow_severity, deny_severity;
|
||||
|
||||
/* global variables for configuring filan */
|
||||
bool filan_followsymlinks;
|
11
net/socat/files/patch-procan.c
Normal file
11
net/socat/files/patch-procan.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- procan.c.orig 2017-01-06 20:58:40 UTC
|
||||
+++ procan.c
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
/* dirty workaround so we dont get an error on AIX when getting linked with
|
||||
libwrap */
|
||||
-int allow_severity, deny_severity;
|
||||
+//int allow_severity, deny_severity;
|
||||
|
||||
|
||||
int procan(FILE *outfile) {
|
11
net/socat/files/patch-xio-tcpwrap.c
Normal file
11
net/socat/files/patch-xio-tcpwrap.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- xio-tcpwrap.c.orig 2017-01-06 20:58:40 UTC
|
||||
+++ xio-tcpwrap.c
|
||||
@@ -27,7 +27,7 @@ const struct optdesc opt_tcpwrap_hosts_deny_table = {
|
||||
|
||||
/* they are declared only externally with libwrap and would be unresolved
|
||||
without these definitions */
|
||||
-int allow_severity=10, deny_severity=10;
|
||||
+//int allow_severity=10, deny_severity=10;
|
||||
|
||||
/* returns 0 if option was found and could be applied
|
||||
returns 1 if option was not found
|
Loading…
Reference in New Issue
Block a user