commit:     07847684e6889d85675130b393047e48de0b9301
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 10 20:39:11 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 10 20:39:11 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=07847684

Remove redundant _BSD_SOURCE macro causing warnings with glibc 2.20.

---
 emacs/23.4/22_all_glibc-2.20.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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 @@
+ /* [email protected] 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 <[email protected]> says this is needed.  */
+ #define LIB_MOTIF -lXm -lXpm

Reply via email to