diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-01-10 13:30:01 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-01-10 13:30:01 +0100 |
commit | aa259840deb5357d69e3046c65b7047249f29987 (patch) | |
tree | bc2657a1e1a755a3c6bce0037902e2ba25a6bad5 /dev-ml/ppx_deriving | |
parent | www-client/chromium: security cleanup (diff) | |
download | gentoo-aa259840deb5357d69e3046c65b7047249f29987.tar.gz gentoo-aa259840deb5357d69e3046c65b7047249f29987.tar.bz2 gentoo-aa259840deb5357d69e3046c65b7047249f29987.zip |
dev-ml/ppx_deriving: add missing patch
Closes: https://bugs.gentoo.org/761076
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_deriving')
-rw-r--r-- | dev-ml/ppx_deriving/files/ounit2.patch | 128 | ||||
-rw-r--r-- | dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild | 4 |
2 files changed, 130 insertions, 2 deletions
diff --git a/dev-ml/ppx_deriving/files/ounit2.patch b/dev-ml/ppx_deriving/files/ounit2.patch new file mode 100644 index 000000000000..d81231557c97 --- /dev/null +++ b/dev-ml/ppx_deriving/files/ounit2.patch @@ -0,0 +1,128 @@ +Index: ppx_deriving-4.4.1/src_test/create/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/create/dune ++++ ppx_deriving-4.4.1/src_test/create/dune +@@ -1,4 +1,4 @@ + (test + (name test_deriving_create) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.create ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/deriving/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/deriving/dune ++++ ppx_deriving-4.4.1/src_test/deriving/dune +@@ -1,4 +1,4 @@ + (test + (name test_ppx_deriving) +- (libraries oUnit compiler-libs.common ppx_deriving.api) ++ (libraries ounit2 compiler-libs.common ppx_deriving.api) + (preprocess (pps ppx_deriving.ord ppx_deriving.show ppx_deriving.eq))) +Index: ppx_deriving-4.4.1/src_test/enum/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/enum/dune ++++ ppx_deriving-4.4.1/src_test/enum/dune +@@ -1,4 +1,4 @@ + (test + (name test_deriving_enum) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.enum ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/eq/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/eq/dune ++++ ppx_deriving-4.4.1/src_test/eq/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_eq) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.eq ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/fold/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/fold/dune ++++ ppx_deriving-4.4.1/src_test/fold/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_fold) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.fold))) +Index: ppx_deriving-4.4.1/src_test/iter/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/iter/dune ++++ ppx_deriving-4.4.1/src_test/iter/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_iter) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.iter ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/make/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/make/dune ++++ ppx_deriving-4.4.1/src_test/make/dune +@@ -1,4 +1,4 @@ + (test + (name test_deriving_make) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.make ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/map/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/map/dune ++++ ppx_deriving-4.4.1/src_test/map/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_map) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.map ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/ord/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/ord/dune ++++ ppx_deriving-4.4.1/src_test/ord/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_ord) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.ord))) +Index: ppx_deriving-4.4.1/src_test/runtime/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/runtime/dune ++++ ppx_deriving-4.4.1/src_test/runtime/dune +@@ -5,5 +5,5 @@ + + (test + (name test_runtime) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.eq ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/show/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/show/dune ++++ ppx_deriving-4.4.1/src_test/show/dune +@@ -5,5 +5,5 @@ + + (test + (name test_deriving_show) +- (libraries oUnit ppx_deriving.runtime) ++ (libraries ounit2 ppx_deriving.runtime) + (preprocess (pps ppx_deriving.show))) +Index: ppx_deriving-4.4.1/src_test/api/dune +=================================================================== +--- ppx_deriving-4.4.1.orig/src_test/api/dune ++++ ppx_deriving-4.4.1/src_test/api/dune +@@ -5,5 +5,5 @@ + + (test + (name test_api) +- (libraries oUnit compiler-libs.common ppx_deriving.api) ++ (libraries ounit2 compiler-libs.common ppx_deriving.api) + (preprocess (action (run ppxfind -legacy ppx_tools.metaquot --as-pp %{input-file})))) diff --git a/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild b/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild index 648dc3f3f471..47ccd56be1af 100644 --- a/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild +++ b/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ RESTRICT="!test? ( test )" DEPEND=" dev-ml/ppx_tools:= - dev-ml/ocaml-migrate-parsetree:= + <dev-ml/ocaml-migrate-parsetree-2.0.0:= dev-ml/ppx_derivers:= dev-ml/result:= " |