Re: [AD] [PATCH] Solaris Fixes and dev notes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 6/12/05, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> I've commited the attached patch that should incorporate all of teh changes
> you mentioned. Please confirm if it does indeed work.

The proposed changes appear to work, none of the example programs
segfault any longer, and all seem to run just fine. However, in the
latest CVS checkout I still have one compilation problem I had to fix,
relating to split_modex_screen not being defined. The patch I used to
workaround this is attached. Obviously there may be a correct fix that
I don't know about, just sending you what I used.

-- 
Shawn Walker, Software and Systems Analyst
binarycrusader@xxxxxxxxxx - http://binarycrusader.blogspot.com/
? config.status.lineno
? get_execname_sol.diff
? remaining.patch
? test
? docs/txt/abi.txt
? docs/txt/ahack.txt
? docs/txt/allegro.txt
? docs/txt/api.txt
? docs/txt/authors.txt
? docs/txt/changes.txt
? docs/txt/const.txt
? docs/txt/dat.txt
? docs/txt/dat2c.txt
? docs/txt/dat2s.txt
? docs/txt/datafile.txt
? docs/txt/faq.txt
? docs/txt/grabber.txt
? docs/txt/help.txt
? docs/txt/license.txt
? docs/txt/makedoc.txt
? docs/txt/packfile.txt
? docs/txt/readme.txt
? examples/allegro.log
? examples/ex12bit
? examples/ex3buf
? examples/ex3d
? examples/exaccel
? examples/exalpha
? examples/exbitmap
? examples/exblend
? examples/excamera
? examples/excolmap
? examples/exconfig
? examples/excustom
? examples/exdata
? examples/exdbuf
? examples/exexedat
? examples/exfixed
? examples/exflame
? examples/exflip
? examples/exfont
? examples/exgui
? examples/exhello
? examples/exjoy
? examples/exkeys
? examples/exlights
? examples/exmem
? examples/exmidi
? examples/exmouse
? examples/expackf
? examples/expal
? examples/expat
? examples/exquat
? examples/exrgbhsv
? examples/exsample
? examples/exscale
? examples/exscn3d
? examples/exscroll
? examples/exshade
? examples/exspline
? examples/exsprite
? examples/exstars
? examples/exstream
? examples/exswitch
? examples/exsyscur
? examples/extimer
? examples/extrans
? examples/extruec
? examples/exunicod
? examples/exupdate
? examples/exxfade
? examples/exzbuf
? tests/afinfo
? tests/akaitest
? tests/cpptest
? tests/digitest
? tests/filetest
? tests/gfxinfo
? tests/mathtest
? tests/miditest
? tests/play
? tests/playfli
? tests/test
? tests/vesainfo
? tools/colormap
? tools/dat
? tools/dat2c
? tools/dat2s
? tools/exedat
? tools/grabber
? tools/pack
? tools/pat2dat
? tools/rgbmap
? tools/textconv
Index: examples/exscroll.c
===================================================================
RCS file: /cvsroot/alleg/allegro/examples/exscroll.c,v
retrieving revision 1.9
diff -u -u -d -H -r1.9 exscroll.c
--- examples/exscroll.c	13 Feb 2005 21:01:30 -0000	1.9
+++ examples/exscroll.c	12 Jun 2005 21:00:43 -0000
@@ -29,7 +29,7 @@
       return 1;
    install_keyboard();
 
-   #ifdef GFX_MODEX
+   #ifdef GFX_HAS_VGA
 
       /* create a nice wide virtual screen, and split it at line 200 */
       if (set_gfx_mode(GFX_MODEX, 320, 240, 640, 240) != 0) {
Index: tests/test.c
===================================================================
RCS file: /cvsroot/alleg/allegro/tests/test.c,v
retrieving revision 1.37
diff -u -u -d -H -r1.37 test.c
--- tests/test.c	16 May 2005 13:07:58 -0000	1.37
+++ tests/test.c	12 Jun 2005 21:00:43 -0000
@@ -2030,7 +2030,7 @@
 
       scroll_screen(x, y);
 
-    #ifdef GFX_MODEX
+    #ifdef GFX_HAS_VGA
       if (gfx_driver->id == GFX_MODEX)
 	 split_modex_screen(split);
     #endif
@@ -2045,7 +2045,7 @@
 
    scroll_screen(0, 0);
 
- #ifdef GFX_MODEX
+ #ifdef GFX_HAS_VGA
    if (gfx_driver->id == GFX_MODEX)
       split_modex_screen(0);
  #endif


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/