r8571 - in packages/trunk/adanaxisgpl/debian: . patches
Evgeni Golov
sargentd-guest at alioth.debian.org
Mon Dec 29 08:50:32 UTC 2008
Author: sargentd-guest
Date: 2008-12-29 08:50:32 +0000 (Mon, 29 Dec 2008)
New Revision: 8571
Added:
packages/trunk/adanaxisgpl/debian/patches/30_dont_crash_at_16bpp.diff
Modified:
packages/trunk/adanaxisgpl/debian/changelog
packages/trunk/adanaxisgpl/debian/patches/series
Log:
Add 30_dont_crash_at_16bpp.diff to allow adanaxisgpl to start with 16bit colors. (Closes: #463674)
Modified: packages/trunk/adanaxisgpl/debian/changelog
===================================================================
--- packages/trunk/adanaxisgpl/debian/changelog 2008-12-28 21:37:30 UTC (rev 8570)
+++ packages/trunk/adanaxisgpl/debian/changelog 2008-12-29 08:50:32 UTC (rev 8571)
@@ -9,8 +9,12 @@
[ Paul Wise ]
* Fix grammar error in package description (Closes: #492534)
- -- Gonéri Le Bouder <goneri at rulezlan.org> Mon, 21 Apr 2008 18:50:36 +0200
+ [ Evgeni Golov ]
+ * Add 30_dont_crash_at_16bpp.diff to allow adanaxisgpl to start with
+ 16bit colors. (Closes: #463674)
+ -- Evgeni Golov <sargentd at die-welt.net> Mon, 29 Dec 2008 09:48:53 +0100
+
adanaxisgpl (1.2.5.dfsg.1-1) unstable; urgency=low
[ Barry deFreese ]
Added: packages/trunk/adanaxisgpl/debian/patches/30_dont_crash_at_16bpp.diff
===================================================================
--- packages/trunk/adanaxisgpl/debian/patches/30_dont_crash_at_16bpp.diff (rev 0)
+++ packages/trunk/adanaxisgpl/debian/patches/30_dont_crash_at_16bpp.diff 2008-12-29 08:50:32 UTC (rev 8571)
@@ -0,0 +1,26 @@
+Index: adanaxisgpl-1.2.5.dfsg.1/src/GL/SDLAppHandler.cpp
+===================================================================
+--- adanaxisgpl-1.2.5.dfsg.1.orig/src/GL/SDLAppHandler.cpp 2008-12-29 09:46:35.000000000 +0100
++++ adanaxisgpl-1.2.5.dfsg.1/src/GL/SDLAppHandler.cpp 2008-12-29 09:47:25.000000000 +0100
+@@ -383,7 +383,7 @@
+
+ m_width=inDef.Width();
+ m_height=inDef.Height();
+- m_bpp=32;
++ m_bpp=0;
+ m_showCursor=!inDef.FullScreen();
+ U32 sdlFlags=0;
+ if (inDef.FullScreen())
+@@ -407,9 +407,9 @@
+
+ MediaSDL::Sgl().InitVideoIfRequired();
+
+- SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
+- SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
+- SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
++ SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
++ SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5);
++ SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5);
+ SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0);
+
+ SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
Modified: packages/trunk/adanaxisgpl/debian/patches/series
===================================================================
--- packages/trunk/adanaxisgpl/debian/patches/series 2008-12-28 21:37:30 UTC (rev 8570)
+++ packages/trunk/adanaxisgpl/debian/patches/series 2008-12-29 08:50:32 UTC (rev 8571)
@@ -1,2 +1,3 @@
10_try_more_cache_paths.diff
20_fix_FTBFS_with_gcc-4.3.diff
+30_dont_crash_at_16bpp.diff
More information about the Pkg-games-commits
mailing list