diff options
| author | Marek Szuba <marecki@gentoo.org> | 2023-12-24 13:00:14 +0100 |
|---|---|---|
| committer | Marek Szuba <marecki@gentoo.org> | 2023-12-24 22:06:53 +0100 |
| commit | 44a48c8e81c84c23a6c4becd4591905e64624c30 (patch) | |
| tree | 881509cf70406af75ab9dec4c7536792d0d18db5 /net-misc/linuxptp/files/linuxptp-4.2-user_cpp.patch | |
| parent | aee708c081a9d18f0d8cbdc3aa061b152485e601 (diff) | |
| download | gentoo-44a48c8e81c84c23a6c4becd4591905e64624c30.tar.gz gentoo-44a48c8e81c84c23a6c4becd4591905e64624c30.tar.bz2 gentoo-44a48c8e81c84c23a6c4becd4591905e64624c30.zip | |
net-misc/linuxptp: add 4.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
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 |
