diff options
Diffstat (limited to 'recipes-security/sssd/files/0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch')
| -rw-r--r-- | recipes-security/sssd/files/0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-security/sssd/files/0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch b/recipes-security/sssd/files/0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch new file mode 100644 index 0000000..b64670c --- /dev/null +++ b/recipes-security/sssd/files/0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From d54aa109600bcd02bf72cfe64c01935890a102a1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Jonatan=20P=C3=A5lsson?= <jonatan.p@gmail.com> | ||
| 3 | Date: Fri, 21 Aug 2020 14:45:10 +0200 | ||
| 4 | Subject: [PATCH] build: Don't use AC_CHECK_FILE when building manpages | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | AC_CHECK_FILE does not support cross-compilation, and will only check | ||
| 10 | the host rootfs. Replace AC_CHECK_FILE with a 'test -f <FILE>' instead, | ||
| 11 | to allow building manpages when cross-compiling. | ||
| 12 | |||
| 13 | Upstream-status: Submitted [https://github.com/SSSD/sssd/pull/5289] | ||
| 14 | Signed-off-by: Jonatan PÄlsson <jonatan.p@gmail.com> | ||
| 15 | --- | ||
| 16 | src/external/docbook.m4 | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/src/external/docbook.m4 b/src/external/docbook.m4 | ||
| 20 | index deb8632fa..acdc89a68 100644 | ||
| 21 | --- a/src/external/docbook.m4 | ||
| 22 | +++ b/src/external/docbook.m4 | ||
| 23 | @@ -18,7 +18,7 @@ dnl Checks if the XML catalog given by FILE exists and | ||
| 24 | dnl if a particular URI appears in the XML catalog | ||
| 25 | AC_DEFUN([CHECK_STYLESHEET], | ||
| 26 | [ | ||
| 27 | - AC_CHECK_FILE($1, [], [AC_MSG_ERROR([could not find XML catalog])]) | ||
| 28 | + AS_IF([test -f "$1"], [], [AC_MSG_ERROR([could not find XML catalog])]) | ||
| 29 | |||
| 30 | AC_MSG_CHECKING([for ifelse([$3],,[$2],[$3]) in XML catalog]) | ||
| 31 | if AC_RUN_LOG([$XSLTPROC --catalogs --nonet --noout "$2" >&2]); then | ||
| 32 | -- | ||
| 33 | 2.26.1 | ||
| 34 | |||
