summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-06 07:36:09 +0000
committerEray Aslan <eras@gentoo.org>2011-06-06 07:36:09 +0000
commit0f9911670ba95d635f44eda9cd0bd463fc2976cc (patch)
treebef642dd494d0906b4695e9bf104b1ad1bd8bd3a /net-mail
parentLinux-3.0 changes. (diff)
downloadgentoo-2-0f9911670ba95d635f44eda9cd0bd463fc2976cc.tar.gz
gentoo-2-0f9911670ba95d635f44eda9cd0bd463fc2976cc.tar.bz2
gentoo-2-0f9911670ba95d635f44eda9cd0bd463fc2976cc.zip
fix implicit declerations
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/serialmail/ChangeLog6
-rw-r--r--net-mail/serialmail/files/serialmail-0.75-implicit.patch42
-rw-r--r--net-mail/serialmail/serialmail-0.75-r4.ebuild7
3 files changed, 51 insertions, 4 deletions
diff --git a/net-mail/serialmail/ChangeLog b/net-mail/serialmail/ChangeLog
index a3873e35a56f..569a857381f9 100644
--- a/net-mail/serialmail/ChangeLog
+++ b/net-mail/serialmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/serialmail
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/ChangeLog,v 1.21 2011/02/07 10:43:44 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/ChangeLog,v 1.22 2011/06/06 07:36:09 eras Exp $
+
+ 06 Jun 2011; Eray Aslan <eras@gentoo.org> serialmail-0.75-r4.ebuild,
+ +files/serialmail-0.75-implicit.patch:
+ Fix implicit declerations
*serialmail-0.75-r4 (07 Feb 2011)
diff --git a/net-mail/serialmail/files/serialmail-0.75-implicit.patch b/net-mail/serialmail/files/serialmail-0.75-implicit.patch
new file mode 100644
index 000000000000..988fa31bb92c
--- /dev/null
+++ b/net-mail/serialmail/files/serialmail-0.75-implicit.patch
@@ -0,0 +1,42 @@
+commit 3672e8edd2887775168c4c6c0c670a80dd413825
+Author: Eray Aslan <eras@gentoo.org>
+Date: Mon Jun 6 07:12:06 2011 +0000
+
+ Add missing includes for incompatible implicit declaration warnings.
+
+diff --git a/leapsecs_read.c b/leapsecs_read.c
+index c8f975f..248632d 100644
+--- a/leapsecs_read.c
++++ b/leapsecs_read.c
+@@ -2,6 +2,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <stdlib.h>
+ #include "tai.h"
+ #include "leapsecs.h"
+
+diff --git a/maildirserial.c b/maildirserial.c
+index 707470e..09214db 100644
+--- a/maildirserial.c
++++ b/maildirserial.c
+@@ -1,5 +1,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <stdlib.h>
++#include "exit.h"
+ #include "sgetopt.h"
+ #include "scan.h"
+ #include "stralloc.h"
+diff --git a/myMd5.c b/myMd5.c
+index 5f41908..869a7f9 100644
+--- a/myMd5.c
++++ b/myMd5.c
+@@ -25,6 +25,7 @@
+ */
+
+ #include "myMd5.h"
++#include <string.h>
+
+ /* Constants for MD5Transform routine. */
+ #define S11 7
diff --git a/net-mail/serialmail/serialmail-0.75-r4.ebuild b/net-mail/serialmail/serialmail-0.75-r4.ebuild
index efc740d3601b..10a49230affa 100644
--- a/net-mail/serialmail/serialmail-0.75-r4.ebuild
+++ b/net-mail/serialmail/serialmail-0.75-r4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/serialmail-0.75-r4.ebuild,v 1.1 2011/02/07 10:43:44 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/serialmail/serialmail-0.75-r4.ebuild,v 1.2 2011/06/06 07:36:09 eras Exp $
-EAPI="3"
+EAPI=4
inherit eutils
@@ -30,11 +30,12 @@ src_prepare() {
sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc
use static && LDFLAGS="${LDFLAGS} -static"
sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld
+ epatch "${FILESDIR}"/${P}-implicit.patch
}
src_compile() {
grep -v man hier.c | grep -v doc > hier.c.tmp ; mv hier.c.tmp hier.c
- emake it man || die
+ emake it man
}
src_install() {