diff options
author | delphij <delphij@FreeBSD.org> | 2007-07-03 17:00:18 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-07-03 17:00:18 +0800 |
commit | a5ef992d9ea2a41b4a507ecbbac5fdfe4406ce25 (patch) | |
tree | 9fb4f0f9b71895ee8f60a4778da42de3f0fd02cc /www | |
parent | 51017f1f48755df816e09f1767f298f3f9d83c0a (diff) | |
download | freebsd-ports-gnome-a5ef992d9ea2a41b4a507ecbbac5fdfe4406ce25.tar.gz freebsd-ports-gnome-a5ef992d9ea2a41b4a507ecbbac5fdfe4406ce25.tar.zst freebsd-ports-gnome-a5ef992d9ea2a41b4a507ecbbac5fdfe4406ce25.zip |
Fix build for gcc 4.2.
Diffstat (limited to 'www')
-rw-r--r-- | www/webredirect/Makefile | 4 | ||||
-rw-r--r-- | www/webredirect/files/patch-incu::incu::socket.hh | 12 | ||||
-rw-r--r-- | www/webredirect/files/patch-incu::incu::time.hh | 11 |
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 |