diff options
author | sem <sem@FreeBSD.org> | 2007-04-06 16:59:26 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2007-04-06 16:59:26 +0800 |
commit | ca41aba1055ee37551f97f4cf2ce141722f55294 (patch) | |
tree | b7bed262e8ee7bd7febfca3bf35c7f3d901c0e22 /net | |
parent | 7f374225c52dbf7fa45e7bfdf620b6d430befcd7 (diff) | |
download | freebsd-ports-gnome-ca41aba1055ee37551f97f4cf2ce141722f55294.tar.gz freebsd-ports-gnome-ca41aba1055ee37551f97f4cf2ce141722f55294.tar.zst freebsd-ports-gnome-ca41aba1055ee37551f97f4cf2ce141722f55294.zip |
- Add a patch to fix build with gcc 4.1
Submitted by: maintainer
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 |