aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/eel/eel/eel-no-strftime.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/eel/eel/eel-no-strftime.patch')
-rw-r--r--recipes/eel/eel/eel-no-strftime.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/eel/eel/eel-no-strftime.patch b/recipes/eel/eel/eel-no-strftime.patch
new file mode 100644
index 0000000000..a5795e573e
--- /dev/null
+++ b/recipes/eel/eel/eel-no-strftime.patch
@@ -0,0 +1,29 @@
+--- /tmp/configure.in 2008-09-05 14:01:25.000000000 +0200
++++ eel-2.22.2/configure.in 2008-09-05 14:01:58.693198000 +0200
+@@ -98,26 +98,6 @@
+
+
+
+-dnl ===========================================================================
+-
+-dnl strftime checks
+-
+-AC_TRY_RUN([#include <time.h>
+- int main ()
+- {
+- char buf[100];
+- struct tm tm = {0};
+- tm.tm_year = 99;
+- if (strftime(buf, 100, "%EY", &tm) == 4 &&
+- strcmp (buf, "1999")==0)
+- return 0;
+- return 1;
+- }
+- ],
+- AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
+- )
+-
+-dnl ===========================================================================
+
+ dnl X development libraries check
+