nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #233783 from OPNA2608/update/fbc

fbc: 1.09.0 -> 1.10.0

authored by

Felix Bühler and committed by
GitHub
eea7fbca c0e990a5

+2 -30
+2 -30
pkgs/development/compilers/fbc/default.nix
··· 2 2 , buildPackages 3 3 , lib 4 4 , fetchzip 5 - , fetchpatch 6 5 , gpm 7 6 , libffi 8 7 , libGL ··· 14 15 15 16 stdenv.mkDerivation rec { 16 17 pname = "fbc"; 17 - version = "1.09.0"; 18 + version = "1.10.0"; 18 19 19 20 src = fetchzip { 20 21 # Bootstrap tarball has sources pretranslated from FreeBASIC to C 21 22 url = "https://github.com/freebasic/fbc/releases/download/${version}/FreeBASIC-${version}-source-bootstrap.tar.xz"; 22 - sha256 = "1q1gxp5kjz4vkcs9jl0x01v8qm1q2j789lgvxvikzd591ay0xini"; 23 + hash = "sha256-7FmyEfykOAgHaL2AG8zIgftzOszhwVzNKEqskiLGpfk="; 23 24 }; 24 - 25 - patches = [ 26 - # Fixes fbc_tests.udt_wstring_.midstmt ascii getting stuck due to stack corruption 27 - # Remove when >1.09.0 28 - (fetchpatch { 29 - name = "fbc-tests-Fix-stack-corruption.patch"; 30 - url = "https://github.com/freebasic/fbc/commit/42f4f6dfdaafdd5302a647152f16cda78e4ec904.patch"; 31 - excludes = [ "changelog.txt" ]; 32 - sha256 = "sha256-Bn+mnTIkM2/uM2k/b9+Up4HJ7SJWwfD3bWLJsSycFRE="; 33 - }) 34 - # Respect SOURCE_DATE_EPOCH when set 35 - # Remove when >1.09.0 36 - (fetchpatch { 37 - name = "fbc-SOURCE_DATE_EPOCH-support.patch"; 38 - url = "https://github.com/freebasic/fbc/commit/74ea6efdcfe9a90d1c860f64d11ab4a6cd607269.patch"; 39 - excludes = [ "changelog.txt" ]; 40 - sha256 = "sha256-v5FTi4vKOvSV03kigZDiOH8SEGEphhzkBL6p1hd+NtU="; 41 - }) 42 - ]; 43 25 44 26 postPatch = '' 45 27 patchShebangs tests/warnings/test.sh 46 - 47 - # Some tests lack proper dependency on libstdc++ 48 - for missingStdcpp in tests/cpp/{class,call2}-fbc.bas; do 49 - sed -i -e "/'"' TEST_MODE : /a #inclib "stdc++"' $missingStdcpp 50 - done 51 - 52 - # Help compiler find libstdc++ with gcc backend 53 - sed -i -e '/fbcAddLibPathFor( "libgcc.a" )/a fbcAddLibPathFor( "libstdc++.so" )' src/compiler/fbc.bas 54 28 ''; 55 29 56 30 dontConfigure = true;