aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2010-12-23 01:17:23 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2010-12-23 01:20:09 +0000
commitb5b19906128231334ef72f29691cf2cbb1a503d2 (patch)
tree92df05dd1c079d5590d3f13e3bec449828bb664f
parente2f8a0db6b52fc77a3377675899194b4684d454e (diff)
downloadopenembedded-b5b19906128231334ef72f29691cf2cbb1a503d2.tar.gz
openembedded-b5b19906128231334ef72f29691cf2cbb1a503d2.tar.bz2
openembedded-b5b19906128231334ef72f29691cf2cbb1a503d2.zip
libopie2: fix compilation of 1.2.5 version with gcc 4.5
Adds some missing includes in owavrecorder.cpp. Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
-rw-r--r--recipes/libopie/libopie2/gcc45_opiemm_include.patch14
-rw-r--r--recipes/libopie/libopie2_1.2.5.bb3
2 files changed, 16 insertions, 1 deletions
diff --git a/recipes/libopie/libopie2/gcc45_opiemm_include.patch b/recipes/libopie/libopie2/gcc45_opiemm_include.patch
new file mode 100644
index 0000000000..ca07344d37
--- /dev/null
+++ b/recipes/libopie/libopie2/gcc45_opiemm_include.patch
@@ -0,0 +1,14 @@
+Index: libopie2/opiemm/owavrecorder.cpp
+===================================================================
+--- libopie2.orig/opiemm/owavrecorder.cpp 2010-12-22 23:55:07.000000000 +0000
++++ libopie2/opiemm/owavrecorder.cpp 2010-12-22 23:55:39.000000000 +0000
+@@ -28,6 +28,9 @@
+
+ #include "owavrecorder.h"
+
++#include <sys/types.h>
++#include <sys/stat.h>
++
+ extern "C" {
+ #include "ima_rw.h"
+ }
diff --git a/recipes/libopie/libopie2_1.2.5.bb b/recipes/libopie/libopie2_1.2.5.bb
index d43b449c62..4525ad741e 100644
--- a/recipes/libopie/libopie2_1.2.5.bb
+++ b/recipes/libopie/libopie2_1.2.5.bb
@@ -1,10 +1,11 @@
require ${PN}.inc
-PR = "r0"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"
SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_libopie2.tar.bz2;name=split_libopie2 \
+ file://gcc45_opiemm_include.patch \
file://include.pro"
SRC_URI[split_libopie2.md5sum] = "7258c4154c91b28a24030e029782da6f"
SRC_URI[split_libopie2.sha256sum] = "5e1d831c9e5acbba15a3ec78aba5eff5f5dbf5e27cf469f6de693176fc7cd621"