summaryrefslogtreecommitdiffstats
path: root/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch')
-rw-r--r--redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch b/redhat/tdeaddons/kdeaddons-3.5.3-sdl.patch
new file mode 100644
index 000000000..70e72dc96
--- /dev/null
+++ b/redhat/tdeaddons/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);