summaryrefslogtreecommitdiff
path: root/chat/spectrum/patches
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-06-25 08:52:17 +0000
committerfhajny <fhajny@pkgsrc.org>2012-06-25 08:52:17 +0000
commit58a4d481c82f59d9323a7a795f695926f3479090 (patch)
treefe52531f1edcda2beb695a6f6035f988f9fdf787 /chat/spectrum/patches
parentc8362d6a8621acf819e2319e107c9fed11fa746e (diff)
downloadpkgsrc-58a4d481c82f59d9323a7a795f695926f3479090.tar.gz
Fix build on GCC 4.7.x.
Diffstat (limited to 'chat/spectrum/patches')
-rw-r--r--chat/spectrum/patches/patch-src_transport.h13
1 files changed, 13 insertions, 0 deletions
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 <iostream>
+ #include <string>
++#include "unistd.h"
+ #include "gloox/tag.h"
+ #include "gloox/siprofileft.h"
+ #include "parser.h"