diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-08-25 10:12:23 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-08-25 10:12:23 +0000 |
commit | 861b667e6e67655ceef53212bc83cda714580971 (patch) | |
tree | 472dc5975016bf395b53c905cdd1929beab2f2b7 /devel/motor | |
parent | Building on FreeBSD 5 or later is OK, the problem is in panda lib (diff) |
Better fix for gcc 3.4.
PR: ports/69982
Submitted by: Andrey Slusar <vasallia@ukr.net>
Diffstat (limited to 'devel/motor')
-rw-r--r-- | devel/motor/Makefile | 1 | ||||
-rw-r--r-- | devel/motor/files/patch-src::ui::ncurses::uitagbrowser.cc | 11 |
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); |