From bf227494ee96440f9cae182d5fb2122a5bae944d Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 7 Jan 2015 13:44:15 -0800 Subject: [PATCH] mstpd: Fix patch --- pkgs/os-specific/linux/mstpd/fixes.patch | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/mstpd/fixes.patch b/pkgs/os-specific/linux/mstpd/fixes.patch index 311ea10263f9..7303e1d7b4d3 100644 --- a/pkgs/os-specific/linux/mstpd/fixes.patch +++ b/pkgs/os-specific/linux/mstpd/fixes.patch @@ -1,5 +1,5 @@ diff --git a/Makefile b/Makefile -index dde9f81..9ebe035 100644 +index dde9f81..5af7cab 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,6 @@ install: all @@ -10,14 +10,18 @@ index dde9f81..9ebe035 100644 -mkdir -pv $(DESTDIR)/lib/mstpctl-utils/ cp -rv lib/* $(DESTDIR)/lib/mstpctl-utils/ gzip -f $(DESTDIR)/lib/mstpctl-utils/mstpctl.8 -@@ -42,6 +41,7 @@ install: all +@@ -42,8 +41,9 @@ install: all if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-pre-up.d/mstpctl ; fi if [ -d $(DESTDIR)/etc/network/if-pre-up.d ] ; then ln -sf /lib/mstpctl-utils/ifupdown.sh $(DESTDIR)/etc/network/if-post-down.d/mstpctl ; fi if [ -d $(DESTDIR)/etc/bash_completion.d ] ; then ln -sf /lib/mstpctl-utils/bash_completion $(DESTDIR)/etc/bash_completion.d/mstpctl ; fi -+ mkdir -p $(DESTDIR)/usr/share/man/man8 $(DESTDIR)/usr/share/man/man5 - ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/usr/share/man/man8/mstpctl.8.gz - ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/usr/share/man/man5/mstpctl-utils-interfaces.5.gz +- ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/usr/share/man/man8/mstpctl.8.gz +- ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/usr/share/man/man5/mstpctl-utils-interfaces.5.gz ++ mkdir -p $(DESTDIR)/share/man/man8 $(DESTDIR)/share/man/man5 ++ ln -sf /lib/mstpctl-utils/mstpctl.8.gz $(DESTDIR)/share/man/man8/mstpctl.8.gz ++ ln -sf /lib/mstpctl-utils/mstpctl-utils-interfaces.5.gz $(DESTDIR)/share/man/man5/mstpctl-utils-interfaces.5.gz + romfs: all + $(ROMFSINST) /sbin/mstpd diff --git a/bridge_track.c b/bridge_track.c index c92fdf6..0c01aec 100644 --- a/bridge_track.c