From 3c4236f34b916d792bc779d1a8010d34b1a19566 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sat, 29 Mar 2008 19:27:57 +0000 Subject: [PATCH] Add patch from ebuild in-tree to fix build issue with signals on hppa git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@659 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 4 +++ .../1.7.4/busybox-1.7.4-signal-hack.patch | 28 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch diff --git a/ChangeLog b/ChangeLog index b8be7f9..e5570ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 29 Mar 2008; Andrew Gaffney + +patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch: + Add patch from ebuild in-tree to fix build issue with signals on hppa + 14 Mar 2008; Andrew Gaffney gen_cmdline.sh, gen_determineargs.sh: Get rid of --initramfs option as it doesn't do anything anymore diff --git a/patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch b/patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch new file mode 100644 index 0000000..ba11830 --- /dev/null +++ b/patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch @@ -0,0 +1,28 @@ +workaround while we get it fixed upstream + +http://bugs.gentoo.org/201114 + +--- libbb/u_signal_names.c ++++ libbb/u_signal_names.c +@@ -66,7 +66,7 @@ + #ifdef SIGTERM + [SIGTERM ] = "TERM", + #endif +-#ifdef SIGSTKFLT ++#if defined(SIGSTKFLT) && SIGSTKFLT < 32 + [SIGSTKFLT] = "STKFLT", + #endif + #ifdef SIGCHLD +@@ -90,10 +90,10 @ + #ifdef SIGURG + [SIGURG ] = "URG", + #endif +-#ifdef SIGXCPU ++#if defined(SIGXCPU) && SIGXCPU < 32 + [SIGXCPU ] = "XCPU", + #endif +-#ifdef SIGXFSZ ++#if defined(SIGXFSZ) && SIGXFSZ < 32 + [SIGXFSZ ] = "XFSZ", + #endif + #ifdef SIGVTALRM -- 2.26.2