aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-11-10 21:39:11 +0100
committerUlrich Müller <ulm@gentoo.org>2014-11-10 21:39:11 +0100
commit07847684e6889d85675130b393047e48de0b9301 (patch)
treebb55328ba5e3333005ed179d165d3696fd2f5ffd
parentFix runtime failure when load-path contains a nil element, bug 528664. (diff)
downloademacs-patches-07847684e6889d85675130b393047e48de0b9301.tar.gz
emacs-patches-07847684e6889d85675130b393047e48de0b9301.tar.bz2
emacs-patches-07847684e6889d85675130b393047e48de0b9301.zip
Remove redundant _BSD_SOURCE macro causing warnings with glibc 2.20.emacs-23.4-patches-15
-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