Whitelist pango_cairo_win32_font_map_get_type
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 19 Feb 2013 07:43:32 +0000 (02:43 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 19 Feb 2013 07:44:13 +0000 (02:44 -0500)
.def files are mostly used on Win32.  Whitelist the win32 font map
function in the check.

Bug 694095 - Fails make check: -pango_cairo_win32_font_map_get_type

pango/check.defs

index c497748..7081ca9 100755 (executable)
@@ -21,8 +21,12 @@ for def in $srcdir/*.def; do
 
        expected=$lib.expected
        list=$lib.list
-       eval $get_pango_syms | sort -u > "$expected"
-       cut -f 2 "$def" | grep -v EXPORTS | sort -u > "$list"
+       eval $get_pango_syms |
+       sort -u > "$expected"
+       cut -f 2 "$def" |
+       grep -v pango_cairo_win32_font_map_get_type |
+       grep -v EXPORTS |
+       sort -u > "$list"
 
        diff -u "$list" "$expected" >&2 && rm -f "$list" "$expected" || status=1
 done