diff options
Diffstat (limited to 'app-misc/mepl/files')
-rw-r--r-- | app-misc/mepl/files/gcc433.patch | 16 | ||||
-rw-r--r-- | app-misc/mepl/files/mepl-0.45-gcc433.patch | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch new file mode 100644 index 000000000000..0fd857a9ae30 --- /dev/null +++ b/app-misc/mepl/files/gcc433.patch @@ -0,0 +1,16 @@ +--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200 ++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200 +@@ -1,3 +1,4 @@ ++#include <stdlib.h> + #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999" + /* Version: @(#) mepl.c 0.45 + Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200 +@@ -347,7 +347,7 @@ + errz=0; + do { + error=0; +- resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT); /* In Datei zwischenspeichern */ ++ resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT,0600); /* In Datei zwischenspeichern */ + sendstr(ATSENDMEM); + line[2]=0; + /* Erstes Zeichen suchen */ diff --git a/app-misc/mepl/files/mepl-0.45-gcc433.patch b/app-misc/mepl/files/mepl-0.45-gcc433.patch new file mode 100644 index 000000000000..0fd857a9ae30 --- /dev/null +++ b/app-misc/mepl/files/mepl-0.45-gcc433.patch @@ -0,0 +1,16 @@ +--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200 ++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200 +@@ -1,3 +1,4 @@ ++#include <stdlib.h> + #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999" + /* Version: @(#) mepl.c 0.45 + Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200 +@@ -347,7 +347,7 @@ + errz=0; + do { + error=0; +- resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT); /* In Datei zwischenspeichern */ ++ resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT,0600); /* In Datei zwischenspeichern */ + sendstr(ATSENDMEM); + line[2]=0; + /* Erstes Zeichen suchen */ |