fontconfig: needs host-gperf
[buildroot-gz.git] / package / libvdpau / 0002-link-with-libx11.patch
blobcfb39731c7fc586b1c822271a3e7570843e60870
1 Subject: Link libvdpao with libX11 since it uses symbols from it
2 Author: Russ Allbery <rra@debian.org>
3 Forwarded: no
5 libvdpau uses the symbols:
7 _XEatData
8 _XReply
9 _XFlush
10 _XReadPad
11 XFree
13 which are provided by libX11, but wasn't linking with it directly, resulting
14 in warnings during the package build (and possibly errors later with better
15 linkers).
17 [Patch taken from
18 https://anonscm.debian.org/cgit/pkg-nvidia/libvdpau.git/tree/debian/patches/link-with-libx11.patch.]
20 Signed-off-by: Damien Lanson <damien@kal-host.com>
22 --- a/src/Makefile.am
23 +++ b/src/Makefile.am
24 @@ -22,7 +22,8 @@ endif
25 libvdpau_la_LIBADD = \
26 $(DLOPEN_LIBS) \
27 $(PTHREAD_LIBS) \
28 - $(XEXT_LIBS)
29 + $(XEXT_LIBS) \
30 + $(X11_LIBS)
32 libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined