Blame SOURCES/glibc-rh1505492-undef-42.patch

c6d234
commit 180e0e4b29e4950cd411144c7b9dab1f850853d9
c6d234
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
c6d234
Date:   Thu Jul 10 14:21:27 2014 +0530
c6d234
c6d234
    Fix -Wundef warning for HAVE_LOCALTIME_R
c6d234
    
c6d234
    Define it to 0.  There is a gnulib copy for this, but it is out of
c6d234
    sync with our copy.
c6d234
c6d234
diff --git a/time/strptime_l.c b/time/strptime_l.c
c6d234
index 7bc5ed3eb0a349ce..14d50a2e879a2c5c 100644
c6d234
--- a/time/strptime_l.c
c6d234
+++ b/time/strptime_l.c
c6d234
@@ -28,6 +28,7 @@
c6d234
 #include <stdbool.h>
c6d234
 
c6d234
 #ifdef _LIBC
c6d234
+# define HAVE_LOCALTIME_R 0
c6d234
 # include "../locale/localeinfo.h"
c6d234
 #endif
c6d234