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

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