app-misc/mepl: rename patch.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 2 Feb 2017 23:00:33 +0000 (00:00 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 2 Feb 2017 23:25:11 +0000 (00:25 +0100)
Package-Manager: portage-2.3.3

app-misc/mepl/files/mepl-0.45-gcc433.patch [new file with mode: 0644]
app-misc/mepl/mepl-0.45-r1.ebuild

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 (file)
index 0000000..0fd857a
--- /dev/null
@@ -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 */
index aa2c0ede0822ab0e822d92b8f8196a7576c89877..2392f7e5586d1b64ff92cda45b4f3712adeb928c 100644 (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