summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2009-04-07 19:30:24 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2009-04-07 19:30:24 +0000
commitcf8b4fe0d8dca150ce57c57faf33eb913949d29b (patch)
tree810bd64cc9fa5f057fe9d8da308fb6f1d7b1b822 /app-misc/mepl
parentStable on alpha, bug #264906 (diff)
downloadgentoo-2-cf8b4fe0d8dca150ce57c57faf33eb913949d29b.tar.gz
gentoo-2-cf8b4fe0d8dca150ce57c57faf33eb913949d29b.tar.bz2
gentoo-2-cf8b4fe0d8dca150ce57c57faf33eb913949d29b.zip
Patch for gcc 4.3.3, see bug #264286
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'app-misc/mepl')
-rw-r--r--app-misc/mepl/ChangeLog6
-rw-r--r--app-misc/mepl/files/gcc433.patch16
-rw-r--r--app-misc/mepl/mepl-0.45.ebuild8
3 files changed, 24 insertions, 6 deletions
diff --git a/app-misc/mepl/ChangeLog b/app-misc/mepl/ChangeLog
index 66aeef12d811..245f93358ae0 100644
--- a/app-misc/mepl/ChangeLog
+++ b/app-misc/mepl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/mepl
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/ChangeLog,v 1.9 2009/01/11 16:58:35 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/ChangeLog,v 1.10 2009/04/07 19:30:24 phosphan Exp $
+
+ 07 Apr 2009; Patrick Kursawe <phosphan@gentoo.org> +files/gcc433.patch,
+ mepl-0.45.ebuild:
+ Patch for gcc 4.3.3, see bug #264286
11 Jan 2009; Patrick Kursawe <phosphan@gentoo.org> mepl-0.45.ebuild:
Bug #243658: Respects and now, inserted a missing include directive.
diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch
new file mode 100644
index 000000000000..821f1330e377
--- /dev/null
+++ b/app-misc/mepl/files/gcc433.patch
@@ -0,0 +1,16 @@
+--- mepl.c 2009-04-07 21:17:32.000000000 +0200
++++ mepl.c.new 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.ebuild b/app-misc/mepl/mepl-0.45.ebuild
index 0a4e727ff927..4675c3c4dc8f 100644
--- a/app-misc/mepl/mepl-0.45.ebuild
+++ b/app-misc/mepl/mepl-0.45.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/mepl-0.45.ebuild,v 1.9 2009/01/11 16:58:35 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/mepl-0.45.ebuild,v 1.10 2009/04/07 19:30:24 phosphan Exp $
-inherit toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
HOMEPAGE="http://www.hof-berlin.de/mepl/"
@@ -20,9 +20,7 @@ S=${WORKDIR}/${PN}${PV}
src_unpack() {
unpack ${A}
cd "${S}"
- echo "#include <stdlib.h>" > tmpmepl.c
- cat mepl.c >> tmpmepl.c
- mv tmpmepl.c mepl.c
+ epatch "${FILESDIR}/gcc433.patch"
}
src_compile() {