aboutsummaryrefslogtreecommitdiff
path: root/devel/motor
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-08-25 10:12:23 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-08-25 10:12:23 +0000
commit861b667e6e67655ceef53212bc83cda714580971 (patch)
tree472dc5975016bf395b53c905cdd1929beab2f2b7 /devel/motor
parent864a8183f3fa926899d93b17e4f45fa1333806bd (diff)
downloadports-861b667e6e67655ceef53212bc83cda714580971.tar.gz
ports-861b667e6e67655ceef53212bc83cda714580971.zip
Notes
Diffstat (limited to 'devel/motor')
-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);