man-db: fix after rebase

This commit is contained in:
DavHau 2022-04-17 16:13:40 +02:00 committed by Yt
parent 2030ed94c5
commit 9135ad098d
2 changed files with 14 additions and 19 deletions

View file

@ -1,4 +1,17 @@
{ lib, stdenv, fetchurl, pkg-config, libpipeline, db, groff, libiconv, makeWrapper, buildPackages, nixosTests }:
{ buildPackages
, db
, fetchurl
, groff
, lib
, libiconv
, libpipeline
, makeWrapper
, nixosTests
, pkg-config
, stdenv
, zstd
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "man-db";
@ -50,12 +63,7 @@ stdenv.mkDerivation rec {
"ac_cv_func_mempcpy=no"
];
preConfigure = ''
# deal with autoconf 2.70 bug: https://lists.gnu.org/archive/html/bug-autoconf/2020-12/msg00036.html
# can be removed once autoconf 2.71 is merged
patch < ${./fix-configure.patch}
configureFlagsArray+=("--with-sections=1 n l 8 3 0 2 5 4 9 6 7")
'';

View file

@ -1,13 +0,0 @@
--- configure 2021-04-29 09:58:14.430422095 +0000
+++ configure 2021-04-29 09:58:46.783454349 +0000
@@ -6018,8 +6018,9 @@
return 0;
}
_ACEOF
+
+ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
for ac_arg in '' ac_prog_cc_stdc=c89
- ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
do
CC="$ac_save_CC $ac_arg"
if ac_fn_c_try_compile "$LINENO"