summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-28 14:42:31 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-28 14:42:31 +0000
commitdc7c28aaf882ad199cfabf84e3fd5efc32e8938d (patch)
tree5faca7fc0b78710936a2f8f1311f7003f80044c0 /app-text/notecase
parentVersion bump (diff)
downloadgentoo-2-dc7c28aaf882ad199cfabf84e3fd5efc32e8938d.tar.gz
gentoo-2-dc7c28aaf882ad199cfabf84e3fd5efc32e8938d.tar.bz2
gentoo-2-dc7c28aaf882ad199cfabf84e3fd5efc32e8938d.zip
Add gcc-4.3 patch, thanks to Nikolay Orlyuk <virkony at gmail dot com>, bug #229865
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686)
Diffstat (limited to 'app-text/notecase')
-rw-r--r--app-text/notecase/ChangeLog7
-rw-r--r--app-text/notecase/files/1.9.3-gcc-4.3.patch12
-rw-r--r--app-text/notecase/notecase-1.9.3.ebuild4
3 files changed, 21 insertions, 2 deletions
diff --git a/app-text/notecase/ChangeLog b/app-text/notecase/ChangeLog
index ea568a12d941..417c2b740b2f 100644
--- a/app-text/notecase/ChangeLog
+++ b/app-text/notecase/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/notecase
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.19 2008/06/23 17:45:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.20 2008/06/28 14:42:30 armin76 Exp $
+
+ 28 Jun 2008; Raúl Porcel <armin76@gentoo.org> +files/1.9.3-gcc-4.3.patch,
+ notecase-1.9.3.ebuild:
+ Add gcc-4.3 patch, thanks to Nikolay Orlyuk <virkony at gmail dot com>, bug
+ #229865
*notecase-1.9.3 (23 Jun 2008)
diff --git a/app-text/notecase/files/1.9.3-gcc-4.3.patch b/app-text/notecase/files/1.9.3-gcc-4.3.patch
new file mode 100644
index 000000000000..21b122ed05e4
--- /dev/null
+++ b/app-text/notecase/files/1.9.3-gcc-4.3.patch
@@ -0,0 +1,12 @@
+--- notecase-1.9.3/src/_unx/ExecuteFile.cpp.orig 2008-03-27
+14:39:14.000000000 +0200
++++ notecase-1.9.3/src/_unx/ExecuteFile.cpp 2008-06-28 08:59:19.000000000
++0300
+@@ -11,6 +11,7 @@
+ #include "../config.h"
+ #include "../lib/debug.h"
+ #include <string>
++#include <cstring>
+ #include <vector>
+ #include <algorithm>
+
diff --git a/app-text/notecase/notecase-1.9.3.ebuild b/app-text/notecase/notecase-1.9.3.ebuild
index 0a235219e1f2..b90d10cbe9c2 100644
--- a/app-text/notecase/notecase-1.9.3.ebuild
+++ b/app-text/notecase/notecase-1.9.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.9.3.ebuild,v 1.1 2008/06/23 17:45:14 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.9.3.ebuild,v 1.2 2008/06/28 14:42:30 armin76 Exp $
inherit eutils fdo-mime
@@ -28,6 +28,8 @@ src_unpack() {
# Respect CFLAGS and don't use --as-needed by default
epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
+ # Fix for gcc-4.3, bug #229865
+ epatch "${FILESDIR}"/${PV}-gcc-4.3.patch
if ! use gnome; then
# Comment variable in the Makefile if we don't have gnome