summaryrefslogtreecommitdiff
path: root/editors/hte/files/patch-src::srt_x86.cc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-07 19:11:52 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-07 19:11:52 +0000
commit419b58ecc3f9fbf513bb272702e83b327234c1fc (patch)
tree67e000b75de18b204ed56d20f079eb6b2b2ff9d0 /editors/hte/files/patch-src::srt_x86.cc
parent- Update to 2.0.3. (diff)
Fix build with gcc-3.4.2
PR: ports/70114 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=115566
Diffstat (limited to '')
-rw-r--r--editors/hte/files/patch-src::srt_x86.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/hte/files/patch-src::srt_x86.cc b/editors/hte/files/patch-src::srt_x86.cc
new file mode 100644
index 000000000000..13b69689ab08
--- /dev/null
+++ b/editors/hte/files/patch-src::srt_x86.cc
@@ -0,0 +1,18 @@
+--- srt/srt_x86.cc.orig Mon Sep 2 02:05:13 2002
++++ srt/srt_x86.cc Wed Aug 4 17:53:58 2004
+@@ -60,13 +60,13 @@
+ k = &cpu->flags[(idx-8) % X86_FLAGS];
+ (*k)->done();
+ delete *k;
+- ((Object*)*k) = o;
++ k = (sym_bool **)o;
+ } else {
+ sym_int **k;
+ k = &cpu->regs[idx & 7];
+ (*k)->done();
+ delete *k;
+- ((Object*)*k) = o;
++ k = (sym_int **)o;
+ }
+ }
+