Loading pkgs/by-name/go/gopher/int_main.patchdeleted 100644 → 0 +0 −13 Original line number Diff line number Diff line 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 pkgs/by-name/go/gopher/package.nix +2 −6 Original line number Diff line number Diff line Loading @@ -7,21 +7,17 @@ stdenv.mkDerivation rec { pname = "gopher"; version = "3.0.18"; version = "3.0.19"; src = fetchFromGitHub { owner = "jgoerzen"; repo = "gopher"; rev = "release/${version}"; sha256 = "sha256-YAcpEV3SbiUZ4nqYk6k1M41YWdTGSSH7rNB15gv31qQ="; 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; { Loading Loading
pkgs/by-name/go/gopher/int_main.patchdeleted 100644 → 0 +0 −13 Original line number Diff line number Diff line 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
pkgs/by-name/go/gopher/package.nix +2 −6 Original line number Diff line number Diff line Loading @@ -7,21 +7,17 @@ stdenv.mkDerivation rec { pname = "gopher"; version = "3.0.18"; version = "3.0.19"; src = fetchFromGitHub { owner = "jgoerzen"; repo = "gopher"; rev = "release/${version}"; sha256 = "sha256-YAcpEV3SbiUZ4nqYk6k1M41YWdTGSSH7rNB15gv31qQ="; 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; { Loading