[oe-commits] Eric Bénard : orc-native: fix temporary files'path

git version control git at git.openembedded.org
Wed May 19 12:09:14 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5474c07945c63c8fe06f57b56e11be067811b839
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5474c07945c63c8fe06f57b56e11be067811b839

Author: Eric Bénard <eric at eukrea.com>
Date:   Wed May 19 11:51:32 2010 +0200

orc-native: fix temporary files'path

* orcc is using /tmp for temporary file which leads to
compilation failure if /tmp is mounted with noexec thus
use the actual directory for temporary files.
* tested with gst-plugins-bad

Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/orc/orc.inc      |    3 +++
 recipes/orc/orc_0.4.3.bb |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/orc/orc.inc b/recipes/orc/orc.inc
index b2c2276..5baeac9 100644
--- a/recipes/orc/orc.inc
+++ b/recipes/orc/orc.inc
@@ -17,3 +17,6 @@ python populate_packages_prepend () {
 	do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
 }
 
+do_compile_prepend_virtclass-native () {
+	sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
+}
\ No newline at end of file
diff --git a/recipes/orc/orc_0.4.3.bb b/recipes/orc/orc_0.4.3.bb
index 6da5789..62d2752 100644
--- a/recipes/orc/orc_0.4.3.bb
+++ b/recipes/orc/orc_0.4.3.bb
@@ -1,6 +1,6 @@
 require orc.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[orc.md5sum] = "9b2e7030c8df8a0d371115869fe5685a"
 SRC_URI[orc.sha256sum] = "4c0266d81da67fef0b2abd5e624a9ab0db5de04eb23c3ab24e22f5f9ceeefbfe"





More information about the Openembedded-commits mailing list