Fix build when deselcting NLS

PR:	193604
Submitted by:	aehlig@linta.de
This commit is contained in:
Josh Paetzel 2015-01-13 18:08:02 +00:00
parent 30605160a3
commit 11024f5ea4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376979
2 changed files with 13 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= cadaver
PORTVERSION= 0.23.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/cadaver/ \
http://www.tcbug.org/

View file

@ -0,0 +1,12 @@
--- src/cadaver.c.orig 2010-10-15 17:01:46.000000000 +0200
+++ src/cadaver.c 2010-10-15 17:02:29.000000000 +0200
@@ -42,6 +42,9 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
+#ifdef HAVE_SETLOCALE
+#include <locale.h>
+#endif
#include <errno.h>