summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/knot-remove-runtime-deps.patch
diff options
context:
space:
mode:
authorAshish SHUKLA <[email protected]>2024-10-20 11:15:26 +0200
committerLudovic Courtès <[email protected]>2024-10-25 12:25:26 +0200
commita5338945c44be25e8f23b3f943b614a987c70f74 (patch)
treed029d093a054a64779d635992e00ef69faa09027 /gnu/packages/patches/knot-remove-runtime-deps.patch
parent03d0cf300e16dc92173a6500f5330aef3da1363b (diff)
gnu: knot: Update to 3.4.1.
* gnu/packages/dns.scm (knot): Update to 3.4.1. [source](patches) Add a patch. * gnu/packages/patches/knot-remove-runtime-deps.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. Change-Id: I2fcb61a161631954137eaf058bc7c6095fceef47 Signed-off-by: Ludovic Courtès <[email protected]>
Diffstat (limited to 'gnu/packages/patches/knot-remove-runtime-deps.patch')
-rw-r--r--gnu/packages/patches/knot-remove-runtime-deps.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/patches/knot-remove-runtime-deps.patch b/gnu/packages/patches/knot-remove-runtime-deps.patch
new file mode 100644
index 0000000000..8c5cf21d46
--- /dev/null
+++ b/gnu/packages/patches/knot-remove-runtime-deps.patch
@@ -0,0 +1,19 @@
+Following patch is imported from nixpkgs:
+
+source: https://github.com/NixOS/nixpkgs/pull/338995
+
+Remove unnecessary runtime dependencies.
+
+`knotc status configure` shows summary from the configure script,
+but that contains also references like include paths.
+Filter these at least in a crude way (whole lines).
+--- a/configure.ac
++++ b/configure.ac
+@@ -788,5 +788,5 @@ result_msg_base="
+-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
++result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
+
+ AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
+
+
+