pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/telepathy-qt



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 15 10:12:28 UTC 2018

Modified Files:
        pkgsrc/chat/telepathy-qt: distinfo
Added Files:
        pkgsrc/chat/telepathy-qt/patches: patch-tests_callbacks.cpp

Log Message:
telepathy-qt: Avoid ++ on bool.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/telepathy-qt/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/chat/telepathy-qt/patches/patch-tests_callbacks.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/telepathy-qt/distinfo
diff -u pkgsrc/chat/telepathy-qt/distinfo:1.1 pkgsrc/chat/telepathy-qt/distinfo:1.2
--- pkgsrc/chat/telepathy-qt/distinfo:1.1       Tue Dec  1 13:11:49 2015
+++ pkgsrc/chat/telepathy-qt/distinfo   Tue May 15 10:12:28 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2015/12/01 13:11:49 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2018/05/15 10:12:28 jperkin Exp $
 
 SHA1 (telepathy-qt-0.9.6.1.tar.gz) = c7e913b54b72d4c7134dacc38a48d583f66759ed
 RMD160 (telepathy-qt-0.9.6.1.tar.gz) = ff0db3576363c9c052b7b2402bb2bf5335ab1cd4
@@ -6,3 +6,4 @@ SHA512 (telepathy-qt-0.9.6.1.tar.gz) = d
 Size (telepathy-qt-0.9.6.1.tar.gz) = 6067468 bytes
 SHA1 (patch-TelepathyQt_Farstream_CMakeLists.txt) = 8305fbcdddb0f1a1c1c3ba1d6d6dd30b97dec81a
 SHA1 (patch-cmake_modules_FindGStreamer.cmake) = 9a089b19c50d87495084122169ca31ccc40f1310
+SHA1 (patch-tests_callbacks.cpp) = 809547a5aed048ec4cf74d98e653cdadf042825a

Added files:

Index: pkgsrc/chat/telepathy-qt/patches/patch-tests_callbacks.cpp
diff -u /dev/null pkgsrc/chat/telepathy-qt/patches/patch-tests_callbacks.cpp:1.1
--- /dev/null   Tue May 15 10:12:28 2018
+++ pkgsrc/chat/telepathy-qt/patches/patch-tests_callbacks.cpp  Tue May 15 10:12:28 2018
@@ -0,0 +1,106 @@
+$NetBSD: patch-tests_callbacks.cpp,v 1.1 2018/05/15 10:12:28 jperkin Exp $
+
+Avoid ++ on bool.
+
+--- tests/callbacks.cpp.orig   2015-05-24 19:33:18.000000000 +0000
++++ tests/callbacks.cpp
+@@ -20,41 +20,41 @@ struct MyCallbacks
+         reset();
+     }
+ 
+-    void testVV() { mVVCalled++; }
++    void testVV() { mVVCalled = true; }
+     void testVI1(int a1)
+     {
+         QCOMPARE(a1, 1);
+-        mVI1Called++;
++        mVI1Called = true;
+     }
+     void testVI2(int a1, int a2)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2);
+-        mVI2Called++;
++        mVI2Called = true;
+     }
+     void testVI3(int a1, int a2, int a3)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3);
+-        mVI3Called++;
++        mVI3Called = true;
+     }
+     void testVI4(int a1, int a2, int a3, int a4)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4);
+-        mVI4Called++;
++        mVI4Called = true;
+     }
+     void testVI5(int a1, int a2, int a3, int a4, int a5)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5);
+-        mVI5Called++;
++        mVI5Called = true;
+     }
+     void testVI6(int a1, int a2, int a3, int a4, int a5, int a6)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5); QCOMPARE(a6, 6);
+-        mVI6Called++;
++        mVI6Called = true;
+     }
+     void testVI7(int a1, int a2, int a3, int a4, int a5, int a6, int a7)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5); QCOMPARE(a6, 6); QCOMPARE(a7, 7);
+-        mVI7Called++;
++        mVI7Called = true;
+     }
+ 
+     void reset()
+@@ -103,41 +103,41 @@ namespace
+     bool mVI6Called;
+     bool mVI7Called;
+ 
+-    void testVV() { mVVCalled++; }
++    void testVV() { mVVCalled = true; }
+     void testVI1(int a1)
+     {
+         QCOMPARE(a1, 1);
+-        mVI1Called++;
++        mVI1Called = true;
+     }
+     void testVI2(int a1, int a2)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2);
+-        mVI2Called++;
++        mVI2Called = true;
+     }
+     void testVI3(int a1, int a2, int a3)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3);
+-        mVI3Called++;
++        mVI3Called = true;
+     }
+     void testVI4(int a1, int a2, int a3, int a4)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4);
+-        mVI4Called++;
++        mVI4Called = true;
+     }
+     void testVI5(int a1, int a2, int a3, int a4, int a5)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5);
+-        mVI5Called++;
++        mVI5Called = true;
+     }
+     void testVI6(int a1, int a2, int a3, int a4, int a5, int a6)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5); QCOMPARE(a6, 6);
+-        mVI6Called++;
++        mVI6Called = true;
+     }
+     void testVI7(int a1, int a2, int a3, int a4, int a5, int a6, int a7)
+     {
+         QCOMPARE(a1, 1); QCOMPARE(a2, 2); QCOMPARE(a3, 3); QCOMPARE(a4, 4); QCOMPARE(a5, 5); QCOMPARE(a6, 6); QCOMPARE(a7, 7);
+-        mVI7Called++;
++        mVI7Called = true;
+     }
+ 
+     void reset()



Home | Main Index | Thread Index | Old Index