From 77e28779ef3d4ad07a50cf12988ea8f87f1d5c0a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 7 May 2012 16:50:18 +0000 Subject: Fix build with clang PR: ports/167231 Submitted by: bapt Approved by: maintainer timeout (14d) --- www/clearsilver/files/patch-cs__cstest.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/clearsilver/files/patch-cs__cstest.c (limited to 'www/clearsilver/files/patch-cs__cstest.c') diff --git a/www/clearsilver/files/patch-cs__cstest.c b/www/clearsilver/files/patch-cs__cstest.c new file mode 100644 index 000000000000..201bf4603e9a --- /dev/null +++ b/www/clearsilver/files/patch-cs__cstest.c @@ -0,0 +1,11 @@ +--- ./cs/cstest.c.orig 2006-03-13 00:54:15.000000000 +0100 ++++ ./cs/cstest.c 2012-04-23 17:54:05.809909855 +0200 +@@ -30,7 +30,7 @@ + int x = 0; + + if (s == NULL) +- return nerr_raise(NERR_NOMEM, "Unable to duplicate string in test_strfunc"); ++ return nerr_raise(NERR_NOMEM, "%s", "Unable to duplicate string in test_strfunc"); + + while (s[x]) { + s[x] = tolower(s[x]); -- cgit v1.2.3