gopher: 3.0.17 -> 3.0.19

Also remove the patch, since this release fixes that issue

(cherry picked from commit 6041ea02f4)
This commit is contained in:
langsjo
2025-06-02 20:09:52 +03:00
committed by sternenseemann
parent 12e47ccf92
commit 26e2ab55d0
2 changed files with 2 additions and 19 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/configure b/configure
index 1b20711..79ce215 100644
--- a/configure
+++ b/configure
@@ -679,7 +679,7 @@ cat > conftest.$ac_ext << EOF
#line 680 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes

View File

@@ -7,21 +7,17 @@
stdenv.mkDerivation rec {
pname = "gopher";
version = "3.0.17";
version = "3.0.19";
src = fetchFromGitHub {
owner = "jgoerzen";
repo = "gopher";
rev = "release/${version}";
sha256 = "1j6xh5l8v231d4mwl9gj1c34dc0jmazz6zg1qqfxmqr9y609jq3h";
sha256 = "sha256-8J63TnC3Yq7+64PPLrlPEueMa9D/eWkPsb08t1+rPAA=";
};
buildInputs = [ ncurses ];
patches = [
./int_main.patch # https://github.com/jgoerzen/gopher/pull/8
];
preConfigure = "export LIBS=-lncurses";
meta = with lib; {