summaryrefslogtreecommitdiffstats
path: root/Net_DNS2-incl.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-29 06:49:21 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-29 06:49:21 +0100
commit6938ff46141865e3f53be61d11bba5ee2155490c (patch)
tree8b5933ccf675e5a8ff6cd51e2a8a908db1961847 /Net_DNS2-incl.patch
parenta05b175ad24f89354ae10553f4a81dc14d5838e5 (diff)
php-pear-Net-DNS2: 1.4.2
Diffstat (limited to 'Net_DNS2-incl.patch')
-rw-r--r--Net_DNS2-incl.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/Net_DNS2-incl.patch b/Net_DNS2-incl.patch
new file mode 100644
index 0000000..02c92dd
--- /dev/null
+++ b/Net_DNS2-incl.patch
@@ -0,0 +1,25 @@
+From bb70609b26b363821d21617bb49274d512836ee9 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Mon, 28 Nov 2016 15:13:53 +0100
+Subject: [PATCH 1/4] better value for include_path (other path can be useful,
+ e.g. phpunit autoloader)
+
+---
+ tests/AllTests.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/AllTests.php b/tests/AllTests.php
+index 001008a..d96aa4d 100644
+--- a/tests/AllTests.php
++++ b/tests/AllTests.php
+@@ -60,7 +60,7 @@
+ require_once 'Net_DNS2_ResolverTest.php';
+ require_once 'Net_DNS2_DNSSECTest.php';
+
+-set_include_path('..:.');
++set_include_path('..:' . get_include_path());
+
+ /**
+ * This test suite assumes that Net_DNS2 will be in the include path, otherwise it
+
+