summaryrefslogtreecommitdiff
path: root/x11/kdelibs3
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-18 10:22:57 +0000
committermarkd <markd@pkgsrc.org>2011-01-18 10:22:57 +0000
commit553a4c614a4961bfbc7fb7d7c363b5ff97ed715f (patch)
tree9ddda31beb519af06005daf7e5ac68a903e6885a /x11/kdelibs3
parentf45b8e1d4986bd2fa89c5aea4b4b297d848d8e78 (diff)
downloadpkgsrc-553a4c614a4961bfbc7fb7d7c363b5ff97ed715f.tar.gz
Fix build with gcc 4.5
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r--x11/kdelibs3/distinfo4
-rw-r--r--x11/kdelibs3/patches/patch-at27
-rw-r--r--x11/kdelibs3/patches/patch-au24
3 files changed, 54 insertions, 1 deletions
diff --git a/x11/kdelibs3/distinfo b/x11/kdelibs3/distinfo
index 5f4dcf36106..22c21d279ce 100644
--- a/x11/kdelibs3/distinfo
+++ b/x11/kdelibs3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.98 2009/12/13 19:43:51 markd Exp $
+$NetBSD: distinfo,v 1.99 2011/01/18 10:22:57 markd Exp $
SHA1 (kdelibs-3.5.10.tar.bz2) = c930a25f4419134def55b8466c3a6f737227fb82
RMD160 (kdelibs-3.5.10.tar.bz2) = 4c960664283c83ebc8e68932ca9044336fcff223
@@ -16,6 +16,8 @@ SHA1 (patch-ap) = 94037230bb3d12549195d52b98ffdd821f94f90d
SHA1 (patch-aq) = 18f3885a73cd9169cf4f9c9d97420e639f7fec3c
SHA1 (patch-ar) = 26ccb0c26f9352e6b862037d0a7ffb338057ff98
SHA1 (patch-as) = 8a6fac19d323f475033ff8e9b8163d9a151483eb
+SHA1 (patch-at) = b6f14abad8c260122eda141deefffa55e998bf88
+SHA1 (patch-au) = a1cd78ccd00f68f99cc14ef9e9638b87025f4288
SHA1 (patch-bc) = 434a48d290aa9716b8c6e372419460ebd33cf8ea
SHA1 (patch-bd) = 852a12b66968595bf1be4538f8ebf88f031592a4
SHA1 (patch-be) = b7c2ed2856565ef3c831046a909e289409199e48
diff --git a/x11/kdelibs3/patches/patch-at b/x11/kdelibs3/patches/patch-at
new file mode 100644
index 00000000000..d9f838d475f
--- /dev/null
+++ b/x11/kdelibs3/patches/patch-at
@@ -0,0 +1,27 @@
+$NetBSD: patch-at,v 1.8 2011/01/18 10:22:57 markd Exp $
+
+svn r1074156 - fix build with gcc4.5
+
+--- kate/part/katehighlight.cpp.orig 2007-05-14 07:52:27.000000000 +0000
++++ kate/part/katehighlight.cpp
+@@ -3225,7 +3225,7 @@ void KateHlManager::getDefaults(uint sch
+ list.append(charAttribute);
+
+ KateAttribute* string = new KateAttribute();
+- string->setTextColor(QColor::QColor("#D00"));
++ string->setTextColor(QColor("#D00"));
+ string->setSelectedTextColor(Qt::red);
+ list.append(string);
+
+@@ -3242,9 +3242,9 @@ void KateHlManager::getDefaults(uint sch
+
+ KateAttribute* alert = new KateAttribute();
+ alert->setTextColor(Qt::black);
+- alert->setSelectedTextColor( QColor::QColor("#FCC") );
++ alert->setSelectedTextColor( QColor("#FCC") );
+ alert->setBold(true);
+- alert->setBGColor( QColor::QColor("#FCC") );
++ alert->setBGColor( QColor("#FCC") );
+ list.append(alert);
+
+ KateAttribute* functionAttribute = new KateAttribute();
diff --git a/x11/kdelibs3/patches/patch-au b/x11/kdelibs3/patches/patch-au
new file mode 100644
index 00000000000..00038922569
--- /dev/null
+++ b/x11/kdelibs3/patches/patch-au
@@ -0,0 +1,24 @@
+$NetBSD: patch-au,v 1.6 2011/01/18 10:22:58 markd Exp $
+
+svn r975371. Fix build with gcc 4.4
+
+--- kioslave/ftp/ftp.cc.orig 2008-08-19 18:18:12.000000000 +0000
++++ kioslave/ftp/ftp.cc
+@@ -876,7 +876,7 @@ int Ftp::ftpOpenPASVDataConnection()
+ // The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
+ // but anonftpd gives '227 =160,39,200,55,6,245'
+ int i[6];
+- char *start = strchr(ftpResponse(3), '(');
++ const char *start = strchr(ftpResponse(3), '(');
+ if ( !start )
+ start = strchr(ftpResponse(3), '=');
+ if ( !start ||
+@@ -931,7 +931,7 @@ int Ftp::ftpOpenEPSVDataConnection()
+ return ERR_INTERNAL;
+ }
+
+- char *start = strchr(ftpResponse(3), '|');
++ const char *start = strchr(ftpResponse(3), '|');
+ if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
+ return ERR_INTERNAL;
+