Fixed dosbox expression
svn path=/nixpkgs/branches/stdenv-updates/; revision=15220
This commit is contained in:
parent
5b9c5c62be
commit
883eb4371c
@ -9,6 +9,19 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [SDL];
|
buildInputs = [SDL];
|
||||||
|
|
||||||
|
# Add missing includes in order to fix compilation with glibc 2.9
|
||||||
|
patchPhase = ''
|
||||||
|
echo "#include <string.h>" > tmp.cpp
|
||||||
|
for i in src/hardware/gameblaster.cpp src/hardware/tandy_sound.cpp
|
||||||
|
do
|
||||||
|
cat tmp.cpp $i > $i.new
|
||||||
|
mv $i.new $i
|
||||||
|
done
|
||||||
|
echo "#include <stdlib.h>" > tmp.cpp
|
||||||
|
cat tmp.cpp src/shell/shell_cmds.cpp > src/shell/shell_cmds.cpp.new
|
||||||
|
mv src/shell/shell_cmds.cpp.new src/shell/shell_cmds.cpp
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.dosbox.com/;
|
homepage = http://www.dosbox.com/;
|
||||||
|
@ -98,6 +98,7 @@ in {
|
|||||||
docbook_xml_dtd_42 = all;
|
docbook_xml_dtd_42 = all;
|
||||||
docbook_xml_dtd_43 = all;
|
docbook_xml_dtd_43 = all;
|
||||||
docbook_xsl = all;
|
docbook_xsl = all;
|
||||||
|
dosbox = linux;
|
||||||
doxygen = linux;
|
doxygen = linux;
|
||||||
e2fsprogs = linux;
|
e2fsprogs = linux;
|
||||||
emacs22 = all;
|
emacs22 = all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user