summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2009-07-27 19:21:40 +0000
committerRyan Hill <rhill@gentoo.org>2009-07-27 19:21:40 +0000
commitb0c3abe5cf64f8485813bd75cd8e9b548711db29 (patch)
tree861bd8aa81acc38fdc1d9c1ae2ddcd8d9f9e93b7
parentold ebuilds using bindnow-flags (diff)
downloadhistorical-b0c3abe5cf64f8485813bd75cd8e9b548711db29.tar.gz
historical-b0c3abe5cf64f8485813bd75cd8e9b548711db29.tar.bz2
historical-b0c3abe5cf64f8485813bd75cd8e9b548711db29.zip
Fix building with GCC 4.4. (bug #276188 by the diegobot)
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
-rw-r--r--app-text/notecase/ChangeLog8
-rw-r--r--app-text/notecase/Manifest15
-rw-r--r--app-text/notecase/files/notecase-1.9.8-gcc44.patch22
-rw-r--r--app-text/notecase/notecase-1.9.8.ebuild5
4 files changed, 44 insertions, 6 deletions
diff --git a/app-text/notecase/ChangeLog b/app-text/notecase/ChangeLog
index 96bd604041be..6c250589c88f 100644
--- a/app-text/notecase/ChangeLog
+++ b/app-text/notecase/ChangeLog
@@ -1,6 +1,10 @@
# 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.23 2008/12/12 12:12:18 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/ChangeLog,v 1.24 2009/07/27 19:21:40 dirtyepic Exp $
+
+ 27 Jul 2009; Ryan Hill <dirtyepic@gentoo.org> notecase-1.9.8.ebuild,
+ +files/notecase-1.9.8-gcc44.patch:
+ Fix building with GCC 4.4. (bug #276188 by the diegobot)
*notecase-1.9.8 (12 Dec 2008)
diff --git a/app-text/notecase/Manifest b/app-text/notecase/Manifest
index f539c6f2c28e..3fa057cee1b1 100644
--- a/app-text/notecase/Manifest
+++ b/app-text/notecase/Manifest
@@ -1,6 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 1.9.5-gcc-4.3.patch 342 RMD160 cb15467bc1e808c1645e8504b57d3a5abc3bb4cd SHA1 2d6b7ca7ff524ee3fa67d3c610205214331dff32 SHA256 9945072167230e9a4ed2e3d1faeb6708a14559f2f5f7e5a0ecdcfa160c3b5a65
AUX notecase-1.7.2-CFLAGS.patch 1203 RMD160 a89ccc160e7bee4c98bd92653700fe435d7c0d40 SHA1 b44420aa193f8c5023b7e754bd97010fbbde61af SHA256 53074fbf036c4944760764c6304735a63f5a64bfaa3eb6d4de0ab8b4da6a9890
+AUX notecase-1.9.8-gcc44.patch 866 RMD160 56dc06e95a9aa459655ca25776558c509c6eb0bf SHA1 5e7bd3e9fdf794676f96b2a354082f6e29af185c SHA256 818696b2b78ff78b2f6c6703c0092f1d899190d6d963d2a889f1f305dafe65eb
DIST notecase-1.9.8_src.tar.gz 928579 RMD160 8826e13ee812d78854972025f20567a003b3a6f5 SHA1 1045ad37e6e7a81675908f99b32b3e16765a7618 SHA256 0b7e23ec97efd5cd4ada651ac93273f9e5ed2cfff027abfb4ae130039563b746
-EBUILD notecase-1.9.8.ebuild 1389 RMD160 97d7177323d2d93556a6499ea4e576e66a8badc8 SHA1 561c5fe4e64090c3b39023c02e1d6747524add94 SHA256 3dd343240d1f921c47a9f838b3bc60b2f94c37b60434e50e09d033c2fc73bac3
-MISC ChangeLog 3981 RMD160 1693310c4f6d7c2e798cff4e0d13f58e81424ebf SHA1 94498df65d0a71dacafb6db6cecbd620b937f1c6 SHA256 3ac52054e739ec4201d559f16a43db8de1b80f751a10f2f1735e5cc103615aa7
+EBUILD notecase-1.9.8.ebuild 1430 RMD160 a2fb565d9172ead7f3055926a4ba6050fe6edf22 SHA1 a8e884d9930cc1ef648fa07f27e8b8d289e8f8bc SHA256 437e82ef6130802ceb4260170610c664d4e257f6eb00eaa8a9c705dd940f86c1
+MISC ChangeLog 4151 RMD160 106cb6b21fc15b6f8ffe6fb3218076dc181139eb SHA1 c2b819c45f1c245f0f80daa713d7fc44eaf5daef SHA256 b00858cf9a3a9ad17d1ae649f772ef7e2615b60cb9b676214a1f5c54ccc3d62b
MISC metadata.xml 223 RMD160 f88bcdebf752bcc3933b4159df5d8f9f7d487ca1 SHA1 4a17e70b26b3bba2ec6eddb403ff890bb8bcf13f SHA256 98c023870e5fbbcc4f050a192947b7b6bbd239041c9f921b3fbf64b03523019f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpt/moACgkQiqiDRvmkBmKktgCfaVKWbrI1ff+31rIaY62mvMyP
+fWMAmwdiyxDSjpb2v4vcRcVZoXUssmtX
+=mCw7
+-----END PGP SIGNATURE-----
diff --git a/app-text/notecase/files/notecase-1.9.8-gcc44.patch b/app-text/notecase/files/notecase-1.9.8-gcc44.patch
new file mode 100644
index 000000000000..be34074283f4
--- /dev/null
+++ b/app-text/notecase/files/notecase-1.9.8-gcc44.patch
@@ -0,0 +1,22 @@
+diff -Naurp notecase-1.9.8-orig/src/lib/IniFile.cpp notecase-1.9.8/src/lib/IniFile.cpp
+--- notecase-1.9.8-orig/src/lib/IniFile.cpp 2008-10-24 12:54:50.000000000 -0600
++++ notecase-1.9.8/src/lib/IniFile.cpp 2009-07-27 13:04:34.519339275 -0600
+@@ -9,6 +9,7 @@
+ #include "IniFile.h"
+ #include <algorithm> //find() function
+ #include <string>
++#include <cstdio>
+ #include "File64.h"
+ #include "FilePath.h"
+ #include "debug.h"
+diff -Naurp notecase-1.9.8-orig/src/_unx/ExecuteFile.cpp notecase-1.9.8/src/_unx/ExecuteFile.cpp
+--- notecase-1.9.8-orig/src/_unx/ExecuteFile.cpp 2008-10-24 12:54:50.000000000 -0600
++++ notecase-1.9.8/src/_unx/ExecuteFile.cpp 2009-07-27 13:07:56.101813217 -0600
+@@ -12,6 +12,7 @@
+ #include "../lib/debug.h"
+ #include <string>
+ #include <cstring>
++#include <cstdio>
+ #include <vector>
+ #include <algorithm>
+ #include <string.h>
diff --git a/app-text/notecase/notecase-1.9.8.ebuild b/app-text/notecase/notecase-1.9.8.ebuild
index ba723a6b76bf..edd283b0c2c5 100644
--- a/app-text/notecase/notecase-1.9.8.ebuild
+++ b/app-text/notecase/notecase-1.9.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.9.8.ebuild,v 1.1 2008/12/12 12:12:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/notecase/notecase-1.9.8.ebuild,v 1.2 2009/07/27 19:21:40 dirtyepic Exp $
inherit eutils fdo-mime
@@ -28,6 +28,7 @@ src_unpack() {
# Respect CFLAGS and don't use --as-needed by default
epatch "${FILESDIR}/notecase-1.7.2-CFLAGS.patch"
+ epatch "${FILESDIR}"/${P}-gcc44.patch
if ! use gnome; then
# Comment variable in the Makefile if we don't have gnome