aboutsummaryrefslogtreecommitdiff
path: root/net/proxy-suite
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-21 10:50:59 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-21 10:50:59 +0000
commit1b9f5688bb025cf552effdd359f109db4ddc634f (patch)
tree8e8af089f96ee58db81041cde0fe93b2ca1e06d1 /net/proxy-suite
parentd954af11156be576adae84acddd3e69cc62d1b4e (diff)
downloadports-1b9f5688bb025cf552effdd359f109db4ddc634f.tar.gz
ports-1b9f5688bb025cf552effdd359f109db4ddc634f.zip
Fix build on 6.x
PR: ports/75320 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=124687
Diffstat (limited to 'net/proxy-suite')
-rw-r--r--net/proxy-suite/Makefile4
-rw-r--r--net/proxy-suite/files/patch-com-socket.c12
-rw-r--r--net/proxy-suite/files/patch-config.h.in12
-rw-r--r--net/proxy-suite/files/patch-configure.in12
4 files changed, 32 insertions, 8 deletions
diff --git a/net/proxy-suite/Makefile b/net/proxy-suite/Makefile
index 7c470b8356c5..1fd47b5f504e 100644
--- a/net/proxy-suite/Makefile
+++ b/net/proxy-suite/Makefile
@@ -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
diff --git a/net/proxy-suite/files/patch-com-socket.c b/net/proxy-suite/files/patch-com-socket.c
new file mode 100644
index 000000000000..89b77ea6ced5
--- /dev/null
+++ b/net/proxy-suite/files/patch-com-socket.c
@@ -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
diff --git a/net/proxy-suite/files/patch-config.h.in b/net/proxy-suite/files/patch-config.h.in
new file mode 100644
index 000000000000..71d1ad2a7616
--- /dev/null
+++ b/net/proxy-suite/files/patch-config.h.in
@@ -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
+
diff --git a/net/proxy-suite/files/patch-configure.in b/net/proxy-suite/files/patch-configure.in
index 5769c369c0db..a3d37137cd5b 100644
--- a/net/proxy-suite/files/patch-configure.in
+++ b/net/proxy-suite/files/patch-configure.in
@@ -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)