aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/motor/Makefile1
-rw-r--r--devel/motor/files/patch-parser_src_parser.c23
-rw-r--r--games/nadar/files/patch-server_Game.c14
3 files changed, 38 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;
+ }
+ }
+
diff --git a/games/nadar/files/patch-server_Game.c b/games/nadar/files/patch-server_Game.c
new file mode 100644
index 000000000000..24be97f3c721
--- /dev/null
+++ b/games/nadar/files/patch-server_Game.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- server/Game.c.orig Sun Aug 22 16:35:40 2004
++++ server/Game.c Sun Aug 22 16:35:50 2004
+@@ -226,7 +226,7 @@
+ case PLAYER_DESTROY : /* Destroy 状態の Player を削除する */
+ current = ObjList_DeleteObjToPrev(game->player_list, current);
+ break;
+- default :
++ default : break;
+ }
+ }
+