From 4a3a09bda767c768510615f82b0515d24072b645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Fri, 1 Nov 2019 22:36:44 +0000 Subject: 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) --- sysutils/procenv/files/patch-src_platform-headers.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sysutils/procenv/files/patch-src_platform-headers.h (limited to 'sysutils/procenv/files/patch-src_platform-headers.h') 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 ++#include + #endif + + #if defined (__GLIBC__) +@@ -263,7 +263,7 @@ typedef struct statfs procenv_mnt_type; + #include + + #if defined (HAVE_SYS_CAPABILITY_H) +-#include ++#include + #endif + + #define PROCENV_CPU_TYPE int -- cgit v1.2.3