diff options
author | 2006-04-20 03:45:38 +0000 | |
---|---|---|
committer | 2006-04-20 03:45:38 +0000 | |
commit | ded60f692cbe955e8c0acb6ef5103747ac1c1d0b (patch) | |
tree | d54b8065a926139b3a9533180b3215b22566effa /games-emulation/generator/files | |
parent | Stable on SPARC. (diff) | |
download | gentoo-2-ded60f692cbe955e8c0acb6ef5103747ac1c1d0b.tar.gz gentoo-2-ded60f692cbe955e8c0acb6ef5103747ac1c1d0b.tar.bz2 gentoo-2-ded60f692cbe955e8c0acb6ef5103747ac1c1d0b.zip |
Cleanup ebuild and fix exec stacks #130539.
(Portage version: 2.1_pre9)
Diffstat (limited to 'games-emulation/generator/files')
-rw-r--r-- | games-emulation/generator/files/generator-0.35-gcc.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games-emulation/generator/files/generator-0.35-gcc.patch b/games-emulation/generator/files/generator-0.35-gcc.patch new file mode 100644 index 000000000000..2ff8d5b8eaf8 --- /dev/null +++ b/games-emulation/generator/files/generator-0.35-gcc.patch @@ -0,0 +1,32 @@ +--- cmz80/z80stb.h ++++ cmz80/z80stb.h +@@ -128,8 +128,6 @@ + /* inline */ BYTE Srl(BYTE b); + /* inline */ BYTE Sla(BYTE b); + /* inline */ BYTE Sra(BYTE b); +-/* inline */ BYTE Inc(BYTE b); +-/* inline */ BYTE Dec(BYTE b); + + /* inline */ WORD Add_2(WORD wArg1, WORD wArg2); + /* inline */ WORD Adc_2(WORD wArg1, WORD wArg2); +--- cpu68k/def68k.c ++++ cpu68k/def68k.c +@@ -1318,7 +1318,7 @@ + } /* block */ + } + +-int clocks_movetable[] = { ++static int clocks_movetable[] = { + 4, 4, 8, 8, 8, 12, 14, 12, 16, + 4, 4, 8, 8, 8, 12, 14, 12, 16, + 8, 8, 12, 12, 12, 16, 18, 16, 20, +--- raze/raze.asm.in ++++ raze/raze.asm.in +@@ -4372,3 +4372,7 @@ + DB 6,19,5,19,4,19,3,19,2,19,1,19
+
+ ;- the end ------ (blimey) --------------------------------------------------;
++ ++%ifidn ___OUTPUT_FORMAT__,elf ++section .note.GNU-stack noalloc noexec nowrite progbits ++%endif |