Ticket #4119: supertux.patch

File supertux.patch, 1.7 KB (added by adamw@…, 19 years ago)

proposed patch to update supertux-0.1.0 -> supertux-0.1.3

  • Portfile

    diff -urNdp -x CVS supertux.old/Portfile supertux/Portfile
    old new  
    33PortSystem 1.0
    44
    55name            supertux
    6 version         0.1.0
     6version         0.1.3
    77categories      games
    88platforms       darwin
    99maintainers     mww@opendarwin.org
    long_description SuperTux is a classic 2 
    1212                        game in a similar style like the original SuperMario \
    1313                        games.
    1414
    15 homepage        http://super-tux.sourceforge.net/
    16 master_sites    http://pingus.seul.org/~grumbel/tmp/
    17 checksums       md5 c867f5444b93bf66044b4dc087be2298
     15homepage        http://supertux.berlios.de/
     16master_sites    http://download.berlios.de/supertux/
     17checksums       md5 f2fc288459f33d5cd8f645fbca737a63
    1818use_bzip2       yes
    1919
     20patchfiles      patch-src_texture.h
     21
    2022depends_lib     bin:sdl-config:libsdl \
     23                lib:libmikmod:libmikmod \
    2124                lib:libSDL_mixer:libsdl_mixer \
    2225                lib:libSDL_image:libsdl_image
    2326
    2427variant darwin  {
     28        configure.args  --with-apple-opengl-framework
    2529        post-install    {
    2630                xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/SuperTux.app/Contents/MacOS
    2731                system "ln -s ${prefix}/bin/supertux \
  • files/patch-src_texture.h

    diff -urNdp -x CVS supertux.old/files/patch-src_texture.h supertux/files/patch-src_texture.h
    old new  
     1--- src/texture.h.orig  2005-07-23 18:12:18.000000000 -0700
     2+++ src/texture.h       2005-07-23 18:12:44.000000000 -0700
     3@@ -137,7 +137,7 @@ public:
     4 class SurfaceOpenGL : public SurfaceImpl
     5 {
     6 public:
     7-  unsigned gl_texture;
     8+  GLuint gl_texture;
     9 
     10 public:
     11   SurfaceOpenGL(SDL_Surface* surf, int use_alpha);