summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2017-12-12 18:17:40 +0000
committerAlan Somers <asomers@FreeBSD.org>2017-12-12 18:17:40 +0000
commit1fe1ac17536ecbc5f8ad964051914e66d7a52548 (patch)
tree0a83a78ed531cf31e67f76ee5244c7d1919eb018 /shells
parente95492801421a020501599ad34633a9225b4e5b7 (diff)
downloadfreebsd-ports-1fe1ac17536ecbc5f8ad964051914e66d7a52548.zip
shells/fish: fix 2.7.0 build for arm and arm64
PR: 224254 Reported by: marcel@herrbischoff.com Sponsored by: Spectra Logic Corp
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/files/patch-src_wgetopt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/fish/files/patch-src_wgetopt.h b/shells/fish/files/patch-src_wgetopt.h
new file mode 100644
index 000000000000..c819be768835
--- /dev/null
+++ b/shells/fish/files/patch-src_wgetopt.h
@@ -0,0 +1,11 @@
+--- src/wgetopt.h.orig 2017-12-11 21:47:12 UTC
++++ src/wgetopt.h
+@@ -177,7 +177,7 @@ struct woption {
+ int *flag;
+ /// If \c flag is non-null, this is the value that flag will be set to. Otherwise, this is the
+ /// return-value of the function call.
+- int val;
++ wchar_t val;
+ };
+
+ // Names for the values of the `has_arg' field of `struct option'.