diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-21 21:17:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-21 21:17:31 +0000 |
commit | e44ddcc2e78e0fc3302a67832cf018cb3ccda00c (patch) | |
tree | fd3e862f8f02ff71ceff7d5b994edf190136972a /textproc/randlm/files/patch-RandLM.cpp | |
parent | Fix build of net-p2p/retroshare with recent versions of clang. (diff) |
Fix build of textproc/randlm with recent versions of clang.
Approved by: portmgr blanket
Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
PR: 216056
MFH: 2017Q4
Notes
Notes:
svn path=/head/; revision=456948
Diffstat (limited to 'textproc/randlm/files/patch-RandLM.cpp')
-rw-r--r-- | textproc/randlm/files/patch-RandLM.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/randlm/files/patch-RandLM.cpp b/textproc/randlm/files/patch-RandLM.cpp new file mode 100644 index 000000000000..e0b16fa7a910 --- /dev/null +++ b/textproc/randlm/files/patch-RandLM.cpp @@ -0,0 +1,11 @@ +--- src/RandLM/RandLM.cpp.orig 2017-03-07 02:01:18 UTC ++++ src/RandLM/RandLM.cpp +@@ -66,7 +66,7 @@ namespace randlm { + smoothing_name = kStupidBackoffSmoothing; + break; + case kWittenBellSmoothingCode: +- smoothing_name == kWittenBellSmoothing; ++ smoothing_name = kWittenBellSmoothing; + break; + case kBackoffSmoothingCode: + smoothing_name = kBackoffSmoothing; |