aboutsummaryrefslogtreecommitdiffstats
path: root/net/proxy-suite
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-21 18:50:59 +0800
committerkrion <krion@FreeBSD.org>2004-12-21 18:50:59 +0800
commit047a4221db7ad19e4c81bc550fbc73a2398b7cd7 (patch)
tree0de6234056a98beb60f6d808a6391f474ea75f6f /net/proxy-suite
parentc644362aba214cf439378ddc1fbc9b0e888949ac (diff)
downloadfreebsd-ports-gnome-047a4221db7ad19e4c81bc550fbc73a2398b7cd7.tar.gz
freebsd-ports-gnome-047a4221db7ad19e4c81bc550fbc73a2398b7cd7.tar.zst
freebsd-ports-gnome-047a4221db7ad19e4c81bc550fbc73a2398b7cd7.zip
Fix build on 6.x
PR: ports/75320 Submitted by: maintainer
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)