summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-03-16 21:08:57 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-03-16 21:08:57 +0100
commit8acaea6d5717866133ad00e3f6f05ef7b84be176 (patch)
treef888fce06b4d050d8ecc83241cefd15935f0197a /pkgs/development/compilers
parent198d4fbe41930ec4e0075bf1c5cb3a200e2d94c3 (diff)
downloadnixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar.gz
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar.bz2
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar.lz
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar.xz
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.tar.zst
nixlib-8acaea6d5717866133ad00e3f6f05ef7b84be176.zip
gcc33: fix build on i686
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/gcc/3.3/default.nix7
1 files changed, 6 insertions, 1 deletions
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 = {