summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2013-05-19 14:34:21 +0000
committerJason A. Donenfeld <zx2c4@gentoo.org>2013-05-19 14:34:21 +0000
commitde0b848dbacf7f1a5d80f00320955bc673df7b78 (patch)
tree0f0faeb9c1acc0766c58af2ab88ffd554e15395a /mail-mta/opensmtpd
parentversion bump wrt #466910 thanks to Magnus Kessler for the patchelf hint (diff)
downloadgentoo-2-de0b848dbacf7f1a5d80f00320955bc673df7b78.tar.gz
gentoo-2-de0b848dbacf7f1a5d80f00320955bc673df7b78.tar.bz2
gentoo-2-de0b848dbacf7f1a5d80f00320955bc673df7b78.zip
Now compiles without strict aliasing rules.
(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'mail-mta/opensmtpd')
-rw-r--r--mail-mta/opensmtpd/ChangeLog9
-rw-r--r--mail-mta/opensmtpd/files/build-warnings.patch26
-rw-r--r--mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild (renamed from mail-mta/opensmtpd/opensmtpd-5.3.2_p1.ebuild)2
3 files changed, 9 insertions, 28 deletions
diff --git a/mail-mta/opensmtpd/ChangeLog b/mail-mta/opensmtpd/ChangeLog
index eb9889a27a47..c406ea5755d7 100644
--- a/mail-mta/opensmtpd/ChangeLog
+++ b/mail-mta/opensmtpd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for mail-mta/opensmtpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.14 2013/05/18 17:59:49 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.15 2013/05/19 14:34:21 zx2c4 Exp $
+
+*opensmtpd-5.3.2_p1-r1 (19 May 2013)
+
+ 19 May 2013; Jason A. Donenfeld <zx2c4@gentoo.org>
+ +opensmtpd-5.3.2_p1-r1.ebuild, -opensmtpd-5.3.2_p1.ebuild,
+ files/build-warnings.patch:
+ Now compiles without strict aliasing rules.
18 May 2013; Jason A. Donenfeld <zx2c4@gentoo.org> opensmtpd-5.3.2_p1.ebuild:
Change to correct directory.
diff --git a/mail-mta/opensmtpd/files/build-warnings.patch b/mail-mta/opensmtpd/files/build-warnings.patch
index 5732da99aa5c..c7d8c95a15cc 100644
--- a/mail-mta/opensmtpd/files/build-warnings.patch
+++ b/mail-mta/opensmtpd/files/build-warnings.patch
@@ -11,29 +11,3 @@ index 2d4e151..ac1ab37 100644
//#include "buffer.h"
/* wrapper for signal interface */
-diff --git a/openbsd-compat/imsg-buffer.c b/openbsd-compat/imsg-buffer.c
-index 7223ad7..7c4d686 100644
---- a/openbsd-compat/imsg-buffer.c
-+++ b/openbsd-compat/imsg-buffer.c
-@@ -256,7 +256,7 @@ msgbuf_write(struct msgbuf *msgbuf)
- cmsg->cmsg_len = CMSG_LEN(sizeof(int));
- cmsg->cmsg_level = SOL_SOCKET;
- cmsg->cmsg_type = SCM_RIGHTS;
-- *(int *)CMSG_DATA(cmsg) = buf->fd;
-+ memcpy(CMSG_DATA(cmsg), &buf->fd, sizeof(int));
- }
-
- again:
-diff --git a/smtpd/mproc.c b/smtpd/mproc.c
-index 7d9e593..d152784 100644
---- a/smtpd/mproc.c
-+++ b/smtpd/mproc.c
-@@ -230,7 +230,7 @@ msgbuf_write2(struct msgbuf *msgbuf)
- cmsg->cmsg_len = CMSG_LEN(sizeof(int));
- cmsg->cmsg_level = SOL_SOCKET;
- cmsg->cmsg_type = SCM_RIGHTS;
-- *(int *)CMSG_DATA(cmsg) = buf->fd;
-+ memcpy(CMSG_DATA(cmsg), &buf->fd, sizeof(int));
- }
-
- again:
diff --git a/mail-mta/opensmtpd/opensmtpd-5.3.2_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild
index 89161569d5c5..349803b022cf 100644
--- a/mail-mta/opensmtpd/opensmtpd-5.3.2_p1.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.2_p1.ebuild,v 1.2 2013/05/18 17:59:49 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/opensmtpd-5.3.2_p1-r1.ebuild,v 1.1 2013/05/19 14:34:21 zx2c4 Exp $
EAPI=5