cdk: 5.0-20210109 -> 5.0-20221025

This commit is contained in:
Anthony Roussel 2023-01-08 21:55:38 +01:00
parent 082e0c7ca7
commit 679aa9c62c
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E
2 changed files with 7 additions and 24 deletions

View file

@ -2,23 +2,18 @@
stdenv.mkDerivation rec {
pname = "cdk";
version ="5.0-20210109";
buildInputs = [
ncurses
];
version = "5.0-20221025";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/cdk/cdk-${version}.tgz"
"https://invisible-mirror.net/archives/cdk/cdk-${version}.tgz"
];
sha256 = "sha256-xBbJh793tPGycD18XkM7qUWMi+Uma/RUy/gBrYfnKTY=";
hash = "sha256-A8z6Icn8PWHd0P2hnaVFNZBVu+71ociC37n/SPN0avI=";
};
patches = [
# Proposed upstream as https://lists.gnu.org/archive/html/bug-ncurses/2021-12/msg00004.html
./parallel.patch
buildInputs = [
ncurses
];
enableParallelBuilding = true;
@ -26,8 +21,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Curses development kit";
homepage = "https://invisible-island.net/cdk/";
license = licenses.bsdOriginal ;
maintainers = [ maintainers.raskin ];
changelog = "https://invisible-island.net/cdk/CHANGES";
license = licenses.mit;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}

View file

@ -1,13 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -296,7 +296,9 @@ LIB_OBJECT = @LIB_OBJECT@
all sources :: $(AUTO_SRC)
-$(OBJECTS) : include/cdk_config.h
+# make sure we generate all headers before trying
+# to build first source file.
+$(OBJECTS) : $(MY_HDR)
#
# Standard library directive.