pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdepimlibs4 Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e286a395f1e2
branches:  trunk
changeset: 603018:e286a395f1e2
user:      hans <hans%pkgsrc.org@localhost>
date:      Thu Apr 26 13:22:42 2012 +0000

description:
Fix build on SunOS.

diffstat:

 misc/kdepimlibs4/distinfo                         |   3 +-
 misc/kdepimlibs4/patches/patch-kimap_loginjob.cpp |  31 +++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 4c6f1e693cdc -r e286a395f1e2 misc/kdepimlibs4/distinfo
--- a/misc/kdepimlibs4/distinfo Thu Apr 26 13:04:02 2012 +0000
+++ b/misc/kdepimlibs4/distinfo Thu Apr 26 13:22:42 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2012/04/15 05:54:59 markd Exp $
+$NetBSD: distinfo,v 1.20 2012/04/26 13:22:42 hans Exp $
 
 SHA1 (kdepimlibs-4.8.2.tar.xz) = 038474d1c8a3d5c430f25823e25330fa464cfe40
 RMD160 (kdepimlibs-4.8.2.tar.xz) = 0f649f6154c171e54ce0999cad7808216b5a37e7
@@ -7,6 +7,7 @@
 SHA1 (patch-kalarmcal_CMakeLists.txt) = 8237552f350f214c3380bf0fc54d19d36765c9b9
 SHA1 (patch-kblog_CMakeLists.txt) = 183d17f2de6f5f4f2f6bd29666b2a35d22c055aa
 SHA1 (patch-kcalutils_CMakeLists.txt) = 5c212ab23d0b1006a43c765bc1d860be85da284a
+SHA1 (patch-kimap_loginjob.cpp) = efcc4ee6915215013cbc8b349741d747cb061a94
 SHA1 (patch-kmbox_CMakeLists.txt) = 924bd70a84c8af1c7d37501d4f718343a0aa7121
 SHA1 (patch-kpimutils_CMakeLists.txt) = 0a9f7283e2b70b38e0c545240251bc9ecb615eab
 SHA1 (patch-qgpgme_CMakeLists.txt) = 0860963f371a008f1d006dad58ea40329c358cfd
diff -r 4c6f1e693cdc -r e286a395f1e2 misc/kdepimlibs4/patches/patch-kimap_loginjob.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepimlibs4/patches/patch-kimap_loginjob.cpp Thu Apr 26 13:22:42 2012 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-kimap_loginjob.cpp,v 1.1 2012/04/26 13:22:42 hans Exp $
+
+--- kimap/loginjob.cpp.orig    2012-02-29 23:56:04.000000000 +0100
++++ kimap/loginjob.cpp 2012-04-26 14:32:19.144049407 +0200
+@@ -260,7 +260,7 @@ void LoginJob::handleResponse( const Mes
+ 
+   enum ResponseCode {
+     OK,
+-    ERR,
++    ERROR,
+     UNTAGGED,
+     CONTINUATION,
+     MALFORMED
+@@ -282,7 +282,7 @@ void LoginJob::handleResponse( const Mes
+     else if ( response.content[1].toString() == "OK" )
+       code = OK;
+     else
+-      code = ERR;
++      code = ERROR;
+   }
+ 
+   switch (code) {
+@@ -290,7 +290,7 @@ void LoginJob::handleResponse( const Mes
+       // We'll handle it later
+       break;
+ 
+-    case ERR:
++    case ERROR:
+       //server replied with NO or BAD for SASL authentication
+       if (d->authState == LoginJobPrivate::Authenticate)
+         sasl_dispose( &d->conn );



Home | Main Index | Thread Index | Old Index