diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/gxemul/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/gxemul/files')
-rw-r--r-- | app-emulation/gxemul/files/0.6.0-fix-mkstemp-test.patch | 10 | ||||
-rw-r--r-- | app-emulation/gxemul/files/0.6.0-fix-mymkstemp.patch | 11 | ||||
-rw-r--r-- | app-emulation/gxemul/files/0.6.0-gcc46.patch | 16 |
3 files changed, 37 insertions, 0 deletions
diff --git a/app-emulation/gxemul/files/0.6.0-fix-mkstemp-test.patch b/app-emulation/gxemul/files/0.6.0-fix-mkstemp-test.patch new file mode 100644 index 000000000000..88883309b909 --- /dev/null +++ b/app-emulation/gxemul/files/0.6.0-fix-mkstemp-test.patch @@ -0,0 +1,10 @@ +--- configure 2012-11-03 09:08:09.373041529 +0000 ++++ configure.new 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 diff --git a/app-emulation/gxemul/files/0.6.0-fix-mymkstemp.patch b/app-emulation/gxemul/files/0.6.0-fix-mymkstemp.patch new file mode 100644 index 000000000000..80d69f92c827 --- /dev/null +++ b/app-emulation/gxemul/files/0.6.0-fix-mymkstemp.patch @@ -0,0 +1,11 @@ +--- src/old_main/misc.cc 2012-11-03 08:47:34.309732354 +0000 ++++ src/old_main/misc.cc.new 2012-11-03 08:47:02.096573614 +0000 +@@ -122,7 +122,7 @@ + p++; + } + +- h = open(templ, O_RDWR, 0600); ++ h = open(templ, O_CREAT | O_RDWR, 0600); + return h; + } + diff --git a/app-emulation/gxemul/files/0.6.0-gcc46.patch b/app-emulation/gxemul/files/0.6.0-gcc46.patch new file mode 100644 index 000000000000..eb0ce26b6e1c --- /dev/null +++ b/app-emulation/gxemul/files/0.6.0-gcc46.patch @@ -0,0 +1,16 @@ + src/include/refcount_ptr.h | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/src/include/refcount_ptr.h b/src/include/refcount_ptr.h +index 4645769..ebabd58 100644 +--- a/src/include/refcount_ptr.h ++++ b/src/include/refcount_ptr.h +@@ -1,6 +1,8 @@ + #ifndef REFCOUNT_PTR_H + #define REFCOUNT_PTR_H + ++#include <stddef.h> ++ + /* + * Copyright (C) 2007-2010 Anders Gavare. All rights reserved. + * |