diff options
author | Pavel Sobolev <paveloom@riseup.net> | 2023-11-18 16:16:32 +0300 |
---|---|---|
committer | Pavel Sobolev <paveloom@riseup.net> | 2023-11-18 16:17:30 +0300 |
commit | c5e3e874282778b57450fe9152f30bd22fab1f6e (patch) | |
tree | 0c7bc3fd15f9957f84dd28598323bcfac9fe7cbc /pkgs/applications/networking/compactor | |
parent | a569d58a920d2ca8d04996889c36fedb5041cf77 (diff) |
compactor: add a space after `Type` in `check-response-opt.sh`
Diffstat (limited to 'pkgs/applications/networking/compactor')
-rw-r--r-- | pkgs/applications/networking/compactor/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/networking/compactor/patches/add-a-space-after-type-in-check-response-opt-sh.patch | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/networking/compactor/default.nix b/pkgs/applications/networking/compactor/default.nix index 6ddc5b0c0098..84c0f6ae8ba5 100644 --- a/pkgs/applications/networking/compactor/default.nix +++ b/pkgs/applications/networking/compactor/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { hash = "sha256-5Z14suhO5ghhmZsSj4DsSoKm+ct2gQFO6qxhjmx4Xm4="; }; + patches = [ + ./patches/add-a-space-after-type-in-check-response-opt-sh.patch + ]; + nativeBuildInputs = [ asciidoctor autoreconfHook diff --git a/pkgs/applications/networking/compactor/patches/add-a-space-after-type-in-check-response-opt-sh.patch b/pkgs/applications/networking/compactor/patches/add-a-space-after-type-in-check-response-opt-sh.patch new file mode 100644 index 000000000000..3c82b3ae3ae8 --- /dev/null +++ b/pkgs/applications/networking/compactor/patches/add-a-space-after-type-in-check-response-opt-sh.patch @@ -0,0 +1,24 @@ +From 4535666b23d2ad3fa4066c720fc9b9e51fe4c549 Mon Sep 17 00:00:00 2001 +From: Pavel Sobolev <paveloom@riseup.net> +Date: Sat, 18 Nov 2023 16:11:05 +0300 +Subject: [PATCH] Add a space after `Type` in `check-response-opt.sh` + +--- + test-scripts/check-response-opt.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test-scripts/check-response-opt.sh b/test-scripts/check-response-opt.sh +index 2322bc8..f0e7e66 100755 +--- a/test-scripts/check-response-opt.sh ++++ b/test-scripts/check-response-opt.sh +@@ -50,7 +50,7 @@ fi + # Make text file with expected responses. + cat > $tmpdir/opt.gold <<EOF + Name: <Root> +-Type: OPT (41) ++Type: OPT (41) + UDP payload size: 4096 + Higher bits in extended RCODE: 0x00 + EDNS0 version: 0 +-- +2.42.0 |