svn commit: r329988 - head/sysutils/gstopd/files
Michael Reifenberger
mr at FreeBSD.org
Thu Oct 10 13:03:28 UTC 2013
Author: mr
Date: Thu Oct 10 13:03:28 2013
New Revision: 329988
URL: http://svnweb.freebsd.org/changeset/ports/329988
Log:
Fix build with clang
Added:
head/sysutils/gstopd/files/
head/sysutils/gstopd/files/patch-gstopd.c (contents, props changed)
Added: head/sysutils/gstopd/files/patch-gstopd.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/gstopd/files/patch-gstopd.c Thu Oct 10 13:03:28 2013 (r329988)
@@ -0,0 +1,9 @@
+--- gstopd.c.orig 2013-10-10 12:51:01.431793192 +0000
++++ gstopd.c 2013-10-10 12:58:54.538750707 +0000
+@@ -116,5 +116,5 @@
+ errx( 1, "Error %d accessing %s", errno, path );
+ }
+- snprintf( devs[i].name, 6, argv[i] );
++ snprintf( devs[i].name, 6, "%s", argv[i] );
+ devs[i].lastt = 1;
+ }
More information about the svn-ports-all
mailing list