summaryrefslogtreecommitdiff
path: root/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-04-09 09:00:03 +0100
committerSam James <sam@gentoo.org>2025-04-09 09:08:58 +0100
commitb9d1c7a4bc228ba4750c3207ca24056b73fd6cc3 (patch)
tree5a5c490dd54f14168038ac661a45d064d5407388 /dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch
parentbf24052a0c41418e9795eb11bbcde10752aebec3 (diff)
downloadgentoo-b9d1c7a4bc228ba4750c3207ca24056b73fd6cc3.tar.gz
gentoo-b9d1c7a4bc228ba4750c3207ca24056b73fd6cc3.tar.bz2
gentoo-b9d1c7a4bc228ba4750c3207ca24056b73fd6cc3.zip
dev-cpp/lucene++: wire up tests
On one run (out of 6 or so), I did hit: ``` [ RUN ] IndexWriterTest.testAddIndexesWithRollback lucene++-tester: /usr/include/boost/smart_ptr/shared_ptr.hpp:550: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = Lucene::DocumentsWriter; typename boost::detail::sp_member_access<T>::type = Lucene::DocumentsWriter*]: Assertion `px != 0' failed. /var/tmp/portage/dev-cpp/lucene++-3.0.9/temp/environment: line 1082: 28 Aborted (core dumped) "$@" ``` Not sure if it's another instance of something like https://github.com/luceneplusplus/LucenePlusPlus/issues/181 or what, but not debugged further as the testsuite takes a while and had already spent too much time on lucene++ today. The test restriction had been there since the package was added. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch')
-rw-r--r--dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch b/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch
new file mode 100644
index 000000000000..02cb8956543e
--- /dev/null
+++ b/dev-cpp/lucene++/files/lucene++-3.0.9-tests-gtest-cstdint.patch
@@ -0,0 +1,10 @@
+--- a/src/test/gtest/googletest/src/gtest-death-test.cc
++++ b/src/test/gtest/googletest/src/gtest-death-test.cc
+@@ -32,6 +32,7 @@
+
+ #include "gtest/gtest-death-test.h"
+
++#include <cstdint>
+ #include <utility>
+
+ #include "gtest/internal/gtest-port.h"