about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mstpd
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-01-07 13:44:15 -0800
committerWilliam A. Kennington III <william@wkennington.com>2015-01-07 13:44:15 -0800
commitbf227494ee96440f9cae182d5fb2122a5bae944d (patch)
treef4024e64849d8f48d2db4f0be47f51d13ecda6d9 /pkgs/os-specific/linux/mstpd
parent7c6cbdc145f17158b17e7c7e6c0ff60131e5d978 (diff)
mstpd: Fix patch
Diffstat (limited to 'pkgs/os-specific/linux/mstpd')
-rw-r--r--pkgs/os-specific/linux/mstpd/fixes.patch14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/mstpd/fixes.patch b/pkgs/os-specific/linux/mstpd/fixes.patch
index 311ea10263f90..7303e1d7b4d3d 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