summaryrefslogtreecommitdiffstats
path: root/0030-fix-sphinx-test.patch
diff options
context:
space:
mode:
Diffstat (limited to '0030-fix-sphinx-test.patch')
-rw-r--r--0030-fix-sphinx-test.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0030-fix-sphinx-test.patch b/0030-fix-sphinx-test.patch
new file mode 100644
index 0000000..73bc64a
--- /dev/null
+++ b/0030-fix-sphinx-test.patch
@@ -0,0 +1,29 @@
+From d75d31cc71065a6c7f44de9f029e255dce18aab9 Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Fri, 12 Apr 2013 08:53:32 +0200
+Subject: [PATCH] fix sphinx reference test
+
+---
+ tests/Reference/SphinxTest.php | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tests/Reference/SphinxTest.php b/tests/Reference/SphinxTest.php
+index d91ef30..39714bf 100644
+--- a/tests/Reference/SphinxTest.php
++++ b/tests/Reference/SphinxTest.php
+@@ -42,9 +42,12 @@ protected function setUp()
+ {
+ // Constants conditionnaly exists (according to libsphinx version)
+ $this->optionalconstants = array(
++ 'SPH_RANK_EXPR',
+ 'SPH_RANK_FIELDMASK',
+ 'SPH_RANK_MATCHANY',
+ 'SPH_RANK_PROXIMITY',
++ 'SPH_RANK_SPH04',
++ 'SPH_RANK_TOTAL',
+ );
+ $this->obj = new PHP_CompatInfo_Reference_Sphinx();
+ parent::setUp();
+--
+1.8.1.5
+