aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/23.4/22_all_glibc-2.20.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/emacs/23.4/22_all_glibc-2.20.patch b/emacs/23.4/22_all_glibc-2.20.patch
new file mode 100644
index 0000000..538dc9e
--- /dev/null
+++ b/emacs/23.4/22_all_glibc-2.20.patch
@@ -0,0 +1,15 @@
+Remove redundant _BSD_SOURCE macro causing warnings with glibc 2.20.
+
+--- emacs-23.4-orig/src/s/gnu-linux.h
++++ emacs-23.4/src/s/gnu-linux.h
+@@ -210,10 +210,6 @@
+ /* alane@wozzle.linet.org says that -lipc is not a separate library,
+ since libc-4.4.1. So -lipc was deleted. */
+ #define LIBS_SYSTEM
+-/* _BSD_SOURCE is redundant, at least in glibc2, since we define
+- _GNU_SOURCE. Left in in case it's relevant to libc5 systems and
+- anyone's still using Emacs on those. --fx 2002-12-14 */
+-#define C_SWITCH_SYSTEM -D_BSD_SOURCE
+
+ /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
+ #define LIB_MOTIF -lXm -lXpm