1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build on 6.x

PR:		ports/75320
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-12-21 10:50:59 +00:00
parent d954af1115
commit 1b9f5688bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124687
4 changed files with 32 additions and 8 deletions

View File

@ -59,10 +59,6 @@ MAN5= ftp-proxy.conf.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
BROKEN= "Does not build on FreeBSD >= 6.x"
.endif
pre-install:
@${STRIP_CMD} ${WRKSRC}/ftp-proxy/ftp-proxy

View File

@ -0,0 +1,12 @@
--- common/com-socket.c Tue Mar 30 12:31:32 2004
+++ common/com-socket.c Mon Dec 20 17:33:39 2004
@@ -84,6 +84,9 @@
#if defined(HAVE_STROPTS_H)
# include <stropts.h>
#endif
+#if defined(HAVE_SYS_PARAM_H)
+# include <sys/param.h>
+#endif
#if defined(HAVE_SYS_CONF_H)
# include <sys/conf.h>
#endif

View File

@ -0,0 +1,12 @@
--- config.h.in.dist Mon Dec 20 17:44:59 2004
+++ config.h.in Mon Dec 20 17:44:36 2004
@@ -157,6 +157,9 @@
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
+/* Define to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
+
/* Define to 1 if you have the <sys/conf.h> header file. */
#undef HAVE_SYS_CONF_H

View File

@ -1,7 +1,11 @@
--- configure.in.orig Fri Mar 19 00:41:20 2004
+++ configure.in Fri Mar 19 00:41:36 2004
@@ -204,7 +204,7 @@
AC_CHECK_HEADERS(sys/filio.h sys/conf.h paths.h stropts.h)
--- configure.in Tue Mar 30 12:31:31 2004
+++ configure.in Mon Dec 20 17:35:02 2004
@@ -201,10 +201,10 @@
AC_HEADER_TIME
AC_CHECK_HEADERS(sys/time.h sys/select.h fcntl.h sys/fcntl.h)
-AC_CHECK_HEADERS(sys/filio.h sys/conf.h paths.h stropts.h)
+AC_CHECK_HEADERS(sys/filio.h sys/param.h sys/conf.h paths.h stropts.h)
AC_CHECK_HEADERS(sys/sockio.h)
-AC_CHECK_HEADERS(net/if.h net/pfvar.h netinet/in_systm.h)