aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openscap/fix-ppc64le-path_max.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2020-05-02 11:02:48 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-05-02 11:04:17 +0000
commita4bc5133f38d376b234160b621dfc21e61330838 (patch)
tree33dcd82a4cd1dea5703232a643bdcaa97aab34cc /testing/openscap/fix-ppc64le-path_max.patch
parent1938283e2c5c033b7b9beabd5a34b6c5b8da46aa (diff)
downloadaports-a4bc5133f38d376b234160b621dfc21e61330838.tar.bz2
aports-a4bc5133f38d376b234160b621dfc21e61330838.tar.xz
testing/openscap: udpate patch for PATH_MAX on ppcl64 arch
Diffstat (limited to 'testing/openscap/fix-ppc64le-path_max.patch')
-rw-r--r--testing/openscap/fix-ppc64le-path_max.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/openscap/fix-ppc64le-path_max.patch b/testing/openscap/fix-ppc64le-path_max.patch
index 7636391803..1810966f06 100644
--- a/testing/openscap/fix-ppc64le-path_max.patch
+++ b/testing/openscap/fix-ppc64le-path_max.patch
@@ -8,3 +8,15 @@
#include "_seap.h"
#include "probe-api.h"
+diff --git a/src/OVAL/probes/unix/process58_probe.c b/src/OVAL/probes/unix/process58_probe.c
+index 95ef0a7..3ab2cb0 100644
+--- a/src/OVAL/probes/unix/process58_probe.c
++++ b/src/OVAL/probes/unix/process58_probe.c
+@@ -67,6 +67,7 @@
+ #include <fcntl.h>
+ #include <sched.h>
+ #include <time.h>
++#include <limits.h>
+
+ #ifdef HAVE_PROC_DEVNAME_H
+ #include <proc/devname.h>