summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.10.1-hppa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.10.1-hppa.patch')
-rw-r--r--package/busybox/busybox-1.10.1-hppa.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.10.1-hppa.patch b/package/busybox/busybox-1.10.1-hppa.patch
new file mode 100644
index 000000000..ee9caf236
--- /dev/null
+++ b/package/busybox/busybox-1.10.1-hppa.patch
@@ -0,0 +1,37 @@
+--- busybox-1.10.1/include/libbb.h Sat Apr 19 05:50:36 2008
++++ busybox-1.10.1-hppa/include/libbb.h Mon Apr 28 10:34:36 2008
+@@ -288,20 +288,20 @@
+ * SIGSYS Bad argument to routine
+ * SIGTRAP Trace/breakpoint trap
+ */
+- BB_FATAL_SIGS = 0
+- + (1 << SIGHUP)
+- + (1 << SIGINT)
+- + (1 << SIGTERM)
+- + (1 << SIGPIPE) // Write to pipe with no readers
+- + (1 << SIGQUIT) // Quit from keyboard
+- + (1 << SIGABRT) // Abort signal from abort(3)
+- + (1 << SIGALRM) // Timer signal from alarm(2)
+- + (1 << SIGVTALRM) // Virtual alarm clock
+- + (1 << SIGXCPU) // CPU time limit exceeded
+- + (1 << SIGXFSZ) // File size limit exceeded
+- + (1 << SIGUSR1) // Yes kids, these are also fatal!
+- + (1 << SIGUSR2)
+- + 0,
++ BB_FATAL_SIGS = (int)(0
++ + (1LL << SIGHUP)
++ + (1LL << SIGINT)
++ + (1LL << SIGTERM)
++ + (1LL << SIGPIPE) // Write to pipe with no readers
++ + (1LL << SIGQUIT) // Quit from keyboard
++ + (1LL << SIGABRT) // Abort signal from abort(3)
++ + (1LL << SIGALRM) // Timer signal from alarm(2)
++ + (1LL << SIGVTALRM) // Virtual alarm clock
++ + (1LL << SIGXCPU) // CPU time limit exceeded
++ + (1LL << SIGXFSZ) // File size limit exceeded
++ + (1LL << SIGUSR1) // Yes kids, these are also fatal!
++ + (1LL << SIGUSR2)
++ + 0),
+ };
+ void bb_signals(int sigs, void (*f)(int));
+ /* Unlike signal() and bb_signals, sets handler with sigaction()