diff options
Diffstat (limited to 'editors/poedit/patches/patch-deps_icu4c_source_configure')
-rw-r--r-- | editors/poedit/patches/patch-deps_icu4c_source_configure | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/poedit/patches/patch-deps_icu4c_source_configure b/editors/poedit/patches/patch-deps_icu4c_source_configure new file mode 100644 index 00000000000..e89b5249f30 --- /dev/null +++ b/editors/poedit/patches/patch-deps_icu4c_source_configure @@ -0,0 +1,22 @@ +$NetBSD: patch-deps_icu4c_source_configure,v 1.1 2020/03/07 11:05:28 wiz Exp $ + +Fix unportable test(1) operator. + +--- deps/icu4c/source/configure.orig 2020-02-03 14:01:01.000000000 +0000 ++++ deps/icu4c/source/configure +@@ -7765,13 +7765,13 @@ fi + # Now that we're done using CPPFLAGS etc. for tests, we can change it + # for build. + +-if test "${CC}" == "clang"; then ++if test "${CC}" = "clang"; then + CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality" + else + CLANGCFLAGS="" + fi + +-if test "${CXX}" == "clang++"; then ++if test "${CXX}" = "clang++"; then + CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality" + else + CLANGCXXFLAGS="" |