1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Patch for gcc4

- Update MASTER_SITES
- Use bzip2
This commit is contained in:
Alex Dupre 2007-01-27 09:38:54 +00:00
parent 8a345db879
commit 001ad95d43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183394
3 changed files with 121 additions and 4 deletions

View File

@ -9,11 +9,12 @@ PORTNAME= motor
PORTVERSION= 3.4.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://konst.org.ua/download/
MASTER_SITES= http://thekonst.net/download/
MAINTAINER= ale@FreeBSD.org
COMMENT= A powerful text mode based programming IDE
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes

View File

@ -1,3 +1,3 @@
MD5 (motor-3.4.0.tar.gz) = c9ff6aade7105a90df11ccfd51592bec
SHA256 (motor-3.4.0.tar.gz) = 9400b8aba24c87143fc11dfce6401e40e3ff0b5b6cf84b753b3bd5a69fe19a30
SIZE (motor-3.4.0.tar.gz) = 572571
MD5 (motor-3.4.0.tar.bz2) = 0fcf7ce0386b269e8bdbb7a86e9bee19
SHA256 (motor-3.4.0.tar.bz2) = d876ca4567cb691b17c7a8cde1c5a23a9349bdbe70b587804a7b58f21c1d2f42
SIZE (motor-3.4.0.tar.bz2) = 468265

View File

@ -0,0 +1,116 @@
diff -urN ../tmp-orig/motor-3.4.0/kkconsui/src/texteditor.cc ./kkconsui/src/texteditor.cc
--- ../tmp-orig/motor-3.4.0/kkconsui/src/texteditor.cc 2003-09-09 23:51:33.000000000 +0200
+++ ./kkconsui/src/texteditor.cc 2005-04-08 20:30:03.690067218 +0200
@@ -1940,7 +1940,7 @@
}
int texteditor::findint(void *p1, void *p2) {
- return *(int *) p1 != (int) p2;
+ return *(int *) p1 != (long) p2;
}
int texteditor::findhighline(void *p1, void *p2) {
diff -urN ../tmp-orig/motor-3.4.0/kkstrtext/kkstrtext.cc ./kkstrtext/kkstrtext.cc
--- ../tmp-orig/motor-3.4.0/kkstrtext/kkstrtext.cc 2005-02-01 01:13:24.000000000 +0100
+++ ./kkstrtext/kkstrtext.cc 2005-04-08 20:30:03.691067026 +0200
@@ -431,7 +431,7 @@
}
int intcompare(void *s1, void *s2) {
- return (int) s1 != (int) s2;
+ return s1 != s2;
}
string i2str(int i) {
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/ncursesui.cc ./src/ui/ncurses/ncursesui.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/ncursesui.cc 2004-11-14 22:04:08.000000000 +0100
+++ ./src/ui/ncurses/ncursesui.cc 2005-04-08 20:30:03.691067026 +0200
@@ -1242,7 +1242,7 @@
populatesettingstree(*db.gettree());
if(fin = !db.open(n, b, &p)) break;
- switch((int) p) {
+ switch((long) p) {
case 10:
if(input(motorui::text, buf = project.getversion(),
_("version: ")) == motorui::yes) {
@@ -1356,7 +1356,8 @@
vector<shitpair> treeshit;
void ncursesui::populatecontentstree(treeview &tree, motorproject &mp, projeditaction pea, bool setcurrent) {
- int foldid, id, cfid = -1, i, sid;
+ int foldid, id, cfid = -1, i;
+ long sid;
vector<motorfolder>::iterator ifold;
vector<motorfile>::iterator ifile;
static vector<string> cnodes;
@@ -1368,7 +1369,7 @@
id = tree.getid(i);
if(tree.isnode(id))
- if(sid = (int) tree.getref(id))
+ if(sid = (long) tree.getref(id))
if(!tree.isnodeopen(id))
cnodes.push_back(treeshit[sid-1].second->gettagname());
}
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/uitagbrowser.cc ./src/ui/ncurses/uitagbrowser.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/uitagbrowser.cc 2004-07-23 02:18:16.000000000 +0200
+++ ./src/ui/ncurses/uitagbrowser.cc 2005-04-08 20:30:03.692066835 +0200
@@ -95,7 +95,7 @@
cm.close();
if(n) {
- int c = (int) cm.getref(n-1);
+ long c = (long) cm.getref(n-1);
if(c != tagbrowser.getscope()) {
tagbrowser.setscope((motortagbrowser::viewscope) c);
@@ -142,7 +142,7 @@
switch(cm.open()) {
case -2:
iter = false;
- c = (char) (int) cm.getref(cm.getpos());
+ c = (char) (long) cm.getref(cm.getpos());
while((pos = nfilter.find(c)) != -1) {
nfilter.erase(pos, 1);
@@ -213,7 +213,7 @@
}
void uitagbrowser::exec() {
- int n, k;
+ long n, k;
bool r;
if(search.empty())
@@ -240,7 +240,7 @@
m.setpos(mpos);
if(r = (n = m.open())) {
- k = (int) m.getref(n-1);
+ k = (long) m.getref(n-1);
mpos = n-1;
}
diff -urN ../tmp-orig/motor-3.4.0/src/ui/ncurses/uivcs.cc ./src/ui/ncurses/uivcs.cc
--- ../tmp-orig/motor-3.4.0/src/ui/ncurses/uivcs.cc 2005-02-12 15:58:28.000000000 +0100
+++ ./src/ui/ncurses/uivcs.cc 2005-04-08 20:30:03.692066835 +0200
@@ -31,7 +31,8 @@
void uivcs::check() {
bool found;
dialogbox db;
- int n, b, i, nodes[motorvcs::remotely_modified+1];
+ int n, b, nodes[motorvcs::remotely_modified+1];
+ long i;
string comment, buf;
if(!enabled()) return;
@@ -98,7 +99,7 @@
switch(b) {
case 0:
if(!i) {
- i = (int) tree.getref(tree.getid(n));
+ i = (long) tree.getref(tree.getid(n));
ic = ch.begin()+i-1;
found = (ik = find(naffect.begin(), naffect.end(),