diff --git a/package/stf/uae/gcc4.patch b/package/stf/uae/gcc4.patch new file mode 100644 index 000000000..327127f2d --- /dev/null +++ b/package/stf/uae/gcc4.patch @@ -0,0 +1,85 @@ +diff -dur uae-0.8.25/src/autoconf.c uae-0.8.25-p/src/autoconf.c +--- uae-0.8.25/src/autoconf.c 2004-10-10 17:53:32.000000000 +0200 ++++ uae-0.8.25-p/src/autoconf.c 2006-11-05 04:00:15.000000000 +0100 +@@ -218,7 +218,7 @@ + + /* ROM tag area memory access */ + +-static uae_u8 *rtarea; ++uae_u8 *rtarea; + + static uae_u32 rtarea_lget (uaecptr) REGPARAM; + static uae_u32 rtarea_wget (uaecptr) REGPARAM; +diff -dur uae-0.8.25/src/cia.c uae-0.8.25-p/src/cia.c +--- uae-0.8.25/src/cia.c 2005-07-02 18:24:06.000000000 +0200 ++++ uae-0.8.25-p/src/cia.c 2006-11-05 03:59:42.000000000 +0100 +@@ -46,18 +46,18 @@ + static unsigned int clock_control_e = 0; + static unsigned int clock_control_f = RTC_F_24_12; + +-static unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask; +-static unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb; ++unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask; ++unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb; + + /* Values of the CIA timers. */ +-static unsigned long ciaata, ciaatb, ciabta, ciabtb; ++unsigned long ciaata, ciaatb, ciabta, ciabtb; + /* Computed by compute_passed_time. */ + static unsigned long ciaata_passed, ciaatb_passed, ciabta_passed, ciabtb_passed; + +-static unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm; +-static int ciaatlatch, ciabtlatch; ++unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm; ++int ciaatlatch, ciabtlatch; + +-static unsigned int ciabpra; ++unsigned int ciabpra; + + unsigned int gui_ledstate; + +diff -dur uae-0.8.25/src/custom.c uae-0.8.25-p/src/custom.c +--- uae-0.8.25/src/custom.c 2005-07-02 18:24:06.000000000 +0200 ++++ uae-0.8.25-p/src/custom.c 2006-11-05 03:57:17.000000000 +0100 +@@ -111,7 +111,8 @@ + static uae_u16 sprdata[MAX_SPRITES][4], sprdatb[MAX_SPRITES][4]; + static int sprite_last_drawn_at[MAX_SPRITES]; + static int last_sprite_point, nr_armed; +-static int sprite_width, sprres, sprite_buffer_res; ++int sprite_width; ++static int sprres, sprite_buffer_res; + + static uae_u32 bpl1dat, bpl2dat, bpl3dat, bpl4dat, bpl5dat, bpl6dat, bpl7dat, bpl8dat; + static uae_s16 bpl1mod, bpl2mod; +@@ -234,7 +235,7 @@ + struct draw_info line_drawinfo[2][2 * (MAXVPOS + 1) + 1]; + struct color_entry color_tables[2][(MAXVPOS + 1) * 2]; + +-static int next_sprite_entry = 0; ++int next_sprite_entry = 0; + static int prev_next_sprite_entry; + static int next_sprite_forced = 1; + +diff -dur uae-0.8.25/src/inputdevice.c uae-0.8.25-p/src/inputdevice.c +--- uae-0.8.25/src/inputdevice.c 2005-07-02 18:23:50.000000000 +0200 ++++ uae-0.8.25-p/src/inputdevice.c 2006-11-05 04:01:30.000000000 +0100 +@@ -511,8 +511,8 @@ + + /* Mousehack stuff */ + +-static int ievent_alive = 0; +-static int lastmx, lastmy; ++int ievent_alive = 0; ++int lastmx, lastmy; + + int mousehack_alive (void) + { +@@ -1739,7 +1739,7 @@ + return 0; + } + +-static struct inputdevice_functions idev[3]; ++struct inputdevice_functions idev[3]; + + void inputdevice_init (void) + { diff --git a/package/stf/uae/uae.conf b/package/stf/uae/uae.conf new file mode 100644 index 000000000..cb4a79647 --- /dev/null +++ b/package/stf/uae/uae.conf @@ -0,0 +1,3 @@ +makeinstopt="" + +hook_add postmake 5 "cp -a uae $root/usr/bin/uae" diff --git a/package/stf/uae/uae.desc b/package/stf/uae/uae.desc new file mode 100644 index 000000000..9932585b2 --- /dev/null +++ b/package/stf/uae/uae.desc @@ -0,0 +1,48 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/stf/uae/uae.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] The Ultimate Amiga Emulator + +[T] UAE is a mostly complete software emulation of the hardware of the +[T] Commodore Amiga 500/1000/2000. +[T] A Commodore Amiga, for those who don't know, is a 16/32 bit computer +[T] system based on the Motorola 680x0 CPU and a few specially designed custom +[T] chips that provide very good graphics and sound capabilities. Its first +[T] incarnation, the A1000, appeared in 1985, followed by the highly successful +[T] A500 and A2000 models. + +[U] http://uae.coresystems.de/ + +[A] Bernd Schmidt +[A] and many others { see CREDITS file } +[M] Stefan Fiedler + +[C] extra/emulator + +[L] GPL +[S] Beta +[V] 0.8.25 +[P] X -----5---9 800.000 + +[D] 1380034186 uae-0.8.25.tar.gz ftp://ftp.coresystems.de/pub/uae/sources/develop/ +