From: Alex Ferguson Date: Wed, 19 Jan 2011 16:52:38 +0000 (+0200) Subject: midpath: Fix malformed sdl-fixes.patch. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da95442d28bff2215f8c8cc8a0de77e8f42ca59;p=openembedded.git midpath: Fix malformed sdl-fixes.patch. Regenerated and replaced sdl-fixes.patch, which was malformed and did not apply. This one should work. Signed-off-by: Alex Ferguson Signed-off-by: Kristoffer Ericson --- diff --git a/recipes/midpath/files/sdl-fixes.patch b/recipes/midpath/files/sdl-fixes.patch index f694d4276c..e8cfcb22e0 100644 --- a/recipes/midpath/files/sdl-fixes.patch +++ b/recipes/midpath/files/sdl-fixes.patch @@ -1,6 +1,6 @@ diff -ru midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java --- midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java 2008-09-02 03:03:19.000000000 +0300 -+++ midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java 2010-12-21 18:58:05.890000957 +0200 ++++ midpath-0.3rc2/components/microbackend/org/thenesis/microbackend/ui/sdl/SDLBackend.java 2010-12-24 13:00:38.313333419 +0200 @@ -119,6 +119,7 @@ try { @@ -14,7 +14,7 @@ diff -ru midpath-0.3rc2.orig/components/microbackend/org/thenesis/microbackend/u try { SDLEvent.enableUNICODE(1); + SDLEvent.enableKeyRepeat(SDLEvent.SDL_DEFAULT_REPEAT_DELAY, -+ SDLEvent.SDL_DEFAULT_REPEAT_INTERVAL); ++ SDLEvent.SDL_DEFAULT_REPEAT_INTERVAL); while (Thread.currentThread() == thread) { processEvent(SDLEvent.waitEvent(true)); }