move efl-libs to own directory
[openwrt/svn-archive/archive.git] / Xorg / efl / edje / patches / 001-edje_cc-native.patch
1 diff -ruN edje.orig/src/bin/edje_cc_parse.c edje/src/bin/edje_cc_parse.c
2 --- edje.orig/src/bin/edje_cc_parse.c 2008-10-08 03:40:17.000000000 +0200
3 +++ edje/src/bin/edje_cc_parse.c 2008-10-08 03:41:59.000000000 +0200
4 @@ -667,12 +667,12 @@
5 * Redirecting the output is required for MacOS 10.3, and works fine
6 * on other systems.
7 */
8 - snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s > %s",
9 + snprintf(buf, sizeof(buf), "cat %s | /usr/bin/cpp -I%s %s > %s",
10 file_in, inc, def, tmpn);
11 ret = system(buf);
12 if (ret < 0)
13 {
14 - snprintf(buf, sizeof(buf), "gcc -I%s %s -E -o %s %s",
15 + snprintf(buf, sizeof(buf), "/usr/bin/gcc -I%s %s -E -o %s %s",
16 inc, def, tmpn, file_in);
17 ret = system(buf);
18 }