summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2008-09-17 16:26:17 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2008-09-17 16:26:17 +0000
commit100845e063ce9bf4876352009e5f64bd07438f2c (patch)
tree6b80f0227bcb9859081f2621b76771e488b9421c /x11-misc/bbcd/files
parentstable amd64, bug 236497 (diff)
downloadhistorical-100845e063ce9bf4876352009e5f64bd07438f2c.tar.gz
historical-100845e063ce9bf4876352009e5f64bd07438f2c.tar.bz2
historical-100845e063ce9bf4876352009e5f64bd07438f2c.zip
Add patch for gcc 4.3. Remove old version. Add ~amd64 keyword.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'x11-misc/bbcd/files')
-rw-r--r--x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
new file mode 100644
index 000000000000..90c2d4ab8d8e
--- /dev/null
+++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch
@@ -0,0 +1,11 @@
+Add header to be compatible with gcc-4.3 and glibc-2.8.
+--- bbcd-0.3.1/Image.cc
++++ bbcd-0.3.1/Image.cc
+@@ -29,6 +29,7 @@
+ //# include <stdio.h>
+ //#endif // HAVE_STDIO_H
+ #include <iostream>
++#include <cstring>
+
+ #include <algorithm>
+ using std::max;