Changeset 98144


Ignore:
Timestamp:
Sep 26, 2012, 10:00:00 AM (12 years ago)
Author:
jmr@…
Message:

sdl_sopwith: update to 1.7.5

Location:
trunk/dports/games/sdl_sopwith
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/sdl_sopwith/Portfile

    r84271 r98144  
    66
    77name                sdl_sopwith
    8 version             1.7.4
    9 revision            1
     8version             1.7.5
    109categories          games
    1110platforms           darwin
     
    1918master_sites        sourceforge:project/sdl-sopwith/${name}/${version}/
    2019distname            sopwith-${version}
    21 checksums           md5 f7bd8f754409aedd003b5b99d20f06dd \
    22                     sha1 e2523afb16ce04fe772468f5a3d027a162460d46 \
    23                     rmd160 f1ba6723d7606cdff00e43e593199040f1e1127c
     20checksums           md5 9a474203245d4b1052f17accd1553992 \
     21                    sha1 018051a8524ced03e5e5a6c08cef67e663149e20 \
     22                    rmd160 cb36db3a78e6d509d136c3ae37aad61f9d9012b6
    2423
    2524depends_build       port:pkgconfig
     
    2827patchfiles          src_Makefile.in.patch src_sdl_video.c.patch \
    2928                    src_swmain.c.patch configure.patch
     29post-patch {
     30    file delete ${worksrcpath}/config.cache ${worksrcpath}/config.log \
     31                ${worksrcpath}/config.status
     32}
    3033
    3134configure.args      --mandir=${prefix}/share/man \
  • trunk/dports/games/sdl_sopwith/files/src_sdl_video.c.patch

    r83715 r98144  
    1 --- src/sdl/video.c.orig        2010-07-07 08:19:39.000000000 +1000
    2 +++ src/sdl/video.c     2011-09-10 03:33:26.000000000 +1000
    3 @@ -213,7 +213,7 @@ static void set_icon(sopsym_t *sym)
     1--- src/sdl/video.c.orig        2012-09-20 08:59:39.000000000 +1000
     2+++ src/sdl/video.c     2012-09-26 19:19:05.000000000 +1000
     3@@ -222,7 +222,7 @@ static void set_icon(sopsym_t *sym)
    44 
    55 static void Vid_UnsetMode()
    66 {
    7 -       SDL_QuitSubSystem(SDL_INIT_VIDEO);
    8 +       SDL_FreeSurface(screenbuf);
     7-     SDL_QuitSubSystem(SDL_INIT_VIDEO);
     8+     SDL_FreeSurface(screenbuf);
    99 }
    1010 
    11  static void Vid_SetMode()
    12 @@ -225,8 +225,6 @@ static void Vid_SetMode()
     11 
     12@@ -368,8 +368,6 @@ static void Vid_SetMode()
    1313        printf("CGA Screen Emulation\n");
    1414        printf("init screen: ");
     
    1919        set_icon(symbol_plane[rand() % 2][rand() % 16]);
    2020 
    21 @@ -252,6 +250,11 @@ static void Vid_SetMode()
     21@@ -395,6 +393,11 @@ static void Vid_SetMode()
    2222                exit(-1);
    2323        }
     
    3131 
    3232        for (n = 0; n < NUM_KEYS; ++n)
    33 @@ -261,6 +264,7 @@ static void Vid_SetMode()
     33@@ -404,6 +407,7 @@ static void Vid_SetMode()
    3434 
    3535        SDL_SetColors(screen, cga_pal, 0, sizeof(cga_pal)/sizeof(*cga_pal));
    3636        SDL_SetColors(screenbuf, cga_pal, 0, sizeof(cga_pal)/sizeof(*cga_pal));
    3737+       SDL_LockSurface(screenbuf);
    38  }
    3938 
    40  void Vid_Shutdown()
    41 @@ -270,7 +274,7 @@ void Vid_Shutdown()
     39         // create custom key file
     40         Create_Custom_File();
     41@@ -418,7 +422,7 @@ void Vid_Shutdown()
    4242 
    4343        Vid_UnsetMode();
     
    4848        initted = 0;
    4949 }
    50 @@ -282,18 +286,13 @@ void Vid_Init()
     50@@ -430,18 +434,13 @@ void Vid_Init()
    5151 
    5252        fflush(stdout);
Note: See TracChangeset for help on using the changeset viewer.