orc-native: fix temporary files'path
authorEric Bénard <eric@eukrea.com>
Wed, 19 May 2010 09:51:32 +0000 (11:51 +0200)
committerEric Bénard <eric@eukrea.com>
Wed, 19 May 2010 12:05:06 +0000 (14:05 +0200)
* 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@eukrea.com>
recipes/orc/orc.inc
recipes/orc/orc_0.4.3.bb

index b2c2276..5baeac9 100644 (file)
@@ -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
index 6da5789..62d2752 100644 (file)
@@ -1,6 +1,6 @@
 require orc.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[orc.md5sum] = "9b2e7030c8df8a0d371115869fe5685a"
 SRC_URI[orc.sha256sum] = "4c0266d81da67fef0b2abd5e624a9ab0db5de04eb23c3ab24e22f5f9ceeefbfe"