summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-08-06 20:34:37 +0000
committerDan Armak <danarmak@gentoo.org>2002-08-06 20:34:37 +0000
commit56c8cf668c25faf18f742dc438028a2af6dab37e (patch)
tree020f584a5488048e7a0ec1e930b99e8ef2149ae6 /app-editors/kvim
parentkvim ebuild. conflicts with vim ebuild if installed into the same prefix and ... (diff)
downloadhistorical-56c8cf668c25faf18f742dc438028a2af6dab37e.tar.gz
historical-56c8cf668c25faf18f742dc438028a2af6dab37e.tar.bz2
historical-56c8cf668c25faf18f742dc438028a2af6dab37e.zip
*** empty log message ***
Diffstat (limited to 'app-editors/kvim')
-rw-r--r--app-editors/kvim/files/kvim-6.1.141_rc1-gcc2fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-editors/kvim/files/kvim-6.1.141_rc1-gcc2fix.patch b/app-editors/kvim/files/kvim-6.1.141_rc1-gcc2fix.patch
new file mode 100644
index 000000000000..4e0b376c2802
--- /dev/null
+++ b/app-editors/kvim/files/kvim-6.1.141_rc1-gcc2fix.patch
@@ -0,0 +1,19 @@
+--- src/gui_kde_widget.cc.orig Thu Aug 1 12:14:08 2002
++++ src/gui_kde_widget.cc Thu Aug 1 12:14:17 2002
+@@ -46,7 +46,6 @@
+ #include "gui_kde_widget.h"
+
+ extern "C" {
+-char_u *alloc(unsigned size);
+ #include "version.h"
+ }
+
+@@ -361,7 +360,7 @@
+
+ if (QUriDrag::decode(e, urls)) {
+ n = urls.count();
+- fnames = (char_u **)alloc((n+1) * sizeof(char_u *));
++ fnames = (char_u **)lalloc((n+1) * sizeof(char_u *), TRUE);
+ nfiles = 0;
+ #if QT_VERSION>=300
+ QPtrListIterator<char> it(urls);