diff options
Diffstat (limited to 'nss')
-rw-r--r-- | nss/UnpackedTarball_nss.mk | 1 | ||||
-rw-r--r-- | nss/nss.windows.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nss/UnpackedTarball_nss.mk b/nss/UnpackedTarball_nss.mk index 6e9ad7bc3a01..44b9d1476613 100644 --- a/nss/UnpackedTarball_nss.mk +++ b/nss/UnpackedTarball_nss.mk @@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,nss,\ nss/nss.aix.patch \ nss/nss-3.13.5-zlib-werror.patch \ $(if $(filter MACOSX,$(OS)),nss/nss_macosx.patch) \ + $(if $(filter WNTMSC,$(OS)$(COM)),nss/nss.windows.patch) \ $(if $(filter WNTGCC,$(OS)$(COM)),nss/nspr-4.9-build.patch \ nss/nss-3.13.3-build.patch \ nss/nss.mingw.patch) \ diff --git a/nss/nss.windows.patch b/nss/nss.windows.patch new file mode 100644 index 000000000000..935943bf031b --- /dev/null +++ b/nss/nss.windows.patch @@ -0,0 +1,11 @@ +--- misc/nss-3.13.5/mozilla/nsprpub/config/rules.mk 2008-12-03 00:24:39.000000000 +0100 ++++ misc/build/nss-3.13.5/mozilla/nsprpub/config/rules.mk 2009-11-27 13:36:22.662753328 +0100 +@@ -415,7 +415,7 @@ + + ifdef NEED_ABSOLUTE_PATH + # The quotes allow absolute paths to contain spaces. +-pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(1)),$(1),$(CURDIR)/$(1)))" ++pr_abspath = "$(if $(findstring :,$(1)),$(1),$(if $(filter /%,$(shell cygpath -m $(1))),$(1),$(shell cygpath -m $(CURDIR)/$(1))))" + endif + + $(OBJDIR)/%.$(OBJ_SUFFIX): %.cpp |