diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 14:41:33 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 14:41:33 +0000 |
commit | cffb284e1c4665237860e2bd869318be80f5acd6 (patch) | |
tree | 42c1b498a3f92f9ee4bf4a60d6976fc25a44406a /devel/motor | |
parent | f1e88b64a341d2d59a0f83583f72bb9faffe10b3 (diff) | |
download | ports-cffb284e1c4665237860e2bd869318be80f5acd6.tar.gz ports-cffb284e1c4665237860e2bd869318be80f5acd6.zip |
Notes
Diffstat (limited to 'devel/motor')
-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; + } + } + |