diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-02-03 00:00:33 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-02-03 00:25:11 +0100 |
commit | 2092e830d45949bd1cb5d1e5091b01519cd803ac (patch) | |
tree | 45493608a1dab907d069c276b61f9b8bc4bf913d /app-misc | |
parent | app-misc/mepl: EAPI 6 bump. (diff) | |
download | gentoo-2092e830d45949bd1cb5d1e5091b01519cd803ac.tar.gz gentoo-2092e830d45949bd1cb5d1e5091b01519cd803ac.tar.bz2 gentoo-2092e830d45949bd1cb5d1e5091b01519cd803ac.zip |
app-misc/mepl: rename patch.
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-misc')
-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 |