1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/net-mgmt/lldpd/files/patch-src_lib_Makefile.in
Jason Unovitch c739808f3c net-mgmt/lldpd: update 0.9.2 -> 0.9.4
- Fix lldpd(8) in post-patch to show correct lldpd config file/directory path.
- Apply extra patches taken from upstream right after 0.9.4 was released:
* Fix build issues with 9.3's older cpp not supporting mutiple files as input.
  (likely Tier 2 archs with GCC 4.2 too)
* Fix a regression which was caused by importing/adding support for new
  OpenBSD ifmediareq changes* and the use of typeof in 0.9.4

lldpd (0.9.3)
* Do not rely on support of constructors for liblldpctl.
* Always log to stderr (even in addition to syslog).
* `lldpcli watch` accepts a limit on the number of received events.
* `lldpcli -f {xml,json} watch` should work now.
* Consider `veth` interfaces as physical interfaces.

lldpd (0.9.4)
* Make lldpd accepts a `-p` option to specify the PID file.
* Ability to change multicast MAC address to two additional values to reach
  customer bridges.
* lldpcli will now display chassis TTL when detailed view is enabled.
* Fix setting of local value for port ID.
* Fix compilation with BSD make.
* Ensure lldpcli returns an error code on invalid commands.

PR:		210390
Submitted by:	Mathieu Simon <freebsd@simweb.ch> (maintainer)
2016-06-25 23:47:22 +00:00

26 lines
1.2 KiB
Plaintext

--- src/lib/Makefile.in.orig 2016-06-17 17:20:00 UTC
+++ src/lib/Makefile.in
@@ -895,8 +895,9 @@ uninstall-am: uninstall-includeHEADERS u
atom-glue.c: $(ATOM_FILES) Makefile
- $(AM_V_GEN)($(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \
+ $(AM_V_GEN)(for f in $(ATOM_FILES:%=$(srcdir)/%); do \
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \
$(SED) -n 's+^void init_atom_builder_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort | \
$(AWK) '{ atoms[$$2] = 1 } \
@@ -905,8 +906,9 @@ atom-glue.c: $(ATOM_FILES) Makefile
print " static int init = 0; if (init) return; init++;"; \
for (atom in atoms) { print " init_atom_builder_"atom"();" } \
print "}"; }' && \
+ for f in $(ATOM_FILES:%=$(srcdir)/%); do \
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \
$(SED) -n 's+^void init_atom_map_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \
sort -n | \
$(AWK) '{ atoms[$$2] = 1 } \