Mercurial > sdl-ios-xcode
view build-scripts/snapshot.sh @ 3341:710139a1692d
Fixed bug #826
Ken Bull 2009-10-04 09:51:30 PDT
2009/10/4 E. Wing <ewmailing@gmail.com>:
> Hi Kenneth,
> I noticed that SDL_SetColorKey and SDL_GetColorKey start with
> /*
> instead of
> /**
> in SDL_Surface.h in SDL 1.3.
>
> I haven't scrutinized the headers and I don't know if you had an
> automated process to add these, but I thought I would let you know in
> case there might be others that have the same problem.
>
> Thanks,
> Eric
>
The attached patch corrects this and other documentation errors in
SDL_surface.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Oct 2009 19:14:30 +0000 |
parents | bb773ff79106 |
children | 64a2d8f538a1 |
line wrap: on
line source
#!/bin/sh # # Generate a current snapshot from source control echo "Checking out source" svn co -q http://svn.libsdl.org/trunk/SDL (cd SDL && ./autogen.sh && rm -rf autom4te.cache) sh SDL/build-scripts/updaterev.sh cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h major=`fgrep "#define SDL_MAJOR_VERSION" SDL/include/SDL_version.h | \ sed 's,[^0-9]*\([0-9]*\),\1,'` minor=`fgrep "#define SDL_MINOR_VERSION" SDL/include/SDL_version.h | \ sed 's,[^0-9]*\([0-9]*\),\1,'` patch=`fgrep "#define SDL_PATCHLEVEL" SDL/include/SDL_version.h | \ sed 's,[^0-9]*\([0-9]*\),\1,'` rev=`fgrep "#define SDL_REVISION" SDL/include/SDL_revision.h | \ sed 's,[^0-9]*\([0-9]*\),\1,'` path="SDL-$major.$minor.$patch-$rev" mv SDL $path echo $path.tar.gz tar zcf $path.tar.gz $path echo $path.zip rm -f $path.zip zip -rq $path.zip $path rm -rf $path #ln -sf $path.tar.gz SDL-1.3.tar.gz #ln -sf $path.zip SDL-1.3.zip #date=`date +"%a %b %e"` #sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../svn.php.new #mv ../svn.php.new ../svn.php