summaryrefslogtreecommitdiff
path: root/net-libs/opal
diff options
context:
space:
mode:
authorsss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-08 08:12:32 +0000
committersss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-08 08:12:32 +0000
commitff61122725c6d4c2ef059d045b6d74e5c4ff9e65 (patch)
treef367f7464507ea5fbfb699175f4587426daef70c /net-libs/opal
parentdd6aaf55bb2711ee48e02780ef4e93c0535ceea9 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@8 4d9a9b59-111c-4e0b-8f7a-7640551abb98
Diffstat (limited to 'net-libs/opal')
-rw-r--r--net-libs/opal/files/gcc4.4.patch13
-rw-r--r--net-libs/opal/opal-9999.ebuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/net-libs/opal/files/gcc4.4.patch b/net-libs/opal/files/gcc4.4.patch
new file mode 100644
index 0000000..5d809da
--- /dev/null
+++ b/net-libs/opal/files/gcc4.4.patch
@@ -0,0 +1,13 @@
+Index: enc-ctx.cxx
+===================================================================
+--- plugins/video/H.264/gpl/enc-ctx.cxx (revision 22408)
++++ plugins/video/H.264/gpl/enc-ctx.cxx (working copy)
+@@ -27,6 +27,8 @@
+
+ #include <stdlib.h>
+ #include <math.h>
++#include <cstdio>
++
+ #if defined(_WIN32) || defined(_WIN32_WCE)
+ #include <malloc.h>
+ #define STRCMPI _strcmpi
diff --git a/net-libs/opal/opal-9999.ebuild b/net-libs/opal/opal-9999.ebuild
index de32222..de99f61 100644
--- a/net-libs/opal/opal-9999.ebuild
+++ b/net-libs/opal/opal-9999.ebuild
@@ -41,6 +41,7 @@ src_unpack() {
subversion_src_unpack
cd "${S}"
# eautoreconf
+ epatch "${FILESDIR}"/gcc4.4.patch
}
src_compile() {