From c1c96a9e8c5768d43fb025b4f477cdf62266fab6 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Fri, 6 Apr 2007 08:59:26 +0000 Subject: - Add a patch to fix build with gcc 4.1 Submitted by: maintainer --- net/mpd4/files/patch-gcc41 | 49 ++++++++++++++++++++++++++++++++++++++++++++++ net/mpd5/files/patch-gcc41 | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 net/mpd4/files/patch-gcc41 create mode 100644 net/mpd5/files/patch-gcc41 diff --git a/net/mpd4/files/patch-gcc41 b/net/mpd4/files/patch-gcc41 new file mode 100644 index 000000000000..4d90395c60e6 --- /dev/null +++ b/net/mpd4/files/patch-gcc41 @@ -0,0 +1,49 @@ +--- src/command.h.orig Sun Feb 11 23:22:25 2007 ++++ src/command.h Fri Apr 6 09:17:50 2007 +@@ -10,6 +10,8 @@ + #ifndef _COMMAND_H_ + #define _COMMAND_H_ + ++#include "vars.h" ++ + /* + * DEFINITIONS + */ +@@ -26,8 +28,6 @@ + struct optinfo options; + }; + +- extern const struct cmdtab gCommands[]; +- + struct cmdtab; + typedef const struct cmdtab *CmdTab; + struct cmdtab +@@ -38,6 +38,8 @@ + int (*admit)(CmdTab cmd); + void *arg; + }; ++ ++ extern const struct cmdtab gCommands[]; + + /* + * FUNCTIONS +--- src/ipcp.h.orig Sun Feb 11 23:22:25 2007 ++++ src/ipcp.h Fri Apr 6 09:10:32 2007 +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include "command.h" + #include "phys.h" + #include "fsm.h" + #include "timer.h" +--- src/ipv6cp.h.orig Sun Feb 11 23:22:25 2007 ++++ src/ipv6cp.h Fri Apr 6 09:10:51 2007 +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include "command.h" + + /* + * DEFINITONS diff --git a/net/mpd5/files/patch-gcc41 b/net/mpd5/files/patch-gcc41 new file mode 100644 index 000000000000..4d90395c60e6 --- /dev/null +++ b/net/mpd5/files/patch-gcc41 @@ -0,0 +1,49 @@ +--- src/command.h.orig Sun Feb 11 23:22:25 2007 ++++ src/command.h Fri Apr 6 09:17:50 2007 +@@ -10,6 +10,8 @@ + #ifndef _COMMAND_H_ + #define _COMMAND_H_ + ++#include "vars.h" ++ + /* + * DEFINITIONS + */ +@@ -26,8 +28,6 @@ + struct optinfo options; + }; + +- extern const struct cmdtab gCommands[]; +- + struct cmdtab; + typedef const struct cmdtab *CmdTab; + struct cmdtab +@@ -38,6 +38,8 @@ + int (*admit)(CmdTab cmd); + void *arg; + }; ++ ++ extern const struct cmdtab gCommands[]; + + /* + * FUNCTIONS +--- src/ipcp.h.orig Sun Feb 11 23:22:25 2007 ++++ src/ipcp.h Fri Apr 6 09:10:32 2007 +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include "command.h" + #include "phys.h" + #include "fsm.h" + #include "timer.h" +--- src/ipv6cp.h.orig Sun Feb 11 23:22:25 2007 ++++ src/ipv6cp.h Fri Apr 6 09:10:51 2007 +@@ -11,6 +11,7 @@ + #include + #include + #include ++#include "command.h" + + /* + * DEFINITONS -- cgit v1.2.3