--- /dev/null
+DIST X11-XCB-0.16.tar.gz 89791 SHA256 fc4385785540e980e6615eb35b9edc9c5ec09547810e62c317fe060042deb692 SHA512 08642ffe99b3bb83f68f05157613b895e5abf7f3c17e6bee4b835bde33654208d9bb1c34633163ccae0b9dafbd869c35fd36f3ce46d3220c6ca254f0ccf5926a WHIRLPOOL 2e2094d94470dc1b5c396912da00ef8d945bd691cba3c5419bdfa89d76fd45dd65de99e89ce1b28ce37c2f0885c1852c7aa1de52767d0f5c28050243e7b13df6
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MSTPLBG
+DIST_VERSION=0.16
+inherit perl-module virtualx
+
+DESCRIPTION="Perl bindings for libxcb"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/Data-Dump
+ dev-perl/Mouse
+ dev-perl/MouseX-NativeTraits
+ dev-perl/Try-Tiny
+ dev-perl/XML-Descent
+ dev-perl/XML-Simple
+ >=virtual/perl-XSLoader-0.20.0
+ x11-proto/xcb-proto
+ >=x11-libs/libxcb-1.2
+ x11-libs/xcb-util
+ x11-libs/xcb-util-wm
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-Devel-PPPort-3.190.0
+ dev-perl/ExtUtils-Depends
+ >=virtual/perl-ExtUtils-MakeMaker-6.590.0
+ >=virtual/perl-ExtUtils-ParseXS-3.180.0
+ dev-perl/ExtUtils-PkgConfig
+ dev-perl/XS-Object-Magic
+ test? (
+ dev-perl/Test-Deep
+ dev-perl/Test-Exception
+ virtual/perl-Test-Simple
+ )
+"
+PATCHES=( "${FILESDIR}/${P}-526.patch" )
+src_compile() {
+ MAKEOPTS="-j1" perl-module_src_compile
+}
+src_test() {
+ virtx perl-module_src_test
+}
--- /dev/null
+From e84699188ca845d39c6d5a7037a8a4d1620bb348 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Thu, 14 Sep 2017 15:29:34 +1200
+Subject: Fix for 5.26 .-in-@INC issues
+
+---
+ Makefile.PL | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 91a3da6..9ed7403 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -33,6 +33,7 @@ __
+ != grep { $ok{$_} = eval "require $_; 1" } @configure_req;
+ }
+
++BEGIN { unshift @INC, '.'; }
+ use inc::Module::Install;
+
+ name 'X11-XCB';
+@@ -81,7 +82,7 @@ WriteMakefile(
+
+ postamble <<'END_OF_MAKEFILE';
+ XCB_xs.inc:
+- $(PERL) -M_GenerateMyXS -E '_GenerateMyXS::generate()'
++ $(PERL) -I. -M_GenerateMyXS -E '_GenerateMyXS::generate()'
+
+ XCB.c: XCB_xs.inc XCB_util.inc XCB.inc
+
+--
+2.14.1
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">X11-XCB</remote-id>
+ <remote-id type="cpan-module">X11::XCB</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Atom</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Color</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Connection</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::ClientMessage</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::Focus</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::Generic</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::MapNotify</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Event::PropertyNotify</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Rect</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Screen</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Sizehints</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Sizehints::Aspect</remote-id>
+ <remote-id type="cpan-module">X11::XCB::Window</remote-id>
+ </upstream>
+</pkgmetadata>