pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/nucleo x11/nucleo: Fix build on gcc4.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/c229d9f477f4
branches: trunk
changeset: 609747:c229d9f477f4
user: marino <marino%pkgsrc.org@localhost>
date: Tue Oct 09 08:56:13 2012 +0000
description:
x11/nucleo: Fix build on gcc4.7
Include <unistd.h> to fix scope error.
diffstat:
x11/nucleo/distinfo | 3 +-
x11/nucleo/patches/patch-nucleo_image_sink_novImageSink.cxx | 15 +++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 802b42bfb46f -r c229d9f477f4 x11/nucleo/distinfo
--- a/x11/nucleo/distinfo Tue Oct 09 07:48:20 2012 +0000
+++ b/x11/nucleo/distinfo Tue Oct 09 08:56:13 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2012/07/09 19:06:54 joerg Exp $
+$NetBSD: distinfo,v 1.9 2012/10/09 08:56:13 marino Exp $
SHA1 (nucleo-0.7.5.tar.bz2) = 9a32d7dd1c6ad6348efa6bdc691cb46207a148c0
RMD160 (nucleo-0.7.5.tar.bz2) = e997d319a425434b9aa32cc472d33e0d68917f8c
@@ -17,5 +17,6 @@
SHA1 (patch-al) = 6684c1b1a3b85defaed2a7457fe4ef1f7c79c117
SHA1 (patch-am) = 1abd0f40ffe2c9ea42fde983bc784d3a10d1ec02
SHA1 (patch-an) = 775fef088e569f020c3e1d50cf0eb3627de60315
+SHA1 (patch-nucleo_image_sink_novImageSink.cxx) = 25ad778c0e3d4edb826227aebf22b7a4b2881fbd
SHA1 (patch-nucleo_network_xmpp_XmppConnection.H) = e93697fa6dc5ea1ba24142c88d452108cdacb955
SHA1 (patch-nucleo_network_xmpp_XmppConnection.cxx) = 065d5bae6467d29a624b1c4d6950e7dba63b3cc1
diff -r 802b42bfb46f -r c229d9f477f4 x11/nucleo/patches/patch-nucleo_image_sink_novImageSink.cxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/nucleo/patches/patch-nucleo_image_sink_novImageSink.cxx Tue Oct 09 08:56:13 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-nucleo_image_sink_novImageSink.cxx,v 1.1 2012/10/09 08:56:13 marino Exp $
+
+Fix this error on gcc4.7:
+novImageSink.cxx:60:13: error: 'close' was not declared in this scope
+
+--- nucleo/image/sink/novImageSink.cxx.orig 2008-06-05 12:52:33.000000000 +0000
++++ nucleo/image/sink/novImageSink.cxx
+@@ -20,6 +20,7 @@
+ #include <sys/uio.h>
+
+ #include <stdexcept>
++#include <unistd.h>
+
+ namespace nucleo {
+
Home |
Main Index |
Thread Index |
Old Index