SOURCES: mysdl-build.patch (NEW) - build fixes for newer compilers

gotar gotar at pld-linux.org
Sun May 20 14:30:38 CEST 2007


Author: gotar                        Date: Sun May 20 12:30:37 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build fixes for newer compilers

---- Files affected:
SOURCES:
   mysdl-build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mysdl-build.patch
diff -u /dev/null SOURCES/mysdl-build.patch:1.1
--- /dev/null	Sun May 20 14:30:37 2007
+++ SOURCES/mysdl-build.patch	Sun May 20 14:30:32 2007
@@ -0,0 +1,59 @@
+diff -ur mysdl_1.0.orig/src/audio/music.h mysdl_1.0/src/audio/music.h
+--- mysdl_1.0.orig/src/audio/music.h	2006-08-18 02:46:18.000000000 +0200
++++ mysdl_1.0/src/audio/music.h	2007-05-20 13:30:16.000000000 +0200
+@@ -79,7 +79,7 @@
+ 
+ 				MusicStream *currentStream,*nextStream;
+ 
+-				void MusicManager::stream();
++				void stream();
+ 
+ 			public:
+ 				MusicManager();
+diff -ur mysdl_1.0.orig/src/audio/sources.h mysdl_1.0/src/audio/sources.h
+--- mysdl_1.0.orig/src/audio/sources.h	2006-08-18 02:46:12.000000000 +0200
++++ mysdl_1.0/src/audio/sources.h	2007-05-20 13:30:05.000000000 +0200
+@@ -81,7 +81,7 @@
+ 				~Source();
+ 
+ 				bool operator<(const Source &source) const;
+-				void Source::dropSound();
++				void dropSound();
+ 		};
+ 
+ 		class Sound
+diff -ur mysdl_1.0.orig/src/gui/core.h mysdl_1.0/src/gui/core.h
+--- mysdl_1.0.orig/src/gui/core.h	2006-08-18 02:48:51.000000000 +0200
++++ mysdl_1.0/src/gui/core.h	2007-05-20 13:31:13.000000000 +0200
+@@ -524,7 +524,7 @@
+ 				 *         found there, or 0 if the coordinate lies outside the component's client
+ 				 *         rectangle.
+ 				 */
+-				Component *Component::find(const Vector2D pos);
++				Component *find(const Vector2D pos);
+ 
+ 				/**
+ 				 * Determines whether the component is enabled <b>and</b> visible.
+diff -ur mysdl_1.0.orig/src/mysdl.cpp mysdl_1.0/src/mysdl.cpp
+--- mysdl_1.0.orig/src/mysdl.cpp	2006-08-20 00:16:03.000000000 +0200
++++ mysdl_1.0/src/mysdl.cpp	2007-05-20 13:33:39.000000000 +0200
+@@ -21,6 +21,7 @@
+ #include <signal.h>
+ #include <stdlib.h>
+ #include <iostream>
++#include <assert.h>
+ 
+ #include "SDL/SDL_image.h"
+ #include "SDL/SDL_opengl.h"
+diff -ur mysdl_1.0.orig/src/resources.h mysdl_1.0/src/resources.h
+--- mysdl_1.0.orig/src/resources.h	2006-08-19 04:18:48.000000000 +0200
++++ mysdl_1.0/src/resources.h	2007-05-20 13:29:33.000000000 +0200
+@@ -523,7 +523,7 @@
+ 			}
+ 
+ 			void getFromNode(const xml::Node *root,const std::string &baseDir="");
+-			virtual BasicResourceBank* ResourceManager::createResourceBank(const std::string &name);
++			virtual BasicResourceBank* createResourceBank(const std::string &name);
+ 	};
+ 
+ 	class RefreshingBankHandler
================================================================


More information about the pld-cvs-commit mailing list