git.iko.soy/typeable/nixpkgs
on master help sign in
torcs: anonscm.debian.org has moved (#59316)

* torcs: anonscm.debian.org has moved the patch links returned a HTTP error 401 as anonscm.debian.org moved to a gitlab at salsa.debian.org I used the non access required download link generated by the new instance As @worldofpeace suggested in #58978 I used the last commit involving the files. * torcs: add patch on OpenALMusicPlayer.cpp Unbreak builds with GCC7

commit99b9166dd250b3c13978ee41b8e080083c1ec36f authoreri! <hans.orter@gmx.de> dateWed 24 Apr 2019, 21:26 (8 years ago) parent8570692
1 file changed+9−4
pkgs/games/torcs/default.nix+9−4
pkgs/games/torcs/default.nix+9−4
@@ -12,25 +12,30 @@ stdenv.mkDerivation rec {
1212
1313 patches = [
1414 (fetchpatch {
15− url = "https://salsa.debian.org/games-team/torcs/raw/master/debian/patches/gcc6-isnan.patch";
15+ url = "https://salsa.debian.org/games-team/torcs/raw/fb0711c171b38c4648dc7c048249ec20f79eb8e2/debian/patches/gcc6-isnan.patch";
1616 sha256 = "16scmq30vwb8429ah9d4ws0v1w6ai59lvn7hcgnvfzyap42ry876";
1717 })
1818 (fetchpatch {
19− url = "https://salsa.debian.org/games-team/torcs/raw/master/debian/patches/format-argument.patch";
19+ url = "https://salsa.debian.org/games-team/torcs/raw/fb0711c171b38c4648dc7c048249ec20f79eb8e2/debian/patches/format-argument.patch";
2020 sha256 = "04advcx88yh23ww767iysydzhp370x7cqp2wf9hk2y1qvw7mxsja";
2121 })
2222 (fetchpatch {
23− url = "https://salsa.debian.org/games-team/torcs/raw/master/debian/patches/glibc-default-source.patch";
23+ url = "https://salsa.debian.org/games-team/torcs/raw/fb0711c171b38c4648dc7c048249ec20f79eb8e2/debian/patches/glibc-default-source.patch";
2424 sha256 = "0k4hgpddnhv68mdc9ics7ah8q54j60g394d7zmcmzg6l3bjd9pyp";
2525 })
26+ (fetchpatch {
27+ url = "https://salsa.debian.org/games-team/torcs/raw/32bbe77c68b4de07b28c34497f3c0ad666ee618d/debian/patches/gcc7.patch";
28+ sha256 = "09iilnvdv8h7b4nb1372arszkbz9hbzsck4rimzz1xjdh9ydniw9";
29+ })
2630 ];
2731
2832 postPatch = ''
2933 sed -i -e s,/bin/bash,`type -P bash`, src/linux/torcs.in
3034 '';
3135
36+ nativeBuildInputs = [ makeWrapper ];
3237 buildInputs = [ libGLU freeglut libX11 plib openal freealut libXrandr xorgproto
33− libXext libSM libICE libXi libXt libXrender libXxf86vm libpng zlib libvorbis makeWrapper ];
38+ libXext libSM libICE libXi libXt libXrender libXxf86vm libpng zlib libvorbis ];
3439
3540 installTargets = "install datainstall";
3641