diff options
Diffstat (limited to 'dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch')
-rw-r--r-- | dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch b/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch new file mode 100644 index 000000000000..42d1027aba22 --- /dev/null +++ b/dev-haskell/hunit/files/hunit-1.6.2.0-prevent-abi-change.patch @@ -0,0 +1,20 @@ +From: hololeap <hololeap@protonmail.com> +Signed-off-by: hololeap <hololeap@protonmail.com> + +When dependencies change (for instance switching from USE=-test to USE=test) +the ABI hash for the package changes, causing reverse-dependencies to break. +This keeps the dependencies the same whether tests are enabled or not. + +diff -urN HUnit-1.6.2.0/HUnit.cabal HUnit-1.6.2.0-r1/HUnit.cabal +--- HUnit-1.6.2.0/HUnit.cabal 2022-08-28 14:11:57.178837140 -0600 ++++ HUnit-1.6.2.0-r1/HUnit.cabal 2022-08-28 14:12:38.558837160 -0600 +@@ -32,7 +32,8 @@ + build-depends: + base ==4.*, + call-stack >=0.3.0, +- deepseq ++ deepseq, ++ filepath + exposed-modules: + Test.HUnit.Base + Test.HUnit.Lang |