[packages/dosbox] - rel 6; build fixed

arekm arekm at pld-linux.org
Thu Nov 7 22:27:13 CET 2013


commit 59afd64f98220d57b097a6bd3d2dd5a5f60aa143
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 7 22:27:11 2013 +0100

    - rel 6; build fixed

 dosbox-gcc46.patch | 11 +++++++++++
 dosbox.spec        |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/dosbox.spec b/dosbox.spec
index 97030fa..0c28edb 100644
--- a/dosbox.spec
+++ b/dosbox.spec
@@ -6,7 +6,7 @@ Summary:	x86/DOS emulator with sound/graphics primarily for games
 Summary(pl.UTF-8):	Emulator x86/DOS z dźwiękiem/grafiką głównie dla gier
 Name:		dosbox
 Version:	0.74
-Release:	5
+Release:	6
 License:	GPL v2+
 Group:		Applications/Emulators
 Source0:	http://downloads.sourceforge.net/dosbox/%{name}-%{version}.tar.gz
diff --git a/dosbox-gcc46.patch b/dosbox-gcc46.patch
index fbfc5e7..833f10b 100644
--- a/dosbox-gcc46.patch
+++ b/dosbox-gcc46.patch
@@ -9,3 +9,14 @@
  #ifdef _MSC_VER
  #pragma pack (1)
  #endif
+--- dosbox-0.74/src/gui/sdlmain.cpp~	2010-05-10 19:43:54.000000000 +0200
++++ dosbox-0.74/src/gui/sdlmain.cpp	2013-11-07 22:23:59.891932656 +0100
+@@ -1529,7 +1529,7 @@
+ 	if ( !sdl.inited && SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE) < 0 ) textonly = true;
+ 	sdl.inited = true;
+ #endif
+-	printf(message);
++	printf("%s", message);
+ 	if(textonly) return;
+ 	if(!sdl.surface) sdl.surface = SDL_SetVideoMode(640,400,0,0);
+ 	if(!sdl.surface) return;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dosbox.git/commitdiff/59afd64f98220d57b097a6bd3d2dd5a5f60aa143



More information about the pld-cvs-commit mailing list