app-misc/mepl: rename patch.

Package-Manager: portage-2.3.3
This commit is contained in:
Patrice Clement
2017-02-03 00:00:33 +01:00
parent 4505a21043
commit 2092e830d4
2 changed files with 17 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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