aports/community/nix/lowdown-1-4.patch
Hoang Nguyen 8bdc71bad4 community/nix: upgrade to 2.24.12
Remove the setup for /nix directory structure. nix-daemon will handle
this on first run.
2025-02-17 07:50:48 +00:00

17 lines
695 B
Diff

The original patch only covers meson build. This file adds automake support.
Ref: https://github.com/NixOS/nix/pull/12115
diff --git a/configure.ac b/configure.ac
index 985815990..5c0ffce5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -386,6 +386,7 @@ AS_CASE(["$enable_markdown"],
CXXFLAGS="$LOWDOWN_CFLAGS $CXXFLAGS"
have_lowdown=1
AC_DEFINE(HAVE_LOWDOWN, 1, [Whether lowdown is available and should be used for Markdown rendering.])
+ AC_DEFINE(HAVE_LOWDOWN_1_4, 1, [Whether lowdown version 1.4.0 is available.])
], [
AS_IF([test "x$enable_markdown" == "xyes"], [AC_MSG_ERROR([--enable-markdown was specified, but lowdown was not found.])])
])