diff options
Diffstat (limited to 'app-misc/mepl')
-rw-r--r-- | app-misc/mepl/files/mepl-0.45-gcc433.patch | 16 | ||||
-rw-r--r-- | app-misc/mepl/mepl-0.45-r1.ebuild | 2 |
2 files changed, 17 insertions, 1 deletions
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 */ diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild b/app-misc/mepl/mepl-0.45-r1.ebuild index aa2c0ede0822..2392f7e5586d 100644 --- a/app-misc/mepl/mepl-0.45-r1.ebuild +++ b/app-misc/mepl/mepl-0.45-r1.ebuild @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~ppc ~x86" S="${WORKDIR}/${PN}${PV}" -PATCHES=( "${FILESDIR}/gcc433.patch" ) +PATCHES=( "${FILESDIR}/${P}-gcc433.patch" ) src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en |