aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-12-13 02:17:40 +0800
committerasomers <asomers@FreeBSD.org>2017-12-13 02:17:40 +0800
commitbd04547f883e71722b908cd49459a3c31c0fdaea (patch)
tree0a83a78ed531cf31e67f76ee5244c7d1919eb018 /shells
parent55a7660cef2086a7831993a4ab9fd96a80fc3524 (diff)
downloadfreebsd-ports-gnome-bd04547f883e71722b908cd49459a3c31c0fdaea.tar.gz
freebsd-ports-gnome-bd04547f883e71722b908cd49459a3c31c0fdaea.tar.zst
freebsd-ports-gnome-bd04547f883e71722b908cd49459a3c31c0fdaea.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'.