Skip to content

Commit

Permalink
use the series file for patching
Browse files Browse the repository at this point in the history
  • Loading branch information
richardyu-ms committed Apr 19, 2022
1 parent eabe38d commit 7ea2d09
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/thrift_0_14_1/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
wget -O "thrift_$(THRIFT_VERSION).tar.gz" "$(THRIFT_LINK_PRE)/$(THRIFT_VERSION)/thrift-$(THRIFT_VERSION).tar.gz"

tar -xvzf ./thrift_$(THRIFT_VERSION).tar.gz
if [ -f thrift.patch/series ]; then pushd thrift-$(THRIFT_VERSION) && QUILT_PATCHES=../thrift.patch quilt push -a; [ -d .pc ] && rm -rf .pc; popd; fi
pushd thrift-$(THRIFT_VERSION)

# Disable php perl and few other packages as they need additional packages to be installed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Subject: [PATCH] Fix security issue for package minimist
---
3 files changed, 9 insertions(+), 120 deletions(-)

diff --git a/lib/js/package-lock.json b/lib/js/package-lock.json
index ea1c04620..b68217af3 100644
--- a/lib/js/package-lock.json
+++ b/lib/js/package-lock.json
Index: thrift-0.14.1/lib/js/package-lock.json
===================================================================
--- thrift-0.14.1.orig/lib/js/package-lock.json
+++ thrift-0.14.1/lib/js/package-lock.json
@@ -1037,16 +1037,7 @@
"dev": true,
"requires": {
Expand Down Expand Up @@ -94,10 +94,10 @@ index ea1c04620..b68217af3 100644
},
"supports-color": {
"version": "5.5.0",
diff --git a/lib/ts/package-lock.json b/lib/ts/package-lock.json
index fddef4426..e7f4d46fd 100644
--- a/lib/ts/package-lock.json
+++ b/lib/ts/package-lock.json
Index: thrift-0.14.1/lib/ts/package-lock.json
===================================================================
--- thrift-0.14.1.orig/lib/ts/package-lock.json
+++ thrift-0.14.1/lib/ts/package-lock.json
@@ -1139,16 +1139,7 @@
"dev": true,
"requires": {
Expand Down Expand Up @@ -181,10 +181,10 @@ index fddef4426..e7f4d46fd 100644
},
"supports-color": {
"version": "5.5.0",
diff --git a/package-lock.json b/package-lock.json
index 9c1e5f581..83793eaaf 100644
--- a/package-lock.json
+++ b/package-lock.json
Index: thrift-0.14.1/package-lock.json
===================================================================
--- thrift-0.14.1.orig/package-lock.json
+++ thrift-0.14.1/package-lock.json
@@ -1427,16 +1427,7 @@
"integrity": "sha512-4vGP107UDhhNHeWA5N8j/nUPlQbtB/W/K2x/P7aElbWMWrOkJA0MRSVFsMFrTPSAAjZWCG9uki2+1cQDzFtVcQ==",
"dev": true,
Expand Down Expand Up @@ -266,4 +266,3 @@ index 9c1e5f581..83793eaaf 100644
"resolve": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz",

3 changes: 3 additions & 0 deletions src/thrift_0_14_1/thrift.patch/series
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0001-Remove-unneeded-packages.patch
0002-Fix-build-rules.patch
0003-Remove-minimist-packages.patch

0 comments on commit 7ea2d09

Please sign in to comment.