
Hello community, here is the log from the commit of package SDL checked in at Tue Mar 11 18:05:44 CET 2008. -------- --- SDL/SDL.changes 2008-01-15 13:19:13.000000000 +0100 +++ /mounts/work_src_done/STABLE/SDL/SDL.changes 2008-03-11 13:00:31.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 11 12:57:49 CET 2008 - prusnak@suse.cz + +- export X11_KeyToUnicode function but warn to stderr (x11-keytounicode.patch) + - some games use this function although it is an internal one + which should not be used by new SDL-using code + +------------------------------------------------------------------- New: ---- SDL-1.2.13-x11-keytounicode.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SDL.spec ++++++ --- /var/tmp/diff_new_pack.Q22130/_old 2008-03-11 18:03:38.000000000 +0100 +++ /var/tmp/diff_new_pack.Q22130/_new 2008-03-11 18:03:38.000000000 +0100 @@ -10,20 +10,22 @@ # norootforbuild + Name: SDL BuildRequires: aalib-devel arts-devel esound-devel nasm License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Version: 1.2.13 -Release: 1 +Release: 22 Summary: Simple DirectMedia Layer Library -Source: SDL-%{version}.tar.bz2 -Patch0: SDL-%{version}-rpath.patch -Patch1: SDL-%{version}-autoconf.patch -Patch2: SDL-%{version}-no_anonymus_enum.patch -Patch3: SDL-%{version}-try_alsa_first.patch -Patch4: SDL-%{version}-no_asm_stretch.patch +Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}-rpath.patch +Patch1: %{name}-%{version}-autoconf.patch +Patch2: %{name}-%{version}-no_anonymus_enum.patch +Patch3: %{name}-%{version}-try_alsa_first.patch +Patch4: %{name}-%{version}-no_asm_stretch.patch +Patch5: %{name}-%{version}-x11-keytounicode.patch Url: http://www.libsdl.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,12 +59,13 @@ Sam Lantinga <slouken@libsdl.org> %prep -%setup -q -n SDL-%{version} +%setup -q %patch0 %patch1 %patch2 %patch3 %patch4 +%patch5 %build # Check for which CPU requirement we opimize and @@ -117,6 +120,10 @@ %{_libdir}/pkgconfig/sdl.pc %changelog +* Tue Mar 11 2008 prusnak@suse.cz +- export X11_KeyToUnicode function but warn to stderr (x11-keytounicode.patch) + - some games use this function although it is an internal one + which should not be used by new SDL-using code * Tue Jan 15 2008 prusnak@suse.cz - updated to 1.2.13 (minor bug fix release) * fixed link error when building with Intel Compiler 10 @@ -232,7 +239,7 @@ - work around problem with latest automake * Tue Nov 12 2002 nadvornik@suse.cz updated to 1.2.5: bugfix release -* Sun Nov 10 2002 ro@suse.de +* Mon Nov 11 2002 ro@suse.de - fix deprecated multiline string literal for gcc-3.3 * Tue Sep 24 2002 froh@suse.de - %%-ifarch'ed Requires: alsa-devel for all but s390 and s390x (#18647) ++++++ SDL-1.2.13-x11-keytounicode.patch ++++++ --- src/video/x11/SDL_x11events.c +++ src/video/x11/SDL_x11events.c @@ -1223,8 +1223,11 @@ * sequences (dead accents, compose key sequences) will not work since the * state has been irrevocably lost. */ +extern DECLSPEC Uint16 SDLCALL X11_KeyToUnicode(SDLKey, SDLMod); + Uint16 X11_KeyToUnicode(SDLKey keysym, SDLMod modifiers) { + static int warning = 1; struct SDL_VideoDevice *this = current_video; char keybuf[32]; int i; @@ -1232,6 +1235,12 @@ XKeyEvent xkey; Uint16 unicode; + if ( warning ) { + warning = 0; + fprintf(stderr, "WARNING: Application is using X11_KeyToUnicode().\n"); + fprintf(stderr, "This is not an official SDL function, please report this as a bug.\n"); + } + if ( !this || !SDL_Display ) { return 0; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de