diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /net-misc/lldpd/files | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'net-misc/lldpd/files')
-rw-r--r-- | net-misc/lldpd/files/lldpd-1.0.5-cpp.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/lldpd/files/lldpd-1.0.5-cpp.patch b/net-misc/lldpd/files/lldpd-1.0.5-cpp.patch new file mode 100644 index 000000000000..0c3fc1964d40 --- /dev/null +++ b/net-misc/lldpd/files/lldpd-1.0.5-cpp.patch @@ -0,0 +1,13 @@ +diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am +index 0d5f2f3..cc41a8a 100644 +--- a/src/daemon/Makefile.am ++++ b/src/daemon/Makefile.am +@@ -108,7 +108,7 @@ CLEANFILES += syscall-names.h + syscall-names.h: + $(AM_V_GEN) + $(AM_V_at)echo "static const char *syscall_names[] = {" > $@ ;\ +- echo "#include <sys/syscall.h>" | cpp -dM | grep '^#define __NR_' | \ ++ echo "#include <sys/syscall.h>" | $(CPP) -dM | grep '^#define __NR_' | \ + LC_ALL=C sed -r -n -e 's/^\#define[ \t]+__NR_([a-z0-9_]+)[ \t]+([0-9]+)(.*)/ [\2] = "\1",/p' >> $@ ;\ + echo "};" >> $@ + nodist_liblldpd_la_SOURCES += syscall-names.h |