summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-12-07 21:51:09 +0100
committerUlrich Müller <ulm@gentoo.org>2017-12-07 21:51:09 +0100
commite4b04acc0d5c0e2368ef65b3054be812533fb4e1 (patch)
treee8ecec195236147fa92f2d6e984e53d5332e538c
parentREADME: Update to new location of repository. (diff)
downloademacs-patches-e4b04acc0d5c0e2368ef65b3054be812533fb4e1.tar.gz
emacs-patches-e4b04acc0d5c0e2368ef65b3054be812533fb4e1.tar.bz2
emacs-patches-e4b04acc0d5c0e2368ef65b3054be812533fb4e1.zip
Fix compilation with glibc-2.26, bug 639562.emacs-18.59-patches-10
-rw-r--r--emacs/18.59/14_all_sigsys.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/emacs/18.59/14_all_sigsys.patch b/emacs/18.59/14_all_sigsys.patch
new file mode 100644
index 0000000..049cd76
--- /dev/null
+++ b/emacs/18.59/14_all_sigsys.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/639562
+
+--- emacs-18.59-orig/src/ChangeLog
++++ emacs-18.59/src/ChangeLog
+@@ -1,3 +1,8 @@
++2017-12-07 Ulrich Müller <ulm@gentoo.org>
++
++ * s-linux.h (SIGSYS): Don't redefine. Fixes compilation with
++ glibc-2.26 headers.
++
+ 2015-12-20 Ulrich Mueller <ulm@gentoo.org>
+
+ * s-linux.h (SYSTEM_MALLOC): Define. Fixes hanging at runtime
+--- emacs-18.59-orig/src/s-linux.h
++++ emacs-18.59/src/s-linux.h
+@@ -225,8 +225,6 @@
+ #define MAXNAMLEN NAME_MAX /* missing SYSV-ism */
+ #endif
+
+-#undef SIGSYS
+-#define SIGSYS SIGUNUSED /* rename to harmless work-alike */
+ #define VSWTCH VSWTC /* mis-spelling in termios.h? */
+
+ /* we have non-standard standard I/O (iostream) ... */