openbsd-ports/lang/gforth/patches/patch-comp-i_fs
jasper 3b4f1cb46c import gforth 0.6.2
Gforth is a fast and portable implementation of the ANS Forth language.
It works nicely with the Emacs editor, offers some nice features such as
input completion and history, backtraces, a decompiler and a powerful
locals facility, and it even has a manual. Gforth combines traditional
implementation techniques with newer techniques for portability and
performance performance: its inner innerpreter is direct threaded with
several optimizations, but you can also use a traditional-style indirect
threaded interpreter.

originally based on a port by jack woehr, but completely overhauled since.
2008-10-25 10:40:37 +00:00

17 lines
688 B
Plaintext

$OpenBSD: patch-comp-i_fs,v 1.1.1.1 2008/10/25 10:40:37 jasper Exp $
Fix for a known problem of gForth 0.6.2:
http://www.complang.tuwien.ac.at/forth/gforth/Known-problems.html#exec-shield
--- comp-i.fs.orig Mon Aug 25 08:11:25 2003
+++ comp-i.fs Tue Oct 21 09:20:54 2008
@@ -43,7 +43,7 @@ s" address-unit-bits" environment? drop constant bits/
if
." : images have the same base address; producing only a data-relocatable image" cr
else
- offset abs expected-offset <> abort" images produced by different engines"
+ \ offset abs expected-offset <> abort" images produced by different engines"
." offset=" offset . cr
0 image1 i-field + ! 0 image2 i-field + !
endif