- Add patches to fix tests when using python3: * graphite2-python3_tests.patch * graphite2-python3_tests_cornercases.patch - Refresh all other patches - Use fancy name for downloaded tarball - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/543870 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/graphite2?expand=0&rev=50
13 lines
419 B
Diff
13 lines
419 B
Diff
Index: graphite-1.3.10/tests/bittwiddling/bits.cpp
|
|
===================================================================
|
|
--- graphite-1.3.10.orig/tests/bittwiddling/bits.cpp
|
|
+++ graphite-1.3.10/tests/bittwiddling/bits.cpp
|
|
@@ -81,6 +81,7 @@ namespace
|
|
{
|
|
if (!std::numeric_limits<T>::is_signed) o.put('u');
|
|
o << "int" << std::dec << sizeof(T)*8;
|
|
+ return 0;
|
|
}
|
|
|
|
template<typename T>
|