diff options
author | John Wiegley <johnw@newartisans.com> | 2014-05-27 12:57:50 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-05-27 12:57:50 -0500 |
commit | 93936fdf8af22e243b367ce616e1efd8ccc76d3a (patch) | |
tree | 6ef84f70dab7d738a6608f00f9619556f6792d4b /pkgs/games/crafty/malloc.patch | |
parent | 4fa451887550588674025822c7d94787fad8da20 (diff) | |
download | nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar.gz nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar.bz2 nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar.lz nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar.xz nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.tar.zst nixlib-93936fdf8af22e243b367ce616e1efd8ccc76d3a.zip |
Add expression for building crafty and craftyFull
Diffstat (limited to 'pkgs/games/crafty/malloc.patch')
-rw-r--r-- | pkgs/games/crafty/malloc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/games/crafty/malloc.patch b/pkgs/games/crafty/malloc.patch new file mode 100644 index 000000000000..39b5afe8ddac --- /dev/null +++ b/pkgs/games/crafty/malloc.patch @@ -0,0 +1,11 @@ +--- a/chess.h ++++ b/chess.h +@@ -25,7 +25,7 @@ + #include <assert.h> + #include <stdlib.h> + #if !defined(IPHONE) +-# include <malloc.h> ++# include <sys/malloc.h> + #endif + #include <string.h> + #if !defined(TYPES_INCLUDED) |