Add patch from ebuild in-tree to fix build issue with signals on hppa
authorAndrew Gaffney <agaffney@gentoo.org>
Sat, 29 Mar 2008 19:27:57 +0000 (19:27 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Sat, 29 Mar 2008 19:27:57 +0000 (19:27 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@659 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
patches/busybox/1.7.4/busybox-1.7.4-signal-hack.patch [new file with mode: 0644]

index b8be7f97db8ada01acee6a45f7254d819a4dae03..e5570ca8007c5bf57f6a10d44d6467763cbe0b9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  29 Mar 2008; Andrew Gaffney <agaffney@gentoo.org>
+  +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 <agaffney@gentoo.org> 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 (file)
index 0000000..ba11830
--- /dev/null
@@ -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