From 8acaea6d5717866133ad00e3f6f05ef7b84be176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 16 Mar 2013 21:08:57 +0100 Subject: [PATCH] gcc33: fix build on i686 --- pkgs/development/compilers/gcc/3.3/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc/3.3/default.nix b/pkgs/development/compilers/gcc/3.3/default.nix index 9aa9e27ac6f7..23501489925a 100644 --- a/pkgs/development/compilers/gcc/3.3/default.nix +++ b/pkgs/development/compilers/gcc/3.3/default.nix @@ -15,7 +15,12 @@ stdenv.mkDerivation { url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2; md5 = "6936616a967da5a0b46f1e7424a06414"; }; - + + # inspiration: https://aur.archlinux.org/packages/g77/ + postPatch = '' + substituteInPlace gcc/config/i386/linux.h --replace 'struct siginfo' siginfo_t + ''; + inherit noSysDirs langC langCC langFortran; meta = {