diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 01:35:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 01:35:27 +0000 |
commit | 3cba520665a0461aa7b0ada016f4a0df717e37a2 (patch) | |
tree | 2a653051c7ea63b16724a5da9d583994530ab97b /net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch | |
parent | 8c39538f1e5cf37f42c409a6c742f96abef56f3b (diff) |
gentoo auto-resync : 25:12:2023 - 01:35:27
Diffstat (limited to 'net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch')
-rw-r--r-- | net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch b/net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch new file mode 100644 index 000000000000..f999ed0189b6 --- /dev/null +++ b/net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch @@ -0,0 +1,11 @@ +--- a/incdefs.sh ++++ b/incdefs.sh +@@ -27,7 +27,7 @@ + printf " -D_GNU_SOURCE" + + # Get list of directories searched for header files. +- dirs=$(${CC} -E -Wp,-v -xc /dev/null 2>&1 >/dev/null | grep ^" /") ++ dirs=$(echo "" | ${CPP} -Wp,-v - 2>&1 >/dev/null | grep ^" /") + + # Look for clock_adjtime(). + for d in $dirs; do |