aboutsummaryrefslogtreecommitdiff
path: root/www/webredirect
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-07-03 09:00:18 +0000
committerXin LI <delphij@FreeBSD.org>2007-07-03 09:00:18 +0000
commitcccde43b420828fefc80a0413d4d9abaa15070b9 (patch)
treef3c6772a319a9bdce4f19fb12617394955fdfd28 /www/webredirect
parentefcc47c1e7fc883c51e8046c0503456df8e2c30b (diff)
downloadports-cccde43b420828fefc80a0413d4d9abaa15070b9.tar.gz
ports-cccde43b420828fefc80a0413d4d9abaa15070b9.zip
Notes
Diffstat (limited to 'www/webredirect')
-rw-r--r--www/webredirect/Makefile4
-rw-r--r--www/webredirect/files/patch-incu::incu::socket.hh12
-rw-r--r--www/webredirect/files/patch-incu::incu::time.hh11
3 files changed, 23 insertions, 4 deletions
diff --git a/www/webredirect/Makefile b/www/webredirect/Makefile
index c057e6d27d91..d80a7453f454 100644
--- a/www/webredirect/Makefile
+++ b/www/webredirect/Makefile
@@ -22,10 +22,6 @@ USE_RC_SUBR= webredirect.sh
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
pre-build:
@${TOUCH} ${WRKSRC}/incu/depend.mk
@${TOUCH} ${WRKSRC}/depend.mk
diff --git a/www/webredirect/files/patch-incu::incu::socket.hh b/www/webredirect/files/patch-incu::incu::socket.hh
new file mode 100644
index 000000000000..bf251e7df6dd
--- /dev/null
+++ b/www/webredirect/files/patch-incu::incu::socket.hh
@@ -0,0 +1,12 @@
+--- ./incu/incu/socket.hh.orig 2003-01-16 01:35:07.000000000 +0800
++++ ./incu/incu/socket.hh 2007-07-03 16:55:53.369394880 +0800
+@@ -73,7 +73,8 @@
+ std::streambuf* inbuf;
+ std::streambuf* outbuf;
+ };
+-
++
++ std::ostream& operator << (std::ostream&, const SockaddrIn&);
+ }
+
+ #endif // INCU_SOCKET
diff --git a/www/webredirect/files/patch-incu::incu::time.hh b/www/webredirect/files/patch-incu::incu::time.hh
new file mode 100644
index 000000000000..4245e5e8a91a
--- /dev/null
+++ b/www/webredirect/files/patch-incu::incu::time.hh
@@ -0,0 +1,11 @@
+--- ./incu/incu/time.hh.orig 2001-09-24 22:26:52.000000000 +0800
++++ ./incu/incu/time.hh 2007-07-03 16:56:32.818772107 +0800
+@@ -27,6 +27,8 @@
+
+ friend std::ostream& operator << (std::ostream& out, const Time& t);
+ };
++
++ std::ostream& operator << (std::ostream& out, const Time& t);
+ };
+
+ #endif // INCU_TIME