diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff')
-rw-r--r-- | meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff b/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff new file mode 100644 index 000000000..56d2e159d --- /dev/null +++ b/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff | |||
@@ -0,0 +1,41 @@ | |||
1 | From dc9c8cf2676c8c91ea0ae250cfedf863352f3ccd Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 24 Jun 2011 20:24:08 +0200 | ||
4 | Subject: [PATCH] hack out check that tries to run generated binaries | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | configure.in | 17 +---------------- | ||
9 | 1 files changed, 1 insertions(+), 16 deletions(-) | ||
10 | |||
11 | diff --git a/configure.in b/configure.in | ||
12 | index c3aa371..1d3ecdc 100644 | ||
13 | --- a/configure.in | ||
14 | +++ b/configure.in | ||
15 | @@ -251,22 +251,7 @@ AC_SUBST(WARNING_CFLAGS) | ||
16 | |||
17 | dnl =========================================================================== | ||
18 | |||
19 | -dnl strftime checks | ||
20 | - | ||
21 | -AC_TRY_RUN([#include <time.h> | ||
22 | - int main () | ||
23 | - { | ||
24 | - char buf[100]; | ||
25 | - struct tm tm = {0}; | ||
26 | - tm.tm_year = 99; | ||
27 | - if (strftime(buf, 100, "%EY", &tm) == 4 && | ||
28 | - strcmp (buf, "1999")==0) | ||
29 | - return 0; | ||
30 | - return 1; | ||
31 | - } | ||
32 | - ], | ||
33 | - AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.]) | ||
34 | - ) | ||
35 | +AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.]) | ||
36 | |||
37 | dnl ========================================================================== | ||
38 | |||
39 | -- | ||
40 | 1.6.6.1 | ||
41 | |||