aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-05 14:23:19 +0800
committerbapt <bapt@FreeBSD.org>2013-09-05 14:23:19 +0800
commit55dea595268a7a90676f2beff77fddeeeeadb425 (patch)
treefb29fbfc1cee2ed87db17af39614c0d92d4358ec /sysutils
parent19773db6fa6f7a32be9e8c859d59acb243b63aa5 (diff)
downloadfreebsd-ports-gnome-55dea595268a7a90676f2beff77fddeeeeadb425.tar.gz
freebsd-ports-gnome-55dea595268a7a90676f2beff77fddeeeeadb425.tar.zst
freebsd-ports-gnome-55dea595268a7a90676f2beff77fddeeeeadb425.zip
Fix build with clang
Reported by: pkg-fallout
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ftwin/files/patch-ftwin.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/ftwin/files/patch-ftwin.c b/sysutils/ftwin/files/patch-ftwin.c
new file mode 100644
index 000000000000..b6bb3303024c
--- /dev/null
+++ b/sysutils/ftwin/files/patch-ftwin.c
@@ -0,0 +1,11 @@
+--- src/ftwin.c.orig 2009-05-21 14:32:32.000000000 +0200
++++ src/ftwin.c 2013-09-05 08:21:38.056133246 +0200
+@@ -228,7 +228,7 @@
+ apr_dir_t *dir;
+ apr_int32_t statmask =
+ APR_FINFO_SIZE | APR_FINFO_TYPE | APR_FINFO_USER | APR_FINFO_GROUP | APR_FINFO_UPROT | APR_FINFO_GPROT;
+- apr_size_t fname_len;
++ apr_size_t fname_len = 0;
+ apr_uint32_t hash_value;
+ apr_status_t status;
+ int rc;