summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/motor/Makefile1
-rw-r--r--devel/motor/files/patch-src::ui::ncurses::uitagbrowser.cc11
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/motor/Makefile b/devel/motor/Makefile
index 57dbb4c1d848..d64c26f4ff51 100644
--- a/devel/motor/Makefile
+++ b/devel/motor/Makefile
@@ -26,7 +26,6 @@ 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-src::ui::ncurses::uitagbrowser.cc b/devel/motor/files/patch-src::ui::ncurses::uitagbrowser.cc
new file mode 100644
index 000000000000..de53fe152514
--- /dev/null
+++ b/devel/motor/files/patch-src::ui::ncurses::uitagbrowser.cc
@@ -0,0 +1,11 @@
+--- src/ui/ncurses/uitagbrowser.cc.old Wed Aug 4 08:22:13 2004
++++ src/ui/ncurses/uitagbrowser.cc Wed Aug 4 08:22:30 2004
+@@ -83,7 +83,7 @@
+ cm.setwindow(textwindow(w.x1, w.y1, w.x1+20, 0, uiconf.getcolor(cp_menufr)));
+
+ for(motortagbrowser::viewscope scope = motortagbrowser::File;
+- scope != motortagbrowser::viewscope_size; (int) scope += 1) {
++ scope != motortagbrowser::viewscope_size; (int&) scope += 1) {
+ cm.additem(0, scope, (string) " " + getscopename(scope));
+ if(scope == tagbrowser.getscope())
+ cm.setpos(cm.getcount()-1);