From 5474c07945c63c8fe06f57b56e11be067811b839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Wed, 19 May 2010 11:51:32 +0200 Subject: orc-native: fix temporary files'path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- recipes/orc/orc.inc | 3 +++ recipes/orc/orc_0.4.3.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/orc/orc.inc b/recipes/orc/orc.inc index b2c227689d..5baeac924f 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 6da5789e5e..62d2752d11 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" -- cgit v1.2.3