rpms/kdeaddons/devel kdeaddons-3.5.3-sdl.patch, NONE, 1.1 kdeaddons.spec, 1.51, 1.52
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Jun 7 17:48:13 UTC 2006
Author: than
Update of /cvs/dist/rpms/kdeaddons/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5534
Modified Files:
kdeaddons.spec
Added Files:
kdeaddons-3.5.3-sdl.patch
Log Message:
fix SDL build problem
kdeaddons-3.5.3-sdl.patch:
tippercanoe/main.cpp | 2 +-
tippercanoe/sdlwrap.cpp | 2 ++
tippercanoe/syna.h | 2 +-
tyler/main.cpp | 4 +++-
4 files changed, 7 insertions(+), 3 deletions(-)
--- NEW FILE kdeaddons-3.5.3-sdl.patch ---
--- 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);
Index: kdeaddons.spec
===================================================================
RCS file: /cvs/dist/rpms/kdeaddons/devel/kdeaddons.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- kdeaddons.spec 6 Jun 2006 21:52:16 -0000 1.51
+++ kdeaddons.spec 7 Jun 2006 17:48:10 -0000 1.52
@@ -25,6 +25,7 @@
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
Patch1: kde-libtool.patch
Patch2: kdeaddons-3.5.1-rgb.txt-path.patch
+Patch3: kdeaddons-3.5.3-sdl.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -80,6 +81,7 @@
%setup -q
%patch1 -p1 -b .libtool
%patch2 -p0 -b .rgb.txt-path
+%patch3 -p1 -b .sdl
%if %{make_cvs}
make -f admin/Makefile.common cvs
More information about the fedora-cvs-commits
mailing list