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-util__ulocks.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/clearsilver/files/patch-util__ulocks.c (limited to 'www/clearsilver/files/patch-util__ulocks.c') diff --git a/www/clearsilver/files/patch-util__ulocks.c b/www/clearsilver/files/patch-util__ulocks.c new file mode 100644 index 000000000000..d096bca169f2 --- /dev/null +++ b/www/clearsilver/files/patch-util__ulocks.c @@ -0,0 +1,11 @@ +--- ./util/ulocks.c.orig 2005-06-30 21:17:27.000000000 +0200 ++++ ./util/ulocks.c 2012-04-23 17:56:39.446509872 +0200 +@@ -93,7 +93,7 @@ + { + + if(lockf(lock, F_LOCK, 0) < 0) +- return nerr_raise_errno (NERR_LOCK, "File lock failed"); ++ return nerr_raise_errno (NERR_LOCK, "%s", "File lock failed"); + + return STATUS_OK; + } -- cgit v1.2.3