From b97ef60773ba6b16298c1e5691513698880d66ea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 27 Oct 2015 17:08:40 +0100 Subject: php-herrera-io-annotations: 1.0.1, new package --- php-herrera-io-annotations-rpm.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 php-herrera-io-annotations-rpm.patch (limited to 'php-herrera-io-annotations-rpm.patch') diff --git a/php-herrera-io-annotations-rpm.patch b/php-herrera-io-annotations-rpm.patch new file mode 100644 index 0000000..83c1736 --- /dev/null +++ b/php-herrera-io-annotations-rpm.patch @@ -0,0 +1,12 @@ +diff -up src/lib/Herrera/Annotations/Convert/ToXml.php.rpm src/lib/Herrera/Annotations/Convert/ToXml.php +--- src/lib/Herrera/Annotations/Convert/ToXml.php.rpm 2015-10-27 16:58:31.834414038 +0100 ++++ src/lib/Herrera/Annotations/Convert/ToXml.php 2015-10-27 16:59:44.395738935 +0100 +@@ -16,7 +16,7 @@ use Herrera\Annotations\Tokens; + */ + define( + 'HERRERA_ANNOTATIONS_SCHEMA', +- __DIR__ . '/../../../../../res/annotations.xsd' ++ (getenv('HERRERA_ANNOTATIONS_SCHEMA') ?: '/usr/share/php-herrera-io-annotations/res/annotations.xsd') + ); + + /** -- cgit