diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2007-04-06 08:59:26 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2007-04-06 08:59:26 +0000 |
commit | c1c96a9e8c5768d43fb025b4f477cdf62266fab6 (patch) | |
tree | 1f6b5087ca466e6880b1be565bbc266c222f18e5 /net | |
parent | Hook drupal5-taxonomy_access up to the build. (diff) |
- Add a patch to fix build with gcc 4.1
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=189367
Diffstat (limited to 'net')
-rw-r--r-- | net/mpd4/files/patch-gcc41 | 49 | ||||
-rw-r--r-- | net/mpd5/files/patch-gcc41 | 49 |
2 files changed, 98 insertions, 0 deletions
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 <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#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 <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#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 <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#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 <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/ip.h> ++#include "command.h" + + /* + * DEFINITONS |