diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-07 16:50:18 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-05-07 16:50:18 +0000 |
commit | 77e28779ef3d4ad07a50cf12988ea8f87f1d5c0a (patch) | |
tree | 541a6bffd8c5ddc7da28bd02182e2d1e2c15d4c3 /www/clearsilver/files/patch-util__ulocks.c | |
parent | Stop installing catpages (diff) |
Fix build with clang
PR: ports/167231
Submitted by: bapt
Approved by: maintainer timeout (14d)
Diffstat (limited to 'www/clearsilver/files/patch-util__ulocks.c')
-rw-r--r-- | www/clearsilver/files/patch-util__ulocks.c | 11 |
1 files changed, 11 insertions, 0 deletions
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; + } |