summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-03 15:52:44 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-03 15:52:44 +0000
commit428e7366c1bd7f01d5e89eedb7577443ab468e89 (patch)
tree43355a3024af7fe7ca725d5dfe0937e2c42ad2f4
parentMarked ppc/ppc64 stable for bug #262744. (diff)
downloadhistorical-428e7366c1bd7f01d5e89eedb7577443ab468e89.tar.gz
historical-428e7366c1bd7f01d5e89eedb7577443ab468e89.tar.bz2
historical-428e7366c1bd7f01d5e89eedb7577443ab468e89.zip
Fixing gcc4.3 compile failure, patch from Magnus Granberg. Fixes #261100. EAPI2ified and ~amd64ed.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
-rw-r--r--mail-filter/p3scan/ChangeLog9
-rw-r--r--mail-filter/p3scan/Manifest5
-rw-r--r--mail-filter/p3scan/files/p3scan-ocreat.patch11
-rw-r--r--mail-filter/p3scan/p3scan-2.3.2.ebuild12
4 files changed, 30 insertions, 7 deletions
diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog
index 826fd51dfab5..66108191b2a3 100644
--- a/mail-filter/p3scan/ChangeLog
+++ b/mail-filter/p3scan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/p3scan
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.12 2007/04/09 20:42:40 ticho Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.13 2009/04/03 15:52:44 patrick Exp $
+
+ 03 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/p3scan-ocreat.patch, p3scan-2.3.2.ebuild:
+ Fixing gcc4.3 compile failure, patch from Magnus Granberg. Fixes #261100.
+ EAPI2ified and ~amd64ed.
*p3scan-2.3.2 (09 Apr 2007)
diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest
index b7301d1612e7..62e3f8c5e9c5 100644
--- a/mail-filter/p3scan/Manifest
+++ b/mail-filter/p3scan/Manifest
@@ -1,8 +1,9 @@
+AUX p3scan-ocreat.patch 433 RMD160 f4545bf316afc41918436f69f7850679766d6fc7 SHA1 7e019ba262b0020cc8bf6c2dd4d11e9e5456b8be SHA256 06f2d8bea897990df6d6b09a5fcb564f4a1e4eae37027a9a11a5cd62145d6670
AUX p3scan.init 612 RMD160 169ee83c5df7079aaae9359c10edc24c1d0c820c SHA1 1f7399362bf64fbc9db816d145c835cc1ece96df SHA256 8cd2a9029c045184667a098e136092505bf04b3223817b8013094a0440e43415
DIST p3scan-2.3.1.tar.gz 315677 RMD160 bb3ece736f44f2c8a8b919163fcb9d9d90ff7ec8 SHA1 896120aca194a96b34dbcf8f0e062afb8fbd8f41 SHA256 2c51185caddde414de13f7de9b94986145a6519deac1de655f38538113122329
DIST p3scan-2.3.2.tar.gz 321684 RMD160 ed5857d1e711d4f303eeddf03b8ab93fa6c2a3dd SHA1 bc2d01699d34183e78cef44ac6a229326473d5d4 SHA256 570bdf87132b23120339e247809dc2cf37c2735d504f4e1072528c04d940bb5f
EBUILD p3scan-2.3.1-r1.ebuild 2125 RMD160 8589d7a352c61021c02e343c19728706fef284cc SHA1 a3f49453e3326f054290cc3b57b6f15c57742ebb SHA256 e790014e9e7ef3db31c0abb8893c5c05c0ce7711371fa267ce9007f085ee8435
EBUILD p3scan-2.3.1.ebuild 2029 RMD160 95d1d38bc5abc90d92e5e31f485a794ac15e0ebb SHA1 3593f0f2f66765756943f957b0ed5a0fa65f0548 SHA256 1248fa2ed5c9bb565199aea686f051df3aa8b583d0e38d37631ceb364e7c02d0
-EBUILD p3scan-2.3.2.ebuild 2121 RMD160 1969ba2acd67108e5a74a0b46f816cebb322aae9 SHA1 25505566d7698f1d322aa698db2e5725c437c064 SHA256 4941e7246f24e245a7dae7fb4917673b0fb89a23e7b2a19ed0e7e96428445395
-MISC ChangeLog 2009 RMD160 792e080af5dd2e299d0317914644a6fa5c2fcea1 SHA1 fdc63abe1a6b8b7356448b4d79dcc87ca5fb3f61 SHA256 e49f27a4b694aa75003ce6dbd02f52e00a8e699668359cb26bc1014dfdfe1f55
+EBUILD p3scan-2.3.2.ebuild 2201 RMD160 7ff889031f210549796a91ab800022b4aaefbf95 SHA1 fa9233394a736a59073bc77a5231162c1ef692a2 SHA256 22ce1f0b3893ab79180653f18ee04ab606cfad6c1b256402021698e01e232b83
+MISC ChangeLog 2216 RMD160 0cd2cefae7856cca580f575f3ffb9253a6279448 SHA1 f1f4c856905fb88c1726bdeccc8b942fcc292d98 SHA256 e68b76b97f201ca5bd774e463f2d1f85885904ccd361683f5d80093de0d9c827
MISC metadata.xml 409 RMD160 5addb80d549a6bded7171e895652c0336d7f7160 SHA1 6a75719b6d3f69678028cae53f4fe02e910d6c14 SHA256 8b53ab62bbcc46fedd73c744afccb5cfd4d99571d30e65d3021115ba8a0ed16b
diff --git a/mail-filter/p3scan/files/p3scan-ocreat.patch b/mail-filter/p3scan/files/p3scan-ocreat.patch
new file mode 100644
index 000000000000..c99bc88a0a5f
--- /dev/null
+++ b/mail-filter/p3scan/files/p3scan-ocreat.patch
@@ -0,0 +1,11 @@
+--- p3scan.c 2005-12-12 15:00:00.000000000 +0000
++++ p3scan.c 2009-03-06 02:34:13.000000000 +0000
+@@ -366,7 +366,7 @@
+ XXXXXX[4] = letters[v % 62];
+ v /= 62;
+ XXXXXX[5] = letters[v % 62];
+- fd=open(template, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR | O_SYNC, 0600);
++ fd=open(template, O_RDWR | O_CREAT | O_EXCL | O_SYNC, 0600);
+ if (fd >= 0){
+ errno = save_errno;
+ return fd;
diff --git a/mail-filter/p3scan/p3scan-2.3.2.ebuild b/mail-filter/p3scan/p3scan-2.3.2.ebuild
index 8b87e69785ce..502eb33e1181 100644
--- a/mail-filter/p3scan/p3scan-2.3.2.ebuild
+++ b/mail-filter/p3scan/p3scan-2.3.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/p3scan-2.3.2.ebuild,v 1.1 2007/04/09 20:42:40 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/p3scan-2.3.2.ebuild,v 1.2 2009/04/03 15:52:44 patrick Exp $
+
+EAPI="2"
inherit eutils
@@ -13,9 +15,13 @@ RDEPEND="net-firewall/iptables"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
+src_prepare() {
+ epatch "${FILESDIR}/p3scan-ocreat.patch"
+}
+
src_compile() {
emake || die
}