summaryrefslogtreecommitdiff
path: root/net/v6eval/files/patch-bin_dhcomp_dhcomp.cc
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-06-16 02:37:46 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-06-16 02:37:46 +0000
commita14da88b51b0f28b150eb5ac7181d11cbbcb5eb2 (patch)
tree6b4f932f596f778acb5e8a08a1c707e1302b0885 /net/v6eval/files/patch-bin_dhcomp_dhcomp.cc
parent- Fix configuring ezmlm-idx-7 mailing lists. Only apply the (diff)
- Add patches to fix type mismatch. Bump PORTREVISION becuase some affect
the result binaries. - Fix build on head after byacc 20130304.
Notes
Notes: svn path=/head/; revision=321022
Diffstat (limited to 'net/v6eval/files/patch-bin_dhcomp_dhcomp.cc')
-rw-r--r--net/v6eval/files/patch-bin_dhcomp_dhcomp.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-bin_dhcomp_dhcomp.cc b/net/v6eval/files/patch-bin_dhcomp_dhcomp.cc
new file mode 100644
index 000000000000..381f366b98a6
--- /dev/null
+++ b/net/v6eval/files/patch-bin_dhcomp_dhcomp.cc
@@ -0,0 +1,23 @@
+--- bin/dhcomp/dhcomp.cc.orig 2013-06-16 10:59:39.000000000 +0900
++++ bin/dhcomp/dhcomp.cc 2013-06-16 11:00:26.000000000 +0900
+@@ -315,14 +315,14 @@
+ memcpy(&pSharedKey[iSharedKeyLen - l], pSharedKeyStock, l);
+
+ #ifdef TAHI
+- printf("log:DHComp_Results (length:%i)\n",
+- xflag? iSharedKeyLen: strlen(pSharedKey));
+- printf("log:| Shared_Key (length:%i)\n",
+- xflag? iSharedKeyLen: strlen(pSharedKey));
++ printf("log:DHComp_Results (length:%zu)\n",
++ xflag? (size_t)iSharedKeyLen: strlen(pSharedKey));
++ printf("log:| Shared_Key (length:%zu)\n",
++ xflag? (size_t)iSharedKeyLen: strlen(pSharedKey));
+ xflag? xPrintResult(pSharedKey): PrintResult(pSharedKey);
+ #else // TAHI
+- printf("log:DHComp_Results (length:%i)\n", strlen(pSharedKey));
+- printf("log:| Shared_Key (length:%i)\n", strlen(pSharedKey));
++ printf("log:DHComp_Results (length:%zu)\n", strlen(pSharedKey));
++ printf("log:| Shared_Key (length:%zu)\n", strlen(pSharedKey));
+ PrintResult(pSharedKey);
+ #endif // TAHI
+