diff options
author | ale <ale@FreeBSD.org> | 2011-06-21 20:07:30 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2011-06-21 20:07:30 +0800 |
commit | f4c1a6dc738f4785220d07376c2489f3b04f53b6 (patch) | |
tree | f28b60fad17faf4b21517dce404006c5d458c154 /devel/motor | |
parent | 3ad46d26f25036bf8753337cfa317f3b6fcf9d78 (diff) | |
download | freebsd-ports-gnome-f4c1a6dc738f4785220d07376c2489f3b04f53b6.tar.gz freebsd-ports-gnome-f4c1a6dc738f4785220d07376c2489f3b04f53b6.tar.zst freebsd-ports-gnome-f4c1a6dc738f4785220d07376c2489f3b04f53b6.zip |
Hopefully fix build with clang.
Diffstat (limited to 'devel/motor')
-rw-r--r-- | devel/motor/files/patch-clang | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/motor/files/patch-clang b/devel/motor/files/patch-clang new file mode 100644 index 000000000000..f8ee9c7b58b2 --- /dev/null +++ b/devel/motor/files/patch-clang @@ -0,0 +1,12 @@ +--- kkconsui/src/texteditor.cc.orig 2011-06-21 12:12:30.000000000 +0200 ++++ kkconsui/src/texteditor.cc 2011-06-21 12:13:09.000000000 +0200 +@@ -791,7 +791,8 @@ + const char *p; + + if(!(cs = (char *) curfile->lines->at(ln))) return; +- char cp[i = (strlen(cs)+1)*4]; ++ i = (strlen(cs)+1)*4; ++ char cp[i]; + char buf[i]; + + eolstart = i; |