Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276467
Collapse All | Expand All

(-)vlc-0.9.8a/src/check_symbols (-3 / +4 lines)
Lines 2-15 Link Here
2
# Plugin API consistency check for VLC
2
# Plugin API consistency check for VLC
3
# Copyright © 2007 Rémi Denis-Courmont.
3
# Copyright © 2007 Rémi Denis-Courmont.
4
4
5
rm -f libvlc-headers.sym
5
rm -f libvlc-headers.sym libvlc-headers2.sym
6
6
7
cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h | \
7
cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h | \
8
sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
8
sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,\([^,]*\),.*/\1/p' | \
9
sed -e 's/[^a-zA-Z0-9_]*//' | \
9
sed -e 's/[^a-zA-Z0-9_]*//' | \
10
sort -fdu > libvlc-headers.sym
10
sort -fdu > libvlc-headers.sym
11
sort -fdu ${srcdir}/libvlccore.sym > libvlc-headers2.sym
11
12
12
if ! diff -u ${srcdir}/libvlccore.sym libvlc-headers.sym; then
13
if ! diff -u libvlc-headers2.sym libvlc-headers.sym; then
13
	echo "Mismatching symbols found!"
14
	echo "Mismatching symbols found!"
14
	exit 1
15
	exit 1
15
fi
16
fi
Lines 20-23 Link Here
20
#	exit 1
21
#	exit 1
21
#fi
22
#fi
22
23
23
rm -f libvlc-headers.sym
24
rm -f libvlc-headers.sym libvlc-headers2.sym
(-)vlc-0.9.8a/src/check_headers (-1 / +1 lines)
Lines 6-12 Link Here
6
# Look for configure #defines in public headers.
6
# Look for configure #defines in public headers.
7
# There are incorrect, as external users don't have our <config.h>.
7
# There are incorrect, as external users don't have our <config.h>.
8
regexp="$(cat ../config.h.in | \
8
regexp="$(cat ../config.h.in | \
9
	sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \
9
	sed -n -e 's/^#undef \([[:upper:]0-9_]*\)$/\1/p' | \
10
	grep -v 'WORDS_BIGENDIAN' | \
10
	grep -v 'WORDS_BIGENDIAN' | \
11
	xargs | \
11
	xargs | \
12
	sed -e 's/ /\\\|/g')"
12
	sed -e 's/ /\\\|/g')"

Return to bug 276467