summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-09-10 12:23:40 +0000
committerjoerg <joerg@pkgsrc.org>2014-09-10 12:23:40 +0000
commit58dea4a6afa24b35c551b8c36834e1be3f1109cf (patch)
treecd25a2e5a116292c9ced17de37ce3e322c5fb34e /net
parent77fdb91027f312240a943ea8bc91d5425a5f1bf2 (diff)
downloadpkgsrc-58dea4a6afa24b35c551b8c36834e1be3f1109cf.tar.gz
Fix counting error. Explicitly cast negative constants to int.
Diffstat (limited to 'net')
-rw-r--r--net/synergy/distinfo3
-rw-r--r--net/synergy/patches/patch-tools_cryptopp562_wake.cpp25
2 files changed, 27 insertions, 1 deletions
diff --git a/net/synergy/distinfo b/net/synergy/distinfo
index 463414ac8ab..5035b18c7c9 100644
--- a/net/synergy/distinfo
+++ b/net/synergy/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2014/08/25 09:58:18 obache Exp $
+$NetBSD: distinfo,v 1.13 2014/09/10 12:23:40 joerg Exp $
SHA1 (synergy-1.4.12-Source.tar.gz) = d0f590835f30d8727987d4968d0f560bba90927f
RMD160 (synergy-1.4.12-Source.tar.gz) = 7af82a1edd9db6effc8f9adb08fd8c7616b19f03
@@ -8,6 +8,7 @@ SHA1 (patch-src_lib_ipc_CIpcServerProxy.cpp) = b3669add3fec67f2fbc30457fcd36ae73
SHA1 (patch-src_lib_server_CClientProxy1__4.cpp) = dbaf92152e431048b229d7cecf80d0776e7653b1
SHA1 (patch-src_lib_server_CConfig.cpp) = 14b5434c3fe33efde44f26fd14da6897229aacc9
SHA1 (patch-src_lib_server_CConfig.h) = 6aa99efc189a3d8e067a30f4fee4d94874e4f3c6
+SHA1 (patch-tools_cryptopp562_wake.cpp) = 7e9284e49a3bdfdb7a9cec2cd6081babf78db38a
SHA1 (patch-tools_gmock-1.6.0_configure) = 45cfbcdc8b55c1e745265ed4e2bbbfe41ef000a2
SHA1 (patch-tools_gmock-1.6.0_include_gmock_internal_gmock-port.h) = dc526bcfab414dcd35d3d67c36998d92020bd398
SHA1 (patch-tools_gtest-1.6.0_configure) = 35d77cab8e651bff031294f7d12570cb582aba1a
diff --git a/net/synergy/patches/patch-tools_cryptopp562_wake.cpp b/net/synergy/patches/patch-tools_cryptopp562_wake.cpp
new file mode 100644
index 00000000000..f13e44e139c
--- /dev/null
+++ b/net/synergy/patches/patch-tools_cryptopp562_wake.cpp
@@ -0,0 +1,25 @@
+$NetBSD: patch-tools_cryptopp562_wake.cpp,v 1.1 2014/09/10 12:23:40 joerg Exp $
+
+--- tools/cryptopp562/wake.cpp.orig 2014-09-08 10:35:18.000000000 +0000
++++ tools/cryptopp562/wake.cpp
+@@ -23,15 +23,15 @@ void WAKE_Base::GenKey(word32 k0, word32
+ signed int x, z, p;
+ // x and z were declared as "long" in Wheeler's paper, which is a signed type. I don't know if that was intentional, but it's too late to change it now. -- Wei 7/4/2010
+ CRYPTOPP_COMPILE_ASSERT(sizeof(x) == 4);
+- static int tt[10]= {
++ static int tt[8]= {
+ 0x726a8f3b, // table
+- 0xe69a3b5c,
+- 0xd3c71fe5,
+- 0xab3c73d2,
++ (int)0xe69a3b5c,
++ (int)0xd3c71fe5,
++ (int)0xab3c73d2,
+ 0x4d3a8eb3,
+ 0x0396d6e8,
+ 0x3d4c2f7a,
+- 0x9ee27cf3, } ;
++ (int)0x9ee27cf3, } ;
+ t[0] = k0;
+ t[1] = k1;
+ t[2] = k2;