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

Side by Side Diff: libraries/SDL/nacl.patch

Issue 37213005: Update scummvm to 1.6.0, also make it a packaged app. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: fix ARM build, remove "whole archive" Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « examples/games/scummvm/scummvm-1.6.0.sha1 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/Makefile.in b/Makefile.in 1 diff --git a/Makefile.in b/Makefile.in
2 index e29dc6d..99321ee 100644 2 index e29dc6d..99321ee 100644
3 --- a/Makefile.in 3 --- a/Makefile.in
4 +++ b/Makefile.in 4 +++ b/Makefile.in
5 @@ -42,7 +42,7 @@ SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ 5 @@ -42,7 +42,7 @@ SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
6 6
7 DIST = acinclude autogen.sh Borland.html Borland.zip BUGS build-scripts configu re configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html include INSTAL L Makefile.dc Makefile.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip Vis ualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip symbian.zip WhatsNew Xcode .tar.gz 7 DIST = acinclude autogen.sh Borland.html Borland.zip BUGS build-scripts configu re configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html include INSTAL L Makefile.dc Makefile.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip Vis ualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip symbian.zip WhatsNew Xcode .tar.gz
8 8
9 -HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard. h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_op engl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread .h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h 9 -HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard. h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_op engl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread .h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h
10 +HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard. h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_na cl.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h clo se_code.h 10 +HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard. h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_na cl.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h clo se_code.h
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ;; 43 ;;
44 esac 44 esac
45 ;; 45 ;;
46 + -nacl*) 46 + -nacl*)
47 + os=-nacl 47 + os=-nacl
48 + ;; 48 + ;;
49 -nto-qnx*) 49 -nto-qnx*)
50 ;; 50 ;;
51 -nto*) 51 -nto*)
52 diff --git a/configure.in b/configure.in 52 diff --git a/configure.in b/configure.in
53 index a7e9b18..ca1de7e 100644 53 index a7e9b18..8788acd 100644
54 --- a/configure.in 54 --- a/configure.in
55 +++ b/configure.in 55 +++ b/configure.in
56 @@ -885,6 +885,48 @@ CheckVisibilityHidden() 56 @@ -885,6 +885,48 @@ CheckVisibilityHidden()
57 fi 57 fi
58 } 58 }
59 59
60 +dnl Check for Native Client stuff 60 +dnl Check for Native Client stuff
61 +CheckNativeClient() 61 +CheckNativeClient()
62 +{ 62 +{
63 + AC_ARG_ENABLE(naclvideo, 63 + AC_ARG_ENABLE(naclvideo,
64 +AC_HELP_STRING([--enable-naclvideo], [enable the nacl video driver [[default=ye s]]]), 64 +AC_HELP_STRING([--enable-naclvideo], [enable the nacl video driver [[default=ye s]]]),
65 + , enable_naclvideo=yes) 65 + , enable_naclvideo=yes)
66 + if test x$enable_video = xyes -a x$enable_naclvideo = xyes; then 66 + if test x$enable_video = xyes -a x$enable_naclvideo = xyes; then
67 + AC_DEFINE(SDL_VIDEO_DRIVER_NACL) 67 + AC_DEFINE(SDL_VIDEO_DRIVER_NACL)
68 + SOURCES="$SOURCES $srcdir/src/video/nacl/*.cc" 68 + SOURCES="$SOURCES $srcdir/src/video/nacl/*.cc"
69 + SDL_LIBS="-Wl,--start-group -lSDLmain $SDL_LIBS -lppapi -lppapi_cpp -lp papi_gles2 -Wl,--end-group -lstdc++" 69 + SDL_LIBS="-Wl,--start-group -lSDLmain -lnacl_io $SDL_LIBS -lppapi -lppa pi_cpp -lppapi_gles2 -Wl,--end-group -lstdc++"
Sam Clegg 2013/10/26 01:20:52 I'm afraid you can't do this just yet because ther
70 + fi 70 + fi
71 + 71 +
72 + AC_ARG_ENABLE(naclaudio, 72 + AC_ARG_ENABLE(naclaudio,
73 +AC_HELP_STRING([--enable-naclaudio], [enable the nacl audio driver [[default=ye s]]]), 73 +AC_HELP_STRING([--enable-naclaudio], [enable the nacl audio driver [[default=ye s]]]),
74 + , enable_naclaudio=yes) 74 + , enable_naclaudio=yes)
75 + if test x$enable_audio = xyes -a x$enable_naclaudio = xyes; then 75 + if test x$enable_audio = xyes -a x$enable_naclaudio = xyes; then
76 + AC_DEFINE(SDL_AUDIO_DRIVER_NACL) 76 + AC_DEFINE(SDL_AUDIO_DRIVER_NACL)
77 + SOURCES="$SOURCES $srcdir/src/audio/nacl/*.cc" 77 + SOURCES="$SOURCES $srcdir/src/audio/nacl/*.cc"
78 + fi 78 + fi
79 +} 79 +}
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 1567
1568 +case "$host" in 1568 +case "$host" in
1569 + *-*-nacl*) 1569 + *-*-nacl*)
1570 + LIBS="$LIBS -lnacl_io -lstdc++ -lc -lnosys" 1570 + LIBS="$LIBS -lnacl_io -lstdc++ -lc -lnosys"
1571 + ;; 1571 + ;;
1572 +esac 1572 +esac
1573 + 1573 +
1574 dnl Check for X11 path, needed for OpenGL on some systems 1574 dnl Check for X11 path, needed for OpenGL on some systems
1575 AC_PATH_X 1575 AC_PATH_X
1576 if test x$have_x = xyes; then 1576 if test x$have_x = xyes; then
OLDNEW
« no previous file with comments | « examples/games/scummvm/scummvm-1.6.0.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698