--- /dev/null
+<?php
+/* Autoloader for dev-php/sebastian-diff */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\diff\chunk' => '/Chunk.php',
+ 'sebastianbergmann\diff\diff' => '/Diff.php',
+ 'sebastianbergmann\diff\differ' => '/Differ.php',
+ 'sebastianbergmann\diff\line' => '/Line.php',
+ 'sebastianbergmann\diff\longestcommonsubsequencecalculator' => '/LongestCommonSubsequenceCalculator.php',
+ 'sebastianbergmann\diff\memoryefficientlongestcommonsubsequencecalculator' => '/MemoryEfficientLongestCommonSubsequenceCalculator.php',
+ 'sebastianbergmann\diff\parser' => '/Parser.php',
+ 'sebastianbergmann\diff\timeefficientlongestcommonsubsequencecalculator' => '/TimeEfficientLongestCommonSubsequenceCalculator.php',
+ 'sebastianbergmann\diff\configurationexception' => '/Exception/ConfigurationException.php',
+ 'sebastianbergmann\diff\exception' => '/Exception/Exception.php',
+ 'sebastianbergmann\diff\invalidargumentexception' => '/Exception/InvalidArgumentException.php',
+ 'sebastianbergmann\diff\output\abstractchunkoutputbuilder' => '/Output/AbstractChunkOutputBuilder.php',
+ 'sebastianbergmann\diff\output\diffonlyoutputbuilder' => '/Output/DiffOnlyOutputBuilder.php',
+ 'sebastianbergmann\diff\output\diffoutputbuilderinterface' => '/Output/DiffOutputBuilderInterface.php',
+ 'sebastianbergmann\diff\output\strictunifieddiffoutputbuilder' => '/Output/StrictUnifiedDiffOutputBuilder.php',
+ 'sebastianbergmann\diff\output\unifieddiffoutputbuilder' => '/Output/UnifiedDiffOutputBuilder.php',
+ ),
+ __DIR__
+);
--- /dev/null
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="diff"
+
+DESCRIPTION="PHP Diff implementation"
+HOMEPAGE="http://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.1:*"
+
+src_install() {
+ insinto /usr/share/php/SebastianBergmann/Diff
+ doins -r src/*
+ newins "${FILESDIR}/autoload-3.0.2.php" autoload.php
+}