diff options
author | krion <krion@FreeBSD.org> | 2004-08-23 22:37:33 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-23 22:37:33 +0800 |
commit | 7cd8590f056bff15ae90efa00279308fd178f9b5 (patch) | |
tree | 0cdb49326a2aa8e8485b8350b60dd7e8be6eabbc /net/mopd | |
parent | c0dcdde782bd2637ae9415a25dbdf4b1f6fcc089 (diff) | |
download | freebsd-ports-gnome-7cd8590f056bff15ae90efa00279308fd178f9b5.tar.gz freebsd-ports-gnome-7cd8590f056bff15ae90efa00279308fd178f9b5.tar.zst freebsd-ports-gnome-7cd8590f056bff15ae90efa00279308fd178f9b5.zip |
Fix build with gcc-3.4
Pet portlint.
Diffstat (limited to 'net/mopd')
-rw-r--r-- | net/mopd/Makefile | 2 | ||||
-rw-r--r-- | net/mopd/files/patch-file.c | 38 |
2 files changed, 36 insertions, 4 deletions
diff --git a/net/mopd/Makefile b/net/mopd/Makefile index ae7f73f66278..49990d9f7896 100644 --- a/net/mopd/Makefile +++ b/net/mopd/Makefile @@ -29,7 +29,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man NOMANCOMPRESS=true USE_REINPLACE= yes .if ${OSVERSION} >= 502126 -USE_GCC= 3.3 +USE_GCC= 3.3 .endif MAN1= mopprobe.1 moptrace.1 mopchk.1 mopa.out.1 MAN8= mopd.8 diff --git a/net/mopd/files/patch-file.c b/net/mopd/files/patch-file.c index 384a5bdd8ce7..676e60b50a32 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)) { |