diff options
| author | Breno Leitao <breno.leitao@gmail.com> | 2017-04-25 22:06:21 +0000 |
|---|---|---|
| committer | Breno Leitao <breno.leitao@gmail.com> | 2017-04-25 22:15:51 +0000 |
| commit | a9202ec8b3ccf78288f7a5d639dbdc8e2bbdb317 (patch) | |
| tree | 7c024287fad37385b5719fdc8701291cc7aa2885 /testing/audit/0004-path_max.patch | |
| parent | ee2490bc6c2227f3afc6a6227339361d6ef994b2 (diff) | |
| download | aports-a9202ec8b3ccf78288f7a5d639dbdc8e2bbdb317.tar.bz2 aports-a9202ec8b3ccf78288f7a5d639dbdc8e2bbdb317.tar.xz | |
testing/audit: Disable python3 binding on ppc64le
Python3 bindings for ppc64le is breaking due to swig break with stray
'/'. Disabling it for now.
Diffstat (limited to 'testing/audit/0004-path_max.patch')
| -rw-r--r-- | testing/audit/0004-path_max.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/audit/0004-path_max.patch b/testing/audit/0004-path_max.patch new file mode 100644 index 0000000000..a9892bb551 --- /dev/null +++ b/testing/audit/0004-path_max.patch @@ -0,0 +1,23 @@ +From ab123cbbffe90aefe1579d2708bae43e53e5afb4 Tue April 25 00:00:00 2001 +From: Breno Leitao <breno.leitao@gmail.com> +Date: Tue, 25 April 2017 12:33:43 +0000 +Subject: [PATCH] Define PATH_MAX if not defined + +PATH_MAX is not being defined on ppc64le, which causes a FTBFS. +This patch check that it is defined, otherwise, defines it. + +Signed-off-by: Breno Leitao <breno.leitao@gmail.com> + +--- a/lib/libaudit.h ++++ b/lib/libaudit.h +@@ -637,6 +637,10 @@ + int audit_can_write(void); + int audit_can_read(void); + ++#if !defined(PATH_MAX) ++#define PATH_MAX 4096 ++#endif ++ + #ifdef __cplusplus + } + #endif |
