Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: ports/sdl/nacl.patch

Issue 907563002: Simplify cli_main (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/python-static/nacl.patch ('k') | ports/tcl/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/sdl/nacl.patch
diff --git a/ports/sdl/nacl.patch b/ports/sdl/nacl.patch
new file mode 100644
index 0000000000000000000000000000000000000000..cad20efa17d4ccf9c633b8e616ea6723a81b0bc2
--- /dev/null
+++ b/ports/sdl/nacl.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.in b/configure.in
+--- a/configure.in
++++ b/configure.in
+@@ -921,7 +921,7 @@ AC_HELP_STRING([--enable-naclvideo], [enable the nacl video driver [[default=yes
+ AC_DEFINE(SDL_VIDEO_DRIVER_NACL)
+ SOURCES="$SOURCES $srcdir/src/video/nacl/*.c"
+ EXTRA_LDFLAGS="-lppapi_simple -l${NACL_CPP_LIB:-stdc++} $EXTRA_LDFLAGS"
+- SDL_LIBS="-Wl,-unacl_main -Wl,-undefined=PSUserCreateInstance -lSDLmain $SDL_LIBS -lppapi_gles2 -lcli_main -ltar -lppapi_simple -lnacl_io -lppapi_cpp -lppapi -lm -l${NACL_CPP_LIB:-stdc++}"
++ SDL_LIBS="-Wl,-unacl_main -Wl,-undefined=PSUserCreateInstance -lSDLmain $SDL_LIBS -lppapi_gles2 -lcli_main -lnacl_spawn -ltar -lppapi_simple -lnacl_io -lppapi_cpp -lppapi -lm -l${NACL_CPP_LIB:-stdc++}"
+ SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
+ fi
+
« no previous file with comments | « ports/python-static/nacl.patch ('k') | ports/tcl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698