summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mstpd/fixes.patch
blob: 311ea10263f907be885a5fba29ba0de1d1a8ab42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff --git a/Makefile b/Makefile
index dde9f81..9ebe035 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,6 @@ install: all
 	-mkdir -pv $(DESTDIR)/sbin
 	install -m 755 mstpd $(DESTDIR)/sbin/mstpd
 	install -m 755 mstpctl $(DESTDIR)/sbin/mstpctl
-	install -m 755 bridge-stp /sbin/bridge-stp
 	-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
 	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
 
diff --git a/bridge_track.c b/bridge_track.c
index c92fdf6..0c01aec 100644
--- a/bridge_track.c
+++ b/bridge_track.c
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <linux/param.h>
+#include <linux/in6.h>
 #include <linux/if_bridge.h>
 #include <asm/byteorder.h>
 
diff --git a/broadcom_xstrata/driver_deps.c b/broadcom_xstrata/driver_deps.c
index e72e9e3..5194253 100644
--- a/broadcom_xstrata/driver_deps.c
+++ b/broadcom_xstrata/driver_deps.c
@@ -14,6 +14,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <asm/byteorder.h>
+#include <linux/in6.h>
 #include <linux/if_bridge.h>
 
 #include "log.h"
diff --git a/ctl_functions.h b/ctl_functions.h
index 9c3b914..df464de 100644
--- a/ctl_functions.h
+++ b/ctl_functions.h
@@ -27,6 +27,7 @@
 #ifndef CTL_SOCKET_H
 #define CTL_SOCKET_H
 
+#include <linux/in6.h>
 #include <linux/if_bridge.h>
 #include <asm/byteorder.h>
 
diff --git a/mstp.c b/mstp.c
index 1c6a2df..b2a1acd 100644
--- a/mstp.c
+++ b/mstp.c
@@ -37,6 +37,7 @@
 
 #include <string.h>
 #include <sys/time.h>
+#include <linux/in6.h>
 #include <linux/if_bridge.h>
 #include <asm/byteorder.h>