diff options
author | albator <albator@arcadia.vtf> | 2011-10-29 23:32:41 +0200 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-10-29 23:32:41 +0200 |
commit | 703986bfe4270bb901f594b92eebb265d04ad8f5 (patch) | |
tree | ca0361b20e1cf443754d4104663977e3f0a2077c /redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch | |
parent | 5a3c8c66709ef8eeb3708b0eb2732fa9e84d37d3 (diff) | |
download | tde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.tar.gz tde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.zip |
Lot of updates for TDE 3.5.13 (RHEL 5, RHEL 6, Fedora 15)
Diffstat (limited to 'redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch')
-rw-r--r-- | redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch b/redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch new file mode 100644 index 000000000..70e72dc96 --- /dev/null +++ b/redhat/kdeaddons/kdeaddons-3.5.3-sdl.patch @@ -0,0 +1,64 @@ +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp.than 2006-06-07 18:52:09.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/sdlwrap.cpp 2006-06-07 18:54:06.000000000 +0200 +@@ -183,6 +183,7 @@ + SDL_UpdateRect(surface, 0, 0, 0, 0); + } + ++#if 0 + int SdlScreen::winID(void) + { + SDL_SysWMinfo info; +@@ -195,3 +196,4 @@ + SDL_GetWMInfo(&info); + return info.info.x11.wmwindow; + } ++#endif +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp.than 2006-06-07 18:54:19.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/main.cpp 2006-06-07 18:54:27.000000000 +0200 +@@ -112,7 +112,7 @@ + { + time_t timer = time(NULL); + +- printf("%u\n", static_cast<SdlScreen *>(screen)->winID()); ++ //printf("%u\n", static_cast<SdlScreen *>(screen)->winID()); + fflush(stdout); + + int frames = 0; +--- kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h.than 2006-06-07 18:51:25.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tippercanoe/syna.h 2006-06-07 18:51:56.000000000 +0200 +@@ -108,7 +108,7 @@ + int sizeUpdate(); + bool inputUpdate(int &mouseX,int &mouseY,int &mouseButtons,char &keyHit); + void show(); +- int winID(); ++ //int winID(); + }; + + // core +--- kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp.than 2006-06-07 18:54:38.000000000 +0200 ++++ kdeaddons-3.5.3/noatun-plugins/tyler/main.cpp 2006-06-07 18:55:00.000000000 +0200 +@@ -52,6 +52,7 @@ + SDL_Surface *screen; + } + ++#if 0 + int winID(void) + { + SDL_SysWMinfo info; +@@ -61,6 +62,7 @@ + SDL_GetWMInfo(&info); + return info.info.x11.wmwindow; + } ++#endif + + int main(int, char **) + { +@@ -74,7 +76,7 @@ + access_mutex = SDL_CreateMutex(); + + init_renderer1(); +- printf("%u\n", winID()); ++ //printf("%u\n", winID()); + fflush(stdout); + init_renderer2(); + thread = SDL_CreateThread((int (*)(void *))renderer, NULL); |