]> git.pld-linux.org Git - packages/e3.git/commitdiff
- compilation fixes
authorwitekfl <witekfl@pld-linux.org>
Mon, 15 Oct 2007 17:50:50 +0000 (17:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e3-gcc421.patch -> 1.1

e3-gcc421.patch [new file with mode: 0644]

diff --git a/e3-gcc421.patch b/e3-gcc421.patch
new file mode 100644 (file)
index 0000000..c00f02a
--- /dev/null
@@ -0,0 +1,20 @@
+--- e3-2.43/e3c/e3.c.old       2007-10-15 19:00:14.000000000 +0200
++++ e3-2.43/e3c/e3.c   2007-10-15 19:04:15.000000000 +0200
+@@ -224,7 +224,7 @@ long stack[100];
+ #define RETURN        goto *(*esp--)
+ #define CALL(calladr,retadr) *++esp=(long)&&_loc##retadr; goto calladr; _loc##retadr:
+ #define PUSH(arg) *++esp=arg
+-#define POP(arg) (long*)arg=*esp--
++#define POP(arg) arg=*esp--
+ int main(int argc,char**argv,char **envp)
+ {
+@@ -1296,7 +1296,7 @@ SpaceAva:PUSH(edi);
+ Ins0: POP(edi);                       // here is the jmp destination from DeleteByte
+ //------
+       changed = CHANGED;
+-      (long)ebp+=eax;
++      ebp+=eax;
+       if ((unsigned long)edi>=(unsigned long)blockende) goto Ins1;
+       blockende+=eax;
+ Ins1: if ((unsigned long)edi>=(unsigned long)blockbegin) goto Ins2;
This page took 0.10186 seconds and 4 git commands to generate.