diff options
author | krion <krion@FreeBSD.org> | 2004-08-22 22:41:33 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-22 22:41:33 +0800 |
commit | 7212d1f6c04d8a8f5063b61c87b30e7bfc2b751d (patch) | |
tree | 34fdbb28cc8f5cf84fe50b6ff429c01c9e0a8d06 /devel | |
parent | 54496c495dde88078575561f3082c4f345e48b5b (diff) | |
download | freebsd-ports-gnome-7212d1f6c04d8a8f5063b61c87b30e7bfc2b751d.tar.gz freebsd-ports-gnome-7212d1f6c04d8a8f5063b61c87b30e7bfc2b751d.tar.zst freebsd-ports-gnome-7212d1f6c04d8a8f5063b61c87b30e7bfc2b751d.zip |
Fix build with gcc-3.4
Diffstat (limited to 'devel')
-rw-r--r-- | devel/motor/Makefile | 1 | ||||
-rw-r--r-- | devel/motor/files/patch-parser_src_parser.c | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/devel/motor/Makefile b/devel/motor/Makefile index d64c26f4ff51..57dbb4c1d848 100644 --- a/devel/motor/Makefile +++ b/devel/motor/Makefile @@ -26,6 +26,7 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB= NLS="@comment " .endif +CFLAGS+= -fpermissive MAN1= motor.1 .include <bsd.port.pre.mk> diff --git a/devel/motor/files/patch-parser_src_parser.c b/devel/motor/files/patch-parser_src_parser.c new file mode 100644 index 000000000000..a4224b8ba22b --- /dev/null +++ b/devel/motor/files/patch-parser_src_parser.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- parser/src/parser.c.orig Sun Aug 22 16:26:05 2004 ++++ parser/src/parser.c Sun Aug 22 16:26:25 2004 +@@ -313,7 +313,7 @@ + buf = mmap(0, *size, PROT_READ, MAP_SHARED, f, 0); + if (buf == MAP_FAILED) buf = NULL; + break; +- default: ++ default: break; + } + } + close(f); +@@ -333,7 +333,7 @@ + // munmap + munmap(text, size); + break; +- default: ++ default: break; + } + } + |