- Add libsigsegv-kernel-3.18.2.patch: Since kernel 3.18.2, a stack overflow gives a SIGBUS, no longer SIGSEGV. quite urgent, as this is a ring package currently breaking all stagings, as it does not cope with kernel 3.18.3 as-is. OBS-URL: https://build.opensuse.org/request/show/282995 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsigsegv?expand=0&rev=8
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
Index: libsigsegv-2.10/src/Makefile.am
|
|
===================================================================
|
|
--- libsigsegv-2.10.orig/src/Makefile.am
|
|
+++ libsigsegv-2.10/src/Makefile.am
|
|
@@ -57,7 +57,7 @@ noinst_HEADERS = \
|
|
fault-solaris.h fault-solaris-i386.h fault-solaris-sparc.h \
|
|
machfault.h machfault-macos.h \
|
|
signals.h signals-bsd.h signals-hpux.h signals-hurd.h signals-macos.h \
|
|
- leave.h \
|
|
+ signals-linux.h leave.h \
|
|
stackvma.h
|
|
|
|
EXTRA_DIST = \
|
|
Index: libsigsegv-2.10/src/signals.h
|
|
===================================================================
|
|
--- libsigsegv-2.10.orig/src/signals.h
|
|
+++ libsigsegv-2.10/src/signals.h
|
|
@@ -1,4 +1,4 @@
|
|
-/* List of signals. Generic Unix version.
|
|
+/* List of signals. Hurd version.
|
|
Copyright (C) 2002 Bruno Haible <bruno@clisp.org>
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
@@ -18,4 +18,4 @@
|
|
/* List of signals that are sent when an invalid virtual memory address
|
|
is accessed, or when the stack overflows. */
|
|
#define SIGSEGV_FOR_ALL_SIGNALS(var,body) \
|
|
- { int var; var = SIGSEGV; { body } }
|
|
+ { int var; var = SIGSEGV; { body } var = SIGBUS; { body } }
|