diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-09-11 19:54:52 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-09-11 19:54:52 +0000 |
commit | e9e1c8b1b803638c8fbeb5208a1bff994a56f895 (patch) | |
tree | e263abc7d0c3e6a7fbea29537a4c3e1a84c99385 /sys-kernel/ksymoops | |
parent | x86 stable wrt bug #336376 (diff) | |
download | gentoo-2-e9e1c8b1b803638c8fbeb5208a1bff994a56f895.tar.gz gentoo-2-e9e1c8b1b803638c8fbeb5208a1bff994a56f895.tar.bz2 gentoo-2-e9e1c8b1b803638c8fbeb5208a1bff994a56f895.zip |
Bug #336609: Fix _FORTIFY_SOURCE.
(Portage version: 2.2_rc75/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel/ksymoops')
-rw-r--r-- | sys-kernel/ksymoops/ChangeLog | 10 | ||||
-rw-r--r-- | sys-kernel/ksymoops/files/ksymoops-2.4.11-fortify-fix.patch | 12 | ||||
-rw-r--r-- | sys-kernel/ksymoops/ksymoops-2.4.11-r1.ebuild | 29 |
3 files changed, 49 insertions, 2 deletions
diff --git a/sys-kernel/ksymoops/ChangeLog b/sys-kernel/ksymoops/ChangeLog index dca30e45cb52..217870ac329b 100644 --- a/sys-kernel/ksymoops/ChangeLog +++ b/sys-kernel/ksymoops/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/ksymoops -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ksymoops/ChangeLog,v 1.26 2009/09/23 20:48:03 patrick Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ksymoops/ChangeLog,v 1.27 2010/09/11 19:54:52 robbat2 Exp $ + +*ksymoops-2.4.11-r1 (11 Sep 2010) + + 11 Sep 2010; Robin H. Johnson <robbat2@gentoo.org> + +ksymoops-2.4.11-r1.ebuild, +files/ksymoops-2.4.11-fortify-fix.patch: + Bug #336609: Fix _FORTIFY_SOURCE. 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> ksymoops-2.4.9.ebuild: Remove virtual/libc diff --git a/sys-kernel/ksymoops/files/ksymoops-2.4.11-fortify-fix.patch b/sys-kernel/ksymoops/files/ksymoops-2.4.11-fortify-fix.patch new file mode 100644 index 000000000000..073cd4ae3798 --- /dev/null +++ b/sys-kernel/ksymoops/files/ksymoops-2.4.11-fortify-fix.patch @@ -0,0 +1,12 @@ +diff -Nuar ksymoops-2.4.11.orig//oops.c ksymoops-2.4.11//oops.c +--- ksymoops-2.4.11.orig//oops.c 2004-11-21 01:06:05.000000000 +0000 ++++ ksymoops-2.4.11//oops.c 2010-09-11 19:27:57.629561191 +0000 +@@ -1174,7 +1174,7 @@ + { + int i; + addr_t b; +- char label[6]; ++ char label[8]; + static regex_t re_Oops_ia64_b0; + static regmatch_t *re_Oops_ia64_b0_pmatch; + static const char procname[] = "Oops_ia64_b0"; diff --git a/sys-kernel/ksymoops/ksymoops-2.4.11-r1.ebuild b/sys-kernel/ksymoops/ksymoops-2.4.11-r1.ebuild new file mode 100644 index 000000000000..3130e69c64fc --- /dev/null +++ b/sys-kernel/ksymoops/ksymoops-2.4.11-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ksymoops/ksymoops-2.4.11-r1.ebuild,v 1.1 2010/09/11 19:54:52 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="Utility to decode a kernel oops, or other kernel call traces" +HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/ksymoops/" +SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-fortify-fix.patch +} + +src_install() { + dobin ksymoops || die + doman ksymoops.8 + dodoc Changelog README README.XFree86 +} |