summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/spdx-licenses/files/spdx-licenses-change-res-path.patch')
-rw-r--r--dev-php/spdx-licenses/files/spdx-licenses-change-res-path.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-php/spdx-licenses/files/spdx-licenses-change-res-path.patch b/dev-php/spdx-licenses/files/spdx-licenses-change-res-path.patch
deleted file mode 100644
index 284cdddda95e..000000000000
--- a/dev-php/spdx-licenses/files/spdx-licenses-change-res-path.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-# Fix the path of res/
-
---- ./src/SpdxLicenses.php 2015-07-15 19:38:14.000000000 +0200
-+++ ./src/SpdxLicenses.php 2016-11-13 19:24:17.659442468 +0100
-@@ -170,7 +170,7 @@
- private function loadLicenses()
- {
- if (null === $this->licenses) {
-- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-licenses.json');
-+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-licenses.json');
- $this->licenses = json_decode($jsonFile, true);
- }
- }
-@@ -178,7 +178,7 @@
- private function loadExceptions()
- {
- if (null === $this->exceptions) {
-- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-exceptions.json');
-+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-exceptions.json');
- $this->exceptions = json_decode($jsonFile, true);
- }
- }