 +void NACL_InitOSKeymap(_THIS) {
 +  /* do nothing. */
 +}
-diff -urN SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h SDL-1.2.14-nacl/src/video/nacl/SDL_naclevents_c.h
---- SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h	1970-01-01 03:00:00.000000000 +0300
-+++ SDL-1.2.14-nacl/src/video/nacl/SDL_naclevents_c.h	2011-05-27 12:35:37.284169164 +0400
+diff -Naur temp_SDL-1.2.14/SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h
+--- temp_SDL-1.2.14/SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h	1969-12-31 16:00:00.000000000 -0800
++++ SDL-1.2.14/src/video/nacl/SDL_naclevents_c.h	2011-07-27 15:59:13.000000000 -0700
 @@ -0,0 +1,7 @@
 +#include "SDL_config.h"
 +

     *-*-linux*|*-*-uclinux*|*-*-gnu*|*-*-k*bsd*-gnu|*-*-bsdi*|*-*-freebsd*|*-*-dragonfly*|*-*-netbsd*|*-*-openbsd*|*-*-sysv5*|*-*-solaris*|*-*-hpux*|*-*-irix*|*-*-aix*|*-*-osf*)
         case "$host" in
             *-*-linux*)         ARCH=linux ;;
diff -urN SDL-1.2.14/include/SDL_config.h.in SDL-1.2.14-nacl/include/SDL_config.h.in
--- SDL-1.2.14/include/SDL_config.h.in	2009-10-13 08:21:25.000000000 +0400
+++ SDL-1.2.14-nacl/include/SDL_config.h.in	2011-05-27 12:35:37.274169187 +0400
@@ -174,6 +174,7 @@
 #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
 #undef SDL_AUDIO_DRIVER_MINT

+
+extern void NACL_InitOSKeymap(_THIS);
+extern void NACL_PumpEvents(_THIS);
diff -Naur temp_SDL-1.2.14/SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc
--- temp_SDL-1.2.14/SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc	1969-12-31 16:00:00.000000000 -0800
+++ SDL-1.2.14/src/video/nacl/SDL_naclvideo.cc	2011-07-29 15:42:09.000000000 -0700
@@ -0,0 +1,325 @@
+#include "SDL_config.h"
+
+#include <assert.h>
