1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix build with disabled IPv6

Resolved by:	Marco Steinbach
Reported by:	Paul Macdonald
This commit is contained in:
Martin Matuska 2013-03-08 23:00:33 +00:00
parent 6d05bdfddb
commit 51609243f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313680
2 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME?= proftpd
PORTVERSION?= 1.3.4c
PORTREVISION?= 1
CATEGORIES?= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
https://github.com/downloads/proftpd/proftpd.github.com/ \

View File

@ -0,0 +1,12 @@
--- src/netaddr.c.orig 2013-03-08 23:51:40.640634650 +0100
+++ src/netaddr.c 2013-03-08 23:52:10.317608901 +0100
@@ -690,8 +690,8 @@
pr_freeaddrinfo(info);
}
}
-#endif /* PR_USE_IPV6 */
}
+#endif /* PR_USE_IPV6 */
return na;
}