summaryrefslogtreecommitdiff
path: root/fbterm/patches/001-invalid-conservion.patch
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /fbterm/patches/001-invalid-conservion.patch
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'fbterm/patches/001-invalid-conservion.patch')
-rw-r--r--fbterm/patches/001-invalid-conservion.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fbterm/patches/001-invalid-conservion.patch b/fbterm/patches/001-invalid-conservion.patch
new file mode 100644
index 0000000..e906455
--- /dev/null
+++ b/fbterm/patches/001-invalid-conservion.patch
@@ -0,0 +1,12 @@
+--- fbterm-1.6/src/lib/io.cpp_orig 2010-06-19 19:00:18.037920330 +0400
++++ fbterm-1.6/src/lib/io.cpp 2010-06-19 19:01:02.622595041 +0400
+@@ -188,7 +188,8 @@
+ s8 outbuf[outlen];
+
+ size_t nconv, left, total = len;
+- s8 *outptr, *inptr = buf;
++ s8 *outptr = buf;
++ const char *inptr = buf;
+
+ while (total) {
+ outptr = outbuf;