moc: fix build (undefined AM_ICONV from gettext) (#467170)

This commit is contained in:
Aleksana
2025-12-03 08:45:36 +00:00
committed by GitHub
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,17 @@
diff --git a/configure.in b/configure.in
index eb71bdf..ba056df 100644
--- a/configure.in
+++ b/configure.in
@@ -1,9 +1,12 @@
AC_INIT([Music On Console],[2.6-alpha3],[mocmaint@daper.net],[moc],
[http://moc.daper.net/])
+AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_SRCDIR([main.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip])
+AM_GNU_GETTEXT_VERSION([0.20])
+AM_GNU_GETTEXT([external])
AC_PREREQ([2.64])
+3
View File
@@ -6,6 +6,7 @@
pkg-config,
autoreconfHook,
autoconf-archive,
gettext,
ncurses,
db,
popt,
@@ -79,6 +80,7 @@ stdenv.mkDerivation {
})
./use-ax-check-compile-flag.patch
./fix_gettext_0_25.patch
]
++ lib.optional pulseSupport ./pulseaudio.patch;
@@ -90,6 +92,7 @@ stdenv.mkDerivation {
pkg-config
autoreconfHook
autoconf-archive
gettext
];
buildInputs = [