diff options
author | krion <krion@FreeBSD.org> | 2004-08-23 14:37:33 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-23 14:37:33 +0000 |
commit | 7cd8590f056bff15ae90efa00279308fd178f9b5 (patch) | |
tree | 0cdb49326a2aa8e8485b8350b60dd7e8be6eabbc /net/mopd/files | |
parent | c0dcdde782bd2637ae9415a25dbdf4b1f6fcc089 (diff) | |
download | FreeBSD-ports-7cd8590f056bff15ae90efa00279308fd178f9b5.zip FreeBSD-ports-7cd8590f056bff15ae90efa00279308fd178f9b5.tar.gz |
Fix build with gcc-3.4
Pet portlint.
Diffstat (limited to 'net/mopd/files')
-rw-r--r-- | net/mopd/files/patch-file.c | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/net/mopd/files/patch-file.c b/net/mopd/files/patch-file.c index 384a5bd..676e60b 100644 --- a/net/mopd/files/patch-file.c +++ b/net/mopd/files/patch-file.c @@ -1,8 +1,40 @@ ---- common/file.c.orig Fri Aug 16 15:39:41 1996 -+++ common/file.c Wed Jul 7 01:27:32 2004 -@@ -45,4 +45,5 @@ + +$FreeBSD$ + +--- common/file.c.orig Sat Aug 17 00:39:41 1996 ++++ common/file.c Mon Aug 23 16:36:03 2004 +@@ -44,6 +44,7 @@ + #endif #if defined(__FreeBSD__) #include <sys/imgact_aout.h> +#include <sys/endian.h> #endif #if !defined(MID_VAX) + #define MID_VAX 140 +@@ -345,7 +346,7 @@ + mid = MID_ARM6; + break; + #endif +- default: ++ default: break; + /*###352 [cc] syntax error before `}'%%%*/ + } + +@@ -522,7 +523,7 @@ + ex.a_trsize= mopFileGetBX((u_char *)&ex_swap, 24, 4); + ex.a_drsize= mopFileGetBX((u_char *)&ex_swap, 28, 4); + break; +- default: ++ default: break; + /*###525 [cc] syntax error before `}'%%%*/ + } + +@@ -575,7 +576,7 @@ + printf("arm32"); + break; + #endif +- default: ++ default: break; + } + printf(") Magic: "); + switch (N_GETMAGIC (ex)) { |