summaryrefslogtreecommitdiff
path: root/app-text/epstool/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/epstool/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/epstool/files')
-rw-r--r--app-text/epstool/files/gcc43.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/epstool/files/gcc43.patch b/app-text/epstool/files/gcc43.patch
new file mode 100644
index 000000000000..b50250a9af1a
--- /dev/null
+++ b/app-text/epstool/files/gcc43.patch
@@ -0,0 +1,20 @@
+--- a/src/epstool.c
++++ b/src/epstool.c
+@@ -2824,7 +2824,7 @@
+ code = -1;
+ }
+ if ((code==0) && stdout_name && (hChildStdoutWr == -1)) {
+- handle = open(stdout_name, O_WRONLY | O_CREAT);
++ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644);
+ hChildStdoutWr = dup2(handle, 1);
+ if (handle != -1)
+ close(handle);
+@@ -2832,7 +2832,7 @@
+ code = -1;
+ }
+ if ((code==0) && stderr_name && (hChildStderrWr == -1)) {
+- handle = open(stderr_name, O_WRONLY | O_CREAT);
++ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644);
+ hChildStderrWr = dup2(handle, 2);
+ if (handle != -1)
+ close(handle);