Commit db7b5f2b authored by Petr Zahradnik's avatar Petr Zahradnik
Browse files

unnethack: fix Darwin build

parent 4fe48a57
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
diff --git a/configure b/configure
index 8fca0b9cb..5d9ee20ac 100755
--- a/configure
+++ b/configure
@@ -8239,13 +8239,13 @@ printf '%s\n' "no" >&6; }
 fi
 
 
-if test "$HAVE_COL" != "yes" ; then
-        if test $host_os != mingw32; then
-                as_fn_error $? "Couldn't find 'col'" "$LINENO" 5
-        else
-                as_fn_error $? "Couldn't find 'col' (install 'util-linux' in Cygwin)" "$LINENO" 5
-        fi
-fi
+#if test "$HAVE_COL" != "yes" ; then
+#        if test $host_os != mingw32; then
+#                as_fn_error $? "Couldn't find 'col'" "$LINENO" 5
+#        else
+#                as_fn_error $? "Couldn't find 'col' (install 'util-linux' in Cygwin)" "$LINENO" 5
+#        fi
+#fi
 
 if test $host_os != mingw32; then
     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for pseudo random number device" >&5
+6 −0
Original line number Diff line number Diff line
@@ -21,6 +21,12 @@ stdenv.mkDerivation {
    hash = "sha256-45sybOM2zCPCCuHGZ5sEeJzkgcwvi3MhgOC1v1kRwWg=";
  };

  patches = [
    # util-linux does not contains "col" binary on Darwin. Only needed for documentation build.
    # https://github.com/util-linux/util-linux/commit/8886d84e25a457702b45194d69a47313f76dc6bc
    ./disable-col-check.patch
  ];

  buildInputs = [
    ncurses
    lua5_4