pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/kopete Require C++11 and fix fallout.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f30f694ea9c
branches:  trunk
changeset: 363842:5f30f694ea9c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 17 19:44:22 2017 +0000

description:
Require C++11 and fix fallout.

diffstat:

 net/kopete/Makefile                                                            |   4 ++-
 net/kopete/distinfo                                                            |   3 +-
 net/kopete/patches/patch-protocols_oscar_liboscar_tasks_chatnavservicetask.cpp |  13 ++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 610a6ea7aa25 -r 5f30f694ea9c net/kopete/Makefile
--- a/net/kopete/Makefile       Sat Jun 17 19:43:20 2017 +0000
+++ b/net/kopete/Makefile       Sat Jun 17 19:44:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2017/04/30 01:21:56 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2017/06/17 19:44:22 joerg Exp $
 
 DISTNAME=      kopete-16.12.0
 PKGREVISION=   3
@@ -11,6 +11,8 @@
 
 .include "../../meta-pkgs/kde4/Makefile.kde4"
 
+USE_LANGUAGES+=        c++11
+
 CMAKE_ARGS+=   -DWITH_Xmms:BOOL=OFF
 
 REPLACE_PERL+= \
diff -r 610a6ea7aa25 -r 5f30f694ea9c net/kopete/distinfo
--- a/net/kopete/distinfo       Sat Jun 17 19:43:20 2017 +0000
+++ b/net/kopete/distinfo       Sat Jun 17 19:44:22 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/01/19 09:23:36 markd Exp $
+$NetBSD: distinfo,v 1.9 2017/06/17 19:44:22 joerg Exp $
 
 SHA1 (kopete-16.12.0.tar.xz) = 0add6bd39d5c1342dd6d8d6257238f310a6f211a
 RMD160 (kopete-16.12.0.tar.xz) = 964994c637a636b0e795a3db32ae7fa56352ef2f
@@ -6,5 +6,6 @@
 Size (kopete-16.12.0.tar.xz) = 6340832 bytes
 SHA1 (patch-libkopete_avdevice_videodevice.h) = 9864dd808cf375bcc48ec9ed0c6d939da382ea67
 SHA1 (patch-protocols_jabber_libiris_src_jdns_jdns_sys.c) = 3bb68fd63bbd98ac106402a1c647f23556e6cea8
+SHA1 (patch-protocols_oscar_liboscar_tasks_chatnavservicetask.cpp) = 053ecfecca073c8ebecec602bc378eb45251f962
 SHA1 (patch-protocols_winpopup_winpopup-install) = 538f1f079439d3c86454583f2863dbbcb3a63b95
 SHA1 (patch-protocols_wlm_CMakeLists.txt) = 4f0c6ebdf51f15c0759a8489ddbb43fe4052281c
diff -r 610a6ea7aa25 -r 5f30f694ea9c net/kopete/patches/patch-protocols_oscar_liboscar_tasks_chatnavservicetask.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/kopete/patches/patch-protocols_oscar_liboscar_tasks_chatnavservicetask.cpp    Sat Jun 17 19:44:22 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-protocols_oscar_liboscar_tasks_chatnavservicetask.cpp,v 1.1 2017/06/17 19:44:22 joerg Exp $
+
+--- protocols/oscar/liboscar/tasks/chatnavservicetask.cpp.orig 2017-06-09 12:28:44.075531593 +0000
++++ protocols/oscar/liboscar/tasks/chatnavservicetask.cpp
+@@ -105,7 +105,7 @@ bool ChatNavServiceTask::take( Transfer*
+ void ChatNavServiceTask::onGo()
+ {
+     FLAP f =  { 0x02, 0, 0x00 };
+-    SNAC s = { 0x000D, m_type, 0x0000, client()->snacSequence() };
++    SNAC s = { 0x000D, static_cast<Oscar::WORD>(m_type), 0x0000, client()->snacSequence() };
+     Buffer* b = new Buffer();
+ 
+     Transfer* t = createTransfer( f, s, b );



Home | Main Index | Thread Index | Old Index