diff options
Diffstat (limited to 'homebrew/libiconv/patches.sh')
-rwxr-xr-x | homebrew/libiconv/patches.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/libiconv/patches.sh b/homebrew/libiconv/patches.sh new file mode 100755 index 000000000..217cd8702 --- /dev/null +++ b/homebrew/libiconv/patches.sh @@ -0,0 +1,16 @@ +wget https://raw.githubusercontent.com/Homebrew/patches/9be2793af/libiconv/patch-utf8mac.diff +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/lib/flags.h b/lib/flags.h +index d7cda21..4cabcac 100644 +--- a/lib/flags.h ++++ b/lib/flags.h +@@ -14,6 +14,7 @@ + + #define ei_ascii_oflags (0) + #define ei_utf8_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) ++#define ei_utf8mac_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) + #define ei_ucs2_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) + #define ei_ucs2be_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) + #define ei_ucs2le_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) +EOF |