shells/fish: Fix for hangs on FreeBSD 10.1+

Fix for hangs on FreeBSD 10.1+ due to WCHAR_T missing as an alias for
UCS-4-INTERNAL.

[1] https://github.com/fish-shell/fish-shell/issues/1741

PR:		196661
Submitted by:	David Adam <zanchey ucc.gu.uwa.edu.au>
Approved by:	maintainer <freebsd.users gmail com>
This commit is contained in:
Kubilay Kocak 2015-04-18 13:20:52 +00:00
parent d32714f4af
commit b7e2076021
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384226
2 changed files with 15 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= fish
PORTVERSION= 2.1.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= shells
MASTER_SITES= http://fishshell.com/files/${PORTVERSION}/

View file

@ -0,0 +1,14 @@
# Description: Hangs on freebsd when starting shell
# Issue ID: https://github.com/fish-shell/fish-shell/issues/1741
# TODO: Remove after 2.1.2 update
--- env_universal_common.cpp.orig 2015-04-18 11:58:07 UTC
+++ env_universal_common.cpp
@@ -151,6 +151,7 @@ static const char *iconv_wide_names_4[]=
{
"wchar_t", "WCHAR_T",
"wchar", "WCHAR",
+ "UCS-4-INTERNAL",
"ucs-4", "UCS-4",
"ucs4", "UCS4",
"utf-32", "UTF-32",