summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-03-16 09:26:43 -0700
committerMatt Turner <mattst88@gentoo.org>2017-03-16 09:29:16 -0700
commit367bdad0c4b69a5f2ddd358313b9da6878cb964c (patch)
tree7d4fc4a606f31c6fe3b91e69cbc7e66245325d0d /x11-libs/libXpresent/files
parentx11-libs/libXdmcp: Drop vulnerable versions. (diff)
downloadgentoo-367bdad0c4b69a5f2ddd358313b9da6878cb964c.tar.gz
gentoo-367bdad0c4b69a5f2ddd358313b9da6878cb964c.tar.bz2
gentoo-367bdad0c4b69a5f2ddd358313b9da6878cb964c.zip
x11-libs/libXpresent: New package
Bug: https://bugs.gentoo.org/549040
Diffstat (limited to 'x11-libs/libXpresent/files')
-rw-r--r--x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch b/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch
new file mode 100644
index 000000000000..1b5be70a4f3c
--- /dev/null
+++ b/x11-libs/libXpresent/files/libXpresent-1.0.0-add-depends-to-pkgconfig.patch
@@ -0,0 +1,29 @@
+[mattst88] Dropped configure.ac changes. ebuild depends on these.
+
+From dd6771cdf6f04cde37eb14891573c0e55be83241 Mon Sep 17 00:00:00 2001
+From: Julien Cristau <jcristau@debian.org>
+Date: Sun, 26 Apr 2015 17:53:15 +0200
+Subject: configure, xpresent.pc: require xext, xfixes and xrandr
+
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xfixes.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/Xrandr.h>
+include/X11/extensions/Xpresent.h:#include <X11/extensions/sync.h>
+
+v2: also add requirement in xpresent.pc since we include those in our
+ public header
+
+Signed-off-by: Julien Cristau <jcristau@debian.org>
+
+diff --git a/xpresent.pc.in b/xpresent.pc.in
+index d5d0d38..8f6047a 100644
+--- a/xpresent.pc.in
++++ b/xpresent.pc.in
+@@ -7,6 +7,6 @@ Name: Xpresent
+ Description: X Present Library
+ Version: @PACKAGE_VERSION@
+ Requires: xproto presentproto >= @PRESENTEXT_VERSION@
+-Requires.private: x11
++Requires.private: x11 xext xfixes xrandr
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lXpresent
+--