summarylogtreecommitdiffstats
path: root/0010-msys-rules-for-makefiles.mingw.patch
diff options
context:
space:
mode:
authorSchala2015-06-08 23:39:54 -0700
committerSchala2015-06-08 23:39:54 -0700
commitc9909de660f9871678b5973d2bc5a2689fbeffd9 (patch)
tree8b9bd96f5144496bfbbd98f5e22d8c072b914d12 /0010-msys-rules-for-makefiles.mingw.patch
downloadaur-c9909de660f9871678b5973d2bc5a2689fbeffd9.tar.gz
update to 55.1
Diffstat (limited to '0010-msys-rules-for-makefiles.mingw.patch')
-rw-r--r--0010-msys-rules-for-makefiles.mingw.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/0010-msys-rules-for-makefiles.mingw.patch b/0010-msys-rules-for-makefiles.mingw.patch
new file mode 100644
index 000000000000..31afd3943495
--- /dev/null
+++ b/0010-msys-rules-for-makefiles.mingw.patch
@@ -0,0 +1,36 @@
+--- icu/source/config/mh-mingw.orig 2013-10-04 20:50:00.000000000 +0000
++++ icu/source/config/mh-mingw 2014-02-06 17:53:24.827138600 +0000
+@@ -82,11 +82,11 @@
+
+ # The #M# is used to delete lines for icu-config
+ # Current full path directory.
+-#CURR_FULL_DIR=$(shell pwd -W)#M# for MSYS
+-CURR_FULL_DIR?=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
++CURR_FULL_DIR=$(shell $(SHELL) -c "pwd -W")#M# for MSYS
++#CURR_FULL_DIR?=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
+ # Current full path directory for use in source code in a -D compiler option.
+-#CURR_SRCCODE_FULL_DIR=$(subst /,\\\\,$(shell pwd -W))#M# for MSYS
+-CURR_SRCCODE_FULL_DIR=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
++CURR_SRCCODE_FULL_DIR=$(subst /,\\\\,$(shell $(SHELL) -c "pwd -W"))#M# for MSYS
++#CURR_SRCCODE_FULL_DIR=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
+
+ ## Compilation rules
+ %.$(STATIC_O): $(srcdir)/%.c
+--- icu/source/config/mh-mingw64.orig 2013-10-04 20:50:00.000000000 +0000
++++ icu/source/config/mh-mingw64 2014-02-06 17:53:10.783855300 +0000
+@@ -82,11 +82,11 @@
+
+ # The #M# is used to delete lines for icu-config
+ # Current full path directory.
+-#CURR_FULL_DIR=$(shell pwd -W)#M# for MSYS
+-CURR_FULL_DIR?=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
++CURR_FULL_DIR=$(shell $(SHELL) -c "pwd -W")#M# for MSYS
++#CURR_FULL_DIR?=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
+ # Current full path directory for use in source code in a -D compiler option.
+-#CURR_SRCCODE_FULL_DIR=$(subst /,\\\\,$(shell pwd -W))#M# for MSYS
+-CURR_SRCCODE_FULL_DIR=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
++CURR_SRCCODE_FULL_DIR=$(subst /,\\\\,$(shell $(SHELL) -c "pwd -W"))#M# for MSYS
++#CURR_SRCCODE_FULL_DIR=$(subst \,/,$(shell cmd /c cd))#M# for Cygwin shell
+
+ ## Compilation rules
+ %.$(STATIC_O): $(srcdir)/%.c