diff options
| author | J08nY | 2024-08-12 15:27:36 +0200 |
|---|---|---|
| committer | J08nY | 2024-08-12 15:27:36 +0200 |
| commit | 0c40cf3be9f67f4077c0ac0d991bac0f22bf2b90 (patch) | |
| tree | d00053a8c450a7b96982eceaa6e8366c62fb5fc7 | |
| parent | 23e27b1e8ab5769ac1578c2670b132a26b58fd7e (diff) | |
| download | ECTester-0c40cf3be9f67f4077c0ac0d991bac0f22bf2b90.tar.gz ECTester-0c40cf3be9f67f4077c0ac0d991bac0f22bf2b90.tar.zst ECTester-0c40cf3be9f67f4077c0ac0d991bac0f22bf2b90.zip | |
| -rw-r--r-- | flake.nix | 9 | ||||
| -rw-r--r-- | nix/botan-2.0.0-2.0.1.patch | 12 |
2 files changed, 21 insertions, 0 deletions
@@ -86,6 +86,15 @@ urls = [ "http://botan.randombit.net/releases/Botan-${version}.${source_extension}" ]; inherit hash; }; + patches = + if pkgs.lib.hasPrefix "2.0" version then + (prev.patches or [ ]) + ++ [ + # Fix missing include https://github.com/randombit/botan/issues/903 + ./nix/botan-2.0.0-2.0.1.patch + ] + else + [ ]; } ); diff --git a/nix/botan-2.0.0-2.0.1.patch b/nix/botan-2.0.0-2.0.1.patch new file mode 100644 index 0000000..3a19870 --- /dev/null +++ b/nix/botan-2.0.0-2.0.1.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/filters/threaded_fork.cpp b/src/lib/filters/threaded_fork.cpp +index 170264353e..d379eacda2 100644 +--- a/src/lib/filters/threaded_fork.cpp ++++ b/src/lib/filters/threaded_fork.cpp +@@ -12,6 +12,7 @@ + + #include <botan/internal/semaphore.h> + #include <botan/internal/barrier.h> ++#include <functional> + + namespace Botan { + |
