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 /app-text/notecase/files
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
Diffstat (limited to 'app-text/notecase/files')
-rw-r--r--app-text/notecase/files/notecase-1.9.8-gcc44.patch22
1 files changed, 22 insertions, 0 deletions
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>