diff options
| author | Remi Collet <fedora@famillecollet.com> | 2017-03-23 13:43:03 +0100 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2017-03-23 13:43:03 +0100 | 
| commit | 1114401ef20003db34ab0cd6e8076c1d251b5106 (patch) | |
| tree | d7af75d930d3b368c8a993b163baf23238b611da | |
| parent | 8ab7c7e52dd642d60b8f67af179e56e2ff16e8f6 (diff) | |
missing patch
| -rw-r--r-- | php-phpunit-php-code-coverage5-fonts.patch | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/php-phpunit-php-code-coverage5-fonts.patch b/php-phpunit-php-code-coverage5-fonts.patch new file mode 100644 index 0000000..a981850 --- /dev/null +++ b/php-phpunit-php-code-coverage5-fonts.patch @@ -0,0 +1,16 @@ +diff -up src/Report/Html/Facade.php.rpm src/Report/Html/Facade.php +--- src/Report/Html/Facade.php.rpm	2017-03-03 07:14:13.503062385 +0100 ++++ src/Report/Html/Facade.php	2017-03-03 07:16:38.118761058 +0100 +@@ -134,7 +134,11 @@ class Facade +         $dir = $this->getDirectory($target . '.fonts'); +         copy($this->templatePath . 'fonts/glyphicons-halflings-regular.eot', $dir . 'glyphicons-halflings-regular.eot'); +         copy($this->templatePath . 'fonts/glyphicons-halflings-regular.svg', $dir . 'glyphicons-halflings-regular.svg'); +-        copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf'); ++        if (file_exists($font='/usr/share/fonts/glyphicons-halflings/glyphicons-halflings-regular.ttf')) { // System font ++            copy($font, $dir . 'glyphicons-halflings-regular.ttf'); ++        } else { ++            copy($this->templatePath . 'fonts/glyphicons-halflings-regular.ttf', $dir . 'glyphicons-halflings-regular.ttf'); ++        } +         copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff', $dir . 'glyphicons-halflings-regular.woff'); +         copy($this->templatePath . 'fonts/glyphicons-halflings-regular.woff2', $dir . 'glyphicons-halflings-regular.woff2'); +  | 
