aboutsummaryrefslogtreecommitdiffstats
path: root/devel/motor
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2007-01-27 17:38:54 +0800
committerale <ale@FreeBSD.org>2007-01-27 17:38:54 +0800
commitbb28119920fc4c374c8cffcf2a622a839ee8304c (patch)
treef742c7bf9ebe25b9fa635fc2920043dbf03cbb76 /devel/motor
parent1a94e99bd5da2aea13c0ee8cbcc263a74588505b (diff)
downloadfreebsd-ports-gnome-bb28119920fc4c374c8cffcf2a622a839ee8304c.tar.gz
freebsd-ports-gnome-bb28119920fc4c374c8cffcf2a622a839ee8304c.tar.zst
freebsd-ports-gnome-bb28119920fc4c374c8cffcf2a622a839ee8304c.zip
- Patch for gcc4
- Update MASTER_SITES - Use bzip2
Diffstat (limited to 'devel/motor')
-rw-r--r--devel/motor/Makefile3
-rw-r--r--devel/motor/distinfo6
-rw-r--r--devel/motor/files/patch-gcc4116
3 files changed, 121 insertions, 4 deletions
diff --git a/devel/motor/Makefile b/devel/motor/Makefile
index 664002af238e..7244ced93b1c 100644
--- a/devel/motor/Makefile
+++ b/devel/motor/Makefile
@@ -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
diff --git a/devel/motor/distinfo b/devel/motor/distinfo
index 62e269fc6803..7d22acf66acd 100644
--- a/devel/motor/distinfo
+++ b/devel/motor/distinfo
@@ -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
diff --git a/devel/motor/files/patch-gcc4 b/devel/motor/files/patch-gcc4
new file mode 100644
index 000000000000..104e7d50ef90
--- /dev/null
+++ b/devel/motor/files/patch-gcc4
@@ -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(),