summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-08 00:10:42 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-04-08 00:10:42 +0000
commitec997c3f7b5dd9dbd43ae5813a375e776a677a76 (patch)
treebf01879d71b8be6c18abf374ddb766e8ce501df1 /net-misc/gogoc
parentVersion bump #362453 by Alex Legler. (diff)
downloadgentoo-2-ec997c3f7b5dd9dbd43ae5813a375e776a677a76.tar.gz
gentoo-2-ec997c3f7b5dd9dbd43ae5813a375e776a677a76.tar.bz2
gentoo-2-ec997c3f7b5dd9dbd43ae5813a375e776a677a76.zip
Add patch to fix building with GCC 4.6 (bug #362501).
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/gogoc')
-rw-r--r--net-misc/gogoc/ChangeLog6
-rw-r--r--net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch26
-rw-r--r--net-misc/gogoc/gogoc-1.2-r1.ebuild3
3 files changed, 33 insertions, 2 deletions
diff --git a/net-misc/gogoc/ChangeLog b/net-misc/gogoc/ChangeLog
index 097281bdb327..e0bd18c83b2f 100644
--- a/net-misc/gogoc/ChangeLog
+++ b/net-misc/gogoc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/gogoc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/ChangeLog,v 1.9 2011/01/04 21:28:03 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/ChangeLog,v 1.10 2011/04/08 00:10:41 flameeyes Exp $
+
+ 08 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> gogoc-1.2-r1.ebuild,
+ +files/gogoc-1.2+gcc-4.6.patch:
+ Add patch to fix building with GCC 4.6 (bug #362501).
04 Jan 2011; Michael Weber <xmw@gentoo.org> gogoc-1.2-r1.ebuild:
added ~sparc keyword (bug 340685)
diff --git a/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch b/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch
new file mode 100644
index 000000000000..94582d9dd018
--- /dev/null
+++ b/net-misc/gogoc/files/gogoc-1.2+gcc-4.6.patch
@@ -0,0 +1,26 @@
+Index: gogoc-1_2-RELEASE/gogoc-messaging/src/clientmsgsender.cc
+===================================================================
+--- gogoc-1_2-RELEASE.orig/gogoc-messaging/src/clientmsgsender.cc
++++ gogoc-1_2-RELEASE/gogoc-messaging/src/clientmsgsender.cc
+@@ -15,7 +15,7 @@
+ // **************************************************************************
+ #include <gogocmessaging/clientmsgsender.h>
+ #include <assert.h>
+-
++#include <cstddef>
+
+ namespace gogocmessaging
+ {
+Index: gogoc-1_2-RELEASE/gogoc-messaging/src/servermsgsender.cc
+===================================================================
+--- gogoc-1_2-RELEASE.orig/gogoc-messaging/src/servermsgsender.cc
++++ gogoc-1_2-RELEASE/gogoc-messaging/src/servermsgsender.cc
+@@ -15,7 +15,7 @@
+ // **************************************************************************
+ #include <gogocmessaging/servermsgsender.h>
+ #include <assert.h>
+-
++#include <cstddef>
+
+ namespace gogocmessaging
+ {
diff --git a/net-misc/gogoc/gogoc-1.2-r1.ebuild b/net-misc/gogoc/gogoc-1.2-r1.ebuild
index 100b4a9b5585..15a157ae0b80 100644
--- a/net-misc/gogoc/gogoc-1.2-r1.ebuild
+++ b/net-misc/gogoc/gogoc-1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/gogoc-1.2-r1.ebuild,v 1.6 2011/01/04 21:28:03 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gogoc/gogoc-1.2-r1.ebuild,v 1.7 2011/04/08 00:10:41 flameeyes Exp $
EAPI=2
@@ -30,6 +30,7 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${P}-overflow.patch
+ epatch "${FILESDIR}"/${P}+gcc-4.6.patch
# Make the makefile handle linking correctly
find . -name Makefile -exec sed -i \