diff options
author | Stefan Eßer <se@FreeBSD.org> | 2019-11-01 22:36:44 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2019-11-01 22:36:44 +0000 |
commit | 4a3a09bda767c768510615f82b0515d24072b645 (patch) | |
tree | a7763d5ecb06e507a215bf3748698b0c8ac89f82 /sysutils/procenv/files/patch-src_platform-headers.h | |
parent | Update to upstream version 1.7.19 (diff) |
Unbreak build and prefer cc over gcc in show_compiler_details, if both
are installed.
In place replacements are changed to patches to make the locations of
changes visible for eventual upstreaming,
Approved by: antoine (implicit)
Notes
Notes:
svn path=/head/; revision=516273
Diffstat (limited to 'sysutils/procenv/files/patch-src_platform-headers.h')
-rw-r--r-- | sysutils/procenv/files/patch-src_platform-headers.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/procenv/files/patch-src_platform-headers.h b/sysutils/procenv/files/patch-src_platform-headers.h new file mode 100644 index 000000000000..1ff64e94c384 --- /dev/null +++ b/sysutils/procenv/files/patch-src_platform-headers.h @@ -0,0 +1,20 @@ +--- src/platform-headers.h.orig 2019-08-02 20:40:49 UTC ++++ src/platform-headers.h +@@ -98,7 +98,7 @@ typedef struct statfs procenv_mnt_type; + #endif + + #if defined (HAVE_SYS_CAPABILITY_H) +-#include <sys/capability.h> ++#include <sys/capsicum.h> + #endif + + #if defined (__GLIBC__) +@@ -263,7 +263,7 @@ typedef struct statfs procenv_mnt_type; + #include <link.h> + + #if defined (HAVE_SYS_CAPABILITY_H) +-#include <sys/capability.h> ++#include <sys/capsicum.h> + #endif + + #define PROCENV_CPU_TYPE int |