diff options
Diffstat (limited to 'app-emulation/gxemul/files/gxemul-0.6.0-fix-mkstemp-test.patch')
-rw-r--r-- | app-emulation/gxemul/files/gxemul-0.6.0-fix-mkstemp-test.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app-emulation/gxemul/files/gxemul-0.6.0-fix-mkstemp-test.patch b/app-emulation/gxemul/files/gxemul-0.6.0-fix-mkstemp-test.patch new file mode 100644 index 000000000000..cf8b18379cd4 --- /dev/null +++ b/app-emulation/gxemul/files/gxemul-0.6.0-fix-mkstemp-test.patch @@ -0,0 +1,10 @@ +--- a/configure 2012-11-03 09:08:09.373041529 +0000 ++++ b/configure 2012-11-03 09:08:31.999585979 +0000 +@@ -705,6 +705,7 @@ + # mkstemp missing? + printf "checking for mkstemp... " + printf "#include <unistd.h> ++#include <stdlib.h> + int main(int argc, char *argv[]) { int x; char *y = \"abc\"; + x = mkstemp(y); return 0;}\n" > _tests.cc + $CXX $CXXFLAGS _tests.cc -o _tests 2> /dev/null |