From f6feb1508c8b2b3d89d50a03b6acbb2cc7218fed Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Wed, 21 Apr 2021 11:24:44 +0900 Subject: [PATCH] node: Resolve ICU conflict Resolve conflicts between OpenWrt's ICU package and the ICU shipped with node.js. https://github.com/openwrt/packages/issues/15437 Signed-off-by: Hirokazu MORIKAWA --- lang/node/Makefile | 2 +- lang/node/patches/999-fix_icu_conflict.patch | 74 ++++++++++++++++++++ 2 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 lang/node/patches/999-fix_icu_conflict.patch diff --git a/lang/node/Makefile b/lang/node/Makefile index 126b79641..65e9bbdc3 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=node PKG_VERSION:=v14.16.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) diff --git a/lang/node/patches/999-fix_icu_conflict.patch b/lang/node/patches/999-fix_icu_conflict.patch new file mode 100644 index 000000000..0a4170a9e --- /dev/null +++ b/lang/node/patches/999-fix_icu_conflict.patch @@ -0,0 +1,74 @@ +--- a/tools/icu/icu-generic.gyp ++++ b/tools/icu/icu-generic.gyp +@@ -181,6 +181,7 @@ + '<(icu_path)/source/i18n/uspoof_wsconf.h', + ]}], + ], ++ 'include_dirs!': [ '