diff mbox

[xorg] Added pkgconfig.patch to libx11-1.4.99.

Message ID 1402605931-9824-1-git-send-email-dore@madsdore.dk
State New
Delegated to: Jacob Kjaergaard
Headers show

Commit Message

Mads Doré Hansen June 12, 2014, 8:45 p.m. UTC
---
 recipes/xorg-lib/libx11-1.4.99.902/pkgconfig.patch | 9 +++++++++
 recipes/xorg-lib/libx11_1.4.99.902.oe              | 1 +
 2 files changed, 10 insertions(+)
 create mode 100644 recipes/xorg-lib/libx11-1.4.99.902/pkgconfig.patch
diff mbox

Patch

diff --git a/recipes/xorg-lib/libx11-1.4.99.902/pkgconfig.patch b/recipes/xorg-lib/libx11-1.4.99.902/pkgconfig.patch
new file mode 100644
index 0000000..9374c45
--- /dev/null
+++ b/recipes/xorg-lib/libx11-1.4.99.902/pkgconfig.patch
@@ -0,0 +1,9 @@ 
+--- src/x11.pc.in	2013-06-26 14:08:12.661020112 +0200
++++ src/x11.pc.in	2013-06-26 14:07:37.681021146 +0200
+@@ -11,5 +11,5 @@
+ Requires: xproto @XKBPROTO_REQUIRES@
+ Requires.private: @X11_EXTRA_DEPS@
+ Cflags: -I${includedir} @XTHREAD_CFLAGS@
+-Libs: -L${libdir} -lX11
++Libs: -L${libdir} -lX11 -ldl
+ Libs.private: @XTHREADLIB@
diff --git a/recipes/xorg-lib/libx11_1.4.99.902.oe b/recipes/xorg-lib/libx11_1.4.99.902.oe
index 7cc8178..b32b3ff 100644
--- a/recipes/xorg-lib/libx11_1.4.99.902.oe
+++ b/recipes/xorg-lib/libx11_1.4.99.902.oe
@@ -16,5 +16,6 @@  RDEPENDS_${PN} +=  "libxcb libxau libxdmcp libdl libc"
 SRC_URI += " file://disable_tests.patch \
              file://keysymdef_include.patch \
              file://disable_makekeys.patch \
+             file://pkgconfig.patch \
              "