summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-03-12 00:50:06 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-03-12 00:50:06 +0000
commit1753a6db48e1225eb8e65af39bc0119abd8c97c8 (patch)
tree350444c3034edf341c9cfdb7996ad8dd95306c33 /sys-apps
parentpoppler-bindings needs cairo too; bug #262111 (diff)
downloadhistorical-1753a6db48e1225eb8e65af39bc0119abd8c97c8.tar.gz
historical-1753a6db48e1225eb8e65af39bc0119abd8c97c8.tar.bz2
historical-1753a6db48e1225eb8e65af39bc0119abd8c97c8.zip
fix compile failure with _FORTIFY_SOURCE=2, patch by Magnus Granberg <zorry AT ume DOT nu> in bug 261320
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/einit/ChangeLog7
-rw-r--r--sys-apps/einit/Manifest11
-rw-r--r--sys-apps/einit/einit-0.40.0.ebuild3
-rw-r--r--sys-apps/einit/files/einit-0.40.0-open_mode.patch11
4 files changed, 25 insertions, 7 deletions
diff --git a/sys-apps/einit/ChangeLog b/sys-apps/einit/ChangeLog
index f5c9d0f60b30..986dcafd9b57 100644
--- a/sys-apps/einit/ChangeLog
+++ b/sys-apps/einit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/einit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit/ChangeLog,v 1.18 2009/02/19 09:35:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit/ChangeLog,v 1.19 2009/03/12 00:50:05 fauli Exp $
+
+ 12 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
+ +files/einit-0.40.0-open_mode.patch, einit-0.40.0.ebuild:
+ fix compile failure with _FORTIFY_SOURCE=2, patch by Magnus Granberg
+ <zorry AT ume DOT nu> in bug 261320
19 Feb 2009; Christian Faulhammer <fauli@gentoo.org> einit-0.40.0.ebuild:
don't use fixed string but use the HOMEPAGE variable in pkg_postinst
diff --git a/sys-apps/einit/Manifest b/sys-apps/einit/Manifest
index ad9130da5685..83dec7983d29 100644
--- a/sys-apps/einit/Manifest
+++ b/sys-apps/einit/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX einit-0.40.0-open_mode.patch 403 RMD160 6abc3f02bc3e53124596b9667b20f0116d7fe406 SHA1 10ee8e3ff7dbcfffacc8ee1e73291d078e4624ff SHA256 229589224a2c4f737252ff6c66e723786a360837a2d94fec6df6c8c0c34a2e28
DIST einit-0.40.0.tar.bz2 362552 RMD160 8d8e11dc1998c97bd80a04560afcccf9aa341d8c SHA1 89a17617a60f06d7a85a399409c6f51f9fdc3f59 SHA256 215cdbaace4a10321abd2cbe5e9eaefc75e137732dff096e83d06347cf408e14
-EBUILD einit-0.40.0.ebuild 1613 RMD160 9da6a6be724ff1ca9f41fbd296f98a03ec032612 SHA1 d405f52bdb5325bb95840ca7a4c90e3770e8b051 SHA256 4a5a433174345d7ac81544e8720fa26f1aaefa111a4dc8f4463ae813f7657688
-MISC ChangeLog 2393 RMD160 e90547c26f54726398dfd3ba5988e282de46a43a SHA1 53f1b61afd45f8909aabfb7dacf4a2d0a50c9b28 SHA256 6dcaa4319daf739f4dd304cda058d7c50cabc06033e0201d349d500f05eb6505
+EBUILD einit-0.40.0.ebuild 1669 RMD160 6bfd4aeabc51162d44b902b2e9b9cb50f8b335ff SHA1 d600428d9199f5ce433247fb8d3963f4eb6ac5f9 SHA256 dca526a6e725da0f9cb213a4b2918973daae6b7565bb4da43ae9786e8fe9c360
+MISC ChangeLog 2618 RMD160 5412a9e43f89781087d87ff3cb5919fc5b79967e SHA1 7c73623098bb7726a6c811dcc12ca850a6661d72 SHA256 0bf40d4af2997dd21953dae49b7d9cf373f4b8afd2e5aef481cfce7828209b5e
MISC metadata.xml 491 RMD160 63a924ca92aad225143c9c7205aa7766177d250c SHA1 50966c102d2cae76e0d942bbfa63ab77c40213de SHA256 0696b752f7a7779381ba2b63846c1beca0dfa1aca95a102c427d2920a96d1403
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkmdJ/4ACgkQNQqtfCuFneNMnQCaAiuOth8XmxwEpM6PYDNWajaL
-SfsAoIvmVOXURUTlXPJ9nH2D7QMmsO4i
-=9obO
+iEYEARECAAYFAkm4XF0ACgkQNQqtfCuFneOwEACfQCEag3glLf7w32V8RGMxmV9D
+r4wAnAshjO6y7OTpLH+eDywwMrdK6Uag
+=FjE0
-----END PGP SIGNATURE-----
diff --git a/sys-apps/einit/einit-0.40.0.ebuild b/sys-apps/einit/einit-0.40.0.ebuild
index 82c6d8ec4235..7605959a2231 100644
--- a/sys-apps/einit/einit-0.40.0.ebuild
+++ b/sys-apps/einit/einit-0.40.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit/einit-0.40.0.ebuild,v 1.7 2009/02/19 09:35:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit/einit-0.40.0.ebuild,v 1.8 2009/03/12 00:50:05 fauli Exp $
EAPI="1"
@@ -35,6 +35,7 @@ pkg_setup() {
src_unpack() {
unpack ${A} || die
python_version || die
+ cd "${S}" && epatch "${FILESDIR}"/${P}-open_mode.patch
}
src_compile() {
diff --git a/sys-apps/einit/files/einit-0.40.0-open_mode.patch b/sys-apps/einit/files/einit-0.40.0-open_mode.patch
new file mode 100644
index 000000000000..23b677362510
--- /dev/null
+++ b/sys-apps/einit/files/einit-0.40.0-open_mode.patch
@@ -0,0 +1,11 @@
+--- src/modules/linux/linux-urandom.c 2008-02-25 22:13:55.000000000 +0000
++++ src/modules/linux/linux-urandom.c 2009-03-10 22:54:50.000000000 +0000
+@@ -59,7 +59,7 @@
+
+ int from_fd = open(from, O_RDONLY);
+ if (from_fd) {
+- int to_fd = open(to, O_WRONLY | O_CREAT);
++ int to_fd = open(to, O_WRONLY | O_CREAT, 0644);
+ if (to_fd) {
+ char buffer[s];
+ memset (buffer, 0, s);