From 58a4d481c82f59d9323a7a795f695926f3479090 Mon Sep 17 00:00:00 2001 From: fhajny Date: Mon, 25 Jun 2012 08:52:17 +0000 Subject: Fix build on GCC 4.7.x. --- chat/spectrum/distinfo | 3 ++- chat/spectrum/patches/patch-src_transport.h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 chat/spectrum/patches/patch-src_transport.h (limited to 'chat/spectrum') diff --git a/chat/spectrum/distinfo b/chat/spectrum/distinfo index de46bfe0dbe..1d3a08bf65f 100644 --- a/chat/spectrum/distinfo +++ b/chat/spectrum/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2011/10/28 17:34:06 schnoebe Exp $ +$NetBSD: distinfo,v 1.4 2012/06/25 08:52:17 fhajny Exp $ SHA1 (spectrum-1.4.8.tar.gz) = 9323f8f89eb1f84e36e1d64845741cbebbf0d249 RMD160 (spectrum-1.4.8.tar.gz) = 859c1d0f6f1c4d535bbada13c1c11f2b4550805a @@ -9,3 +9,4 @@ SHA1 (patch-spectrumctl_spectrum_env.py) = 0c266de23d0af8d317fcd4efdfec64bb85714 SHA1 (patch-spectrumctl_spectrumctl.py) = 56166fa6477a3dba56b30501f2112cd6d21db40f SHA1 (patch-src_geventloop.h) = b28685cb69b9759ea3496e163d48de641a49eccb SHA1 (patch-src_spectrum_util.cpp) = 19201297fe085f093010346c8600399332a60265 +SHA1 (patch-src_transport.h) = 11c7541c8b41556cbaa7a0d99046dd4edc4293e0 diff --git a/chat/spectrum/patches/patch-src_transport.h b/chat/spectrum/patches/patch-src_transport.h new file mode 100644 index 00000000000..2c377c93b5c --- /dev/null +++ b/chat/spectrum/patches/patch-src_transport.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_transport.h,v 1.1 2012/06/25 08:52:18 fhajny Exp $ + +Fix for GCC 4.7. +--- src/transport.h.orig 2011-06-11 13:17:44.000000000 +0000 ++++ src/transport.h +@@ -22,6 +22,7 @@ + #define TRANSPORT_H + #include + #include ++#include "unistd.h" + #include "gloox/tag.h" + #include "gloox/siprofileft.h" + #include "parser.h" -- cgit v1.2.3