File qpdf-ppc64.patch of Package qpdf

Index: qpdf-4.0.0/qpdf/test_driver.cc
===================================================================
--- qpdf-4.0.0.orig/qpdf/test_driver.cc
+++ qpdf-4.0.0/qpdf/test_driver.cc
@@ -1188,7 +1188,7 @@ void runtest(int n, char const* filename
             bool is_binary = false;
             for (size_t i = 0; i < data.size(); ++i)
             {
-                if (data[i] < 0)
+                if ((data[i] < 0) || (data[i] > 126))
                 {
                     is_binary = true;
                     break;
openSUSE Build Service is sponsored by