nixpkgs/pkgs/tools/text/groff
Dmitry Bogatov a8040c700a groff: fix static build
Without manual override following problematic code in generated
"configure" script (line 15918):

  case "$host_os" in
    # Guess yes on glibc systems.
    *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;;
    # Guess yes on native Windows.
    mingw*)        gl_cv_func_signbit="guessing yes" ;;
    # If we don't know, assume the worst.
    *)             gl_cv_func_signbit="guessing no" ;;
  esac

results in declaration conflict with gnulib declaring

  int signbit(double)

while system "math.h" providing modern declaration as

  constexpr bool signbit(double)
2021-01-02 08:44:20 +01:00
..
0001-Fix-cross-compilation-by-looking-for-ar.patch
default.nix groff: fix static build 2021-01-02 08:44:20 +01:00
site.tmac