svn commit: r320826 - head/editors/asedit/files

William Grzybowski wg at FreeBSD.org
Thu Jun 13 18:41:55 UTC 2013


Author: wg
Date: Thu Jun 13 18:41:55 2013
New Revision: 320826
URL: http://svnweb.freebsd.org/changeset/ports/320826

Log:
  editors/asedit: fix build with clang
  
  - Fix build with clang, main argument is int
  
  Approved by:	culot / jpaetzel (mentors, implicit)

Added:
  head/editors/asedit/files/patch-asedit.c   (contents, props changed)

Added: head/editors/asedit/files/patch-asedit.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/asedit/files/patch-asedit.c	Thu Jun 13 18:41:55 2013	(r320826)
@@ -0,0 +1,13 @@
+diff --git asedit.c asedit.c
+index 3ec7e5a..a5b2b5e 100644
+--- asedit.c
++++ asedit.c
+@@ -556,7 +556,7 @@ int  main (argc, argv)
+ 	char *argv[];
+ #else  /* ! _NO_PROTO */
+ 
+-int main (unsigned int argc, char *argv[])
++int main (int argc, char *argv[])
+ #endif
+ {
+ 


More information about the svn-ports-all mailing list