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

Unified Diff: ports/avrdude/nacl.patch

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 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/avrdude/build.sh ('k') | ports/babl/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/avrdude/nacl.patch
diff --git a/ports/avrdude/nacl.patch b/ports/avrdude/nacl.patch
index 5602c3b0796f9d0c3475742afc6cab95f4c51c5b..68353543cce1b4641be3d427279d5934d133e337 100644
--- a/ports/avrdude/nacl.patch
+++ b/ports/avrdude/nacl.patch
@@ -6,7 +6,7 @@ diff --git a/Makefile.in b/Makefile.in
avrdude$(EXEEXT): $(avrdude_OBJECTS) $(avrdude_DEPENDENCIES) $(EXTRA_avrdude_DEPENDENCIES)
@rm -f avrdude$(EXEEXT)
- $(AM_V_CCLD)$(avrdude_LINK) $(avrdude_OBJECTS) $(avrdude_LDADD) $(LIBS)
-+ $(AM_V_CCLD)$(avrdude_LINK) $(avrdude_OBJECTS) $(EXTRA_LIBS) $(avrdude_LDADD) $(LIBS)
++ $(AM_V_CCLD)$(avrdude_LINK) $(avrdude_OBJECTS) $(LIBS) $(avrdude_LDADD)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
@@ -258,18 +258,3 @@ diff --git a/flip2.c b/flip2.c
return cmd_result;
}
-diff --git a/main.c b/main.c
---- a/main.c
-+++ b/main.c
-@@ -297,7 +297,11 @@ static void cleanup_main(void)
- /*
- * main routine
- */
-+#if defined(__native_client__)
-+int nacl_main(int argc, char **argv)
-+#else
- int main(int argc, char * argv [])
-+#endif
- {
- int rc; /* general return code checking */
- int exitrc; /* exit code for main() */
« no previous file with comments | « ports/avrdude/build.sh ('k') | ports/babl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698