Debian Codegraph @

debian/patches/no-hugetlb

raw symbols SCIP
1 Description:
2 MAP_HUGETLB is Linux specific. Ignore when not available.
3 Author: Mattias Ellert <[email protected]>
4
5 diff -ur procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c procps-4.0.6/testsuite/ps.test/test-hugetlb.c
6 --- procps-4.0.6.orig/testsuite/ps.test/test-hugetlb.c 2026-01-29 10:48:26.000000000 +0100
7 +++ procps-4.0.6/testsuite/ps.test/test-hugetlb.c 2026-05-30 05:15:34.000000000 +0200
8 @@ -35,6 +35,10 @@
9 #include <string.h>
10 #include <sys/mman.h>
11
12 +#ifndef MAP_HUGETLB
13 +#define MAP_HUGETLB 0
14 +#endif
15 +
16 #define LENGTH (2*1024*1024)
17
18 void usage(const char *progname, const char *msg)