Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong
GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/packages/extras-buildpkgs/libvdpau/debian/patches/link-with-libx11.patch
13273 views
1
Subject: Link libvdpao with libX11 since it uses symbols from it
2
Author: Russ Allbery <[email protected]>
3
Forwarded: no
4
5
libvdpau uses the symbols:
6
7
_XEatData
8
_XReply
9
_XFlush
10
_XReadPad
11
XFree
12
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).
16
17
--- a/src/Makefile.am
18
+++ b/src/Makefile.am
19
@@ -22,7 +22,8 @@ endif
20
libvdpau_la_LIBADD = \
21
$(DLOPEN_LIBS) \
22
$(PTHREAD_LIBS) \
23
- $(XEXT_LIBS)
24
+ $(XEXT_LIBS) \
25
+ $(X11_LIBS)
26
27
libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined
28
29
30