File fix-ppc64.patch of Package libjansson.openSUSE_13.1_Update

Index: jansson-2.3.1/test/suites/api/check-exports
===================================================================
--- jansson-2.3.1.orig/test/suites/api/check-exports
+++ jansson-2.3.1/test/suites/api/check-exports
@@ -96,7 +96,7 @@ SOFILE="../src/.libs/libjansson.so"
 nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \
     || exit 77  # Skip if "nm -D" doesn't seem to work
 
-grep ' T ' $test_log/symbols | cut -d' ' -f3 | sort >$test_log/output
+grep -E ' [DT] ' $test_log/symbols | cut -d' ' -f3 | sort >$test_log/output
 
 if ! cmp -s $test_log/exports $test_log/output; then
     diff -u $test_log/exports $test_log/output >&2
openSUSE Build Service is sponsored by