summaryrefslogtreecommitdiffstats
path: root/php-pear-1.10-restcache.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-26 18:17:35 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-26 18:17:35 +0200
commit824833cb78637514ce18b988394f68bf018638dc (patch)
tree349569cde2bcb0f799bb071ee1e4cc4cfd547864 /php-pear-1.10-restcache.patch
parentdb523b0405a01bb960aaec61c2aba7e976c7c964 (diff)
php-pear: refresh patch
Diffstat (limited to 'php-pear-1.10-restcache.patch')
-rw-r--r--php-pear-1.10-restcache.patch18
1 files changed, 12 insertions, 6 deletions
diff --git a/php-pear-1.10-restcache.patch b/php-pear-1.10-restcache.patch
index 5979bca..40d129f 100644
--- a/php-pear-1.10-restcache.patch
+++ b/php-pear-1.10-restcache.patch
@@ -1,11 +1,17 @@
+From fccb285ce442c710d9795d2a102b229799de4922 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Sun, 26 Jul 2015 08:08:23 +0200
+Subject: [PATCH] allow pear to work when cache_dir is not writable
-Workaround for:
+---
+ PEAR/REST.php | 7 +++++++
+ 1 file changed, 7 insertions(+)
- https://bugzilla.redhat.com/show_bug.cgi?id=747361
-
---- REST.php.restcache
-+++ REST.php
-@@ -235,6 +235,13 @@
+diff --git a/PEAR/REST.php b/PEAR/REST.php
+index c5ed192..1e472b7 100644
+--- a/PEAR/REST.php
++++ b/PEAR/REST.php
+@@ -235,6 +235,13 @@ function saveCache($url, $contents, $lastmodified, $nochange = false, $cacheid =
}
}