freebsd-ports/shells/fish/files/patch-src_wgetopt.h
Alan Somers 1fe1ac1753 shells/fish: fix 2.7.0 build for arm and arm64
PR:		224254
Reported by:	marcel@herrbischoff.com
Sponsored by:	Spectra Logic Corp
2017-12-12 18:17:40 +00:00

11 lines
368 B
C

--- 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'.