mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-23 10:32:45 +07:00
First Commit
This commit is contained in:
28
external/packages/extras-buildpkgs/libvdpau/debian/patches/link-with-libx11.patch
vendored
Normal file
28
external/packages/extras-buildpkgs/libvdpau/debian/patches/link-with-libx11.patch
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
Subject: Link libvdpao with libX11 since it uses symbols from it
|
||||
Author: Russ Allbery <rra@debian.org>
|
||||
Forwarded: no
|
||||
|
||||
libvdpau uses the symbols:
|
||||
|
||||
_XEatData
|
||||
_XReply
|
||||
_XFlush
|
||||
_XReadPad
|
||||
XFree
|
||||
|
||||
which are provided by libX11, but wasn't linking with it directly, resulting
|
||||
in warnings during the package build (and possibly errors later with better
|
||||
linkers).
|
||||
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -22,7 +22,8 @@ endif
|
||||
libvdpau_la_LIBADD = \
|
||||
$(DLOPEN_LIBS) \
|
||||
$(PTHREAD_LIBS) \
|
||||
- $(XEXT_LIBS)
|
||||
+ $(XEXT_LIBS) \
|
||||
+ $(X11_LIBS)
|
||||
|
||||
libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined
|
||||
|
||||
Reference in New Issue
Block a user