diff options
Diffstat (limited to 'meta/packages/tar/tar-1.17/m4extensions.patch')
-rw-r--r-- | meta/packages/tar/tar-1.17/m4extensions.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/tar/tar-1.17/m4extensions.patch b/meta/packages/tar/tar-1.17/m4extensions.patch new file mode 100644 index 0000000000..11b981aa92 --- /dev/null +++ b/meta/packages/tar/tar-1.17/m4extensions.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | # Define AC_USE_SYSTEM_EXTENSIONS only if it was previously undefined. | ||
2 | # This is needed to configure correctly with newer versions of autoconf. | ||
3 | |||
4 | --- tar-1.17/m4/extensions.m4.orig 2010-07-22 22:21:35.000000000 -0700 | ||
5 | +++ tar-1.17/m4/extensions.m4 2010-07-22 22:23:41.000000000 -0700 | ||
6 | @@ -1,4 +1,4 @@ | ||
7 | -# serial 4 -*- Autoconf -*- | ||
8 | +# serial 5 -*- Autoconf -*- | ||
9 | # Enable extensions on systems that normally disable them. | ||
10 | |||
11 | # Copyright (C) 2003, 2006 Free Software Foundation, Inc. | ||
12 | @@ -16,6 +16,7 @@ | ||
13 | # ------------------------ | ||
14 | # Enable extensions on systems that normally disable them, | ||
15 | # typically due to standards-conformance issues. | ||
16 | +m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [ | ||
17 | AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], | ||
18 | [ | ||
19 | AC_BEFORE([$0], [AC_COMPILE_IFELSE]) | ||
20 | @@ -48,7 +49,7 @@ | ||
21 | AC_DEFINE([__EXTENSIONS__]) | ||
22 | AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) | ||
23 | AC_DEFINE([_TANDEM_SOURCE]) | ||
24 | -]) | ||
25 | +])]) | ||
26 | |||
27 | # gl_USE_SYSTEM_EXTENSIONS | ||
28 | # ------------------------ | ||