--- /dev/null
+[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
+--
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+XORG_MULTILIB=yes
+inherit xorg-2
+
+DESCRIPTION="X Present Extension C Library"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libXext[${MULTILIB_USEDEP}]
+ x11-libs/libXfixes[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr[${MULTILIB_USEDEP}]
+ x11-proto/presentproto[${MULTILIB_USEDEP}]
+ x11-proto/xextproto[${MULTILIB_USEDEP}]
+ x11-proto/xproto[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-add-depends-to-pkgconfig.patch )
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>