chicken, chicken-cross: added translator-cross.patch for chicken 4.2.0
authorMario Domenech Goulart <mario@ossystems.com.br>
Fri, 27 Nov 2009 16:43:02 +0000 (14:43 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 27 Nov 2009 23:47:26 +0000 (21:47 -0200)
Fixes path to the translator (chicken) in the compiler driver (csc)
when cross compiling.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
recipes/chicken/chicken-4.2.0/translator-cross.patch [new file with mode: 0644]

diff --git a/recipes/chicken/chicken-4.2.0/translator-cross.patch b/recipes/chicken/chicken-4.2.0/translator-cross.patch
new file mode 100644 (file)
index 0000000..ac0dde9
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/csc.scm.orig     2009-11-26 17:16:57.000000000 -0200
++++ b/csc.scm  2009-11-26 17:17:09.000000000 -0200
+@@ -89,7 +89,7 @@
+   (quotewrap 
+    (prefix "chicken" "bin"
+          (make-pathname
+-          (if host-mode INSTALL_BIN_HOME TARGET_BIN_HOME)
++          INSTALL_BIN_HOME
+           CHICKEN_PROGRAM))))
+ (define compiler (quotewrap (if host-mode INSTALL_CC TARGET_CC)))