summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-23 23:23:46 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-23 23:25:34 +0900
commit2bc8db79ebabd401fb909b8834d7cb723e510495 (patch)
tree09a3132a7e946b1efaf1f7d9457a970ba1099676 /app-i18n/opencc/files
parentapp-i18n/opencc: drop static-libs USE flag (diff)
downloadgentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.tar.gz
gentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.tar.bz2
gentoo-2bc8db79ebabd401fb909b8834d7cb723e510495.zip
app-i18n/opencc: enable tests
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/opencc/files')
-rw-r--r--app-i18n/opencc/files/opencc-test.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-i18n/opencc/files/opencc-test.patch b/app-i18n/opencc/files/opencc-test.patch
new file mode 100644
index 000000000000..dd6e91b984d2
--- /dev/null
+++ b/app-i18n/opencc/files/opencc-test.patch
@@ -0,0 +1,11 @@
+--- a/src/PhraseExtractTest.cpp
++++ b/src/PhraseExtractTest.cpp
+@@ -16,6 +16,8 @@
+ * limitations under the License.
+ */
+
++#include <cmath>
++
+ #include "PhraseExtract.hpp"
+ #include "TestUtils.hpp"
+