• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libvdpau/0002-link-with-libx11.patch
Damien LansonDamien Lanson committed a5d05c3c81620 Jun 2016
Raw file
Source viewDiff to previous
 
1
Subject: Link libvdpao with libX11 since it uses symbols from it
2
Author: Russ Allbery <rra@debian.org>
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
[Patch taken from
18
https://anonscm.debian.org/cgit/pkg-nvidia/libvdpau.git/tree/debian/patches/link-with-libx11.patch.]
19
​
20
Signed-off-by: Damien Lanson <damien@kal-host.com>
21
​
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)
31
 
32
 libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined
33
 
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.