mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
@@ -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
|
||||
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user