apache-mod_perl/0025-Include-also-from-INCLUDEDIR-disable-test_loglevel.patch

43 lines
1.2 KiB
Diff
Raw Permalink Normal View History

From bf10d54a6d544eb36b3d4baf895ad86c28f43841 Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Wed, 25 Jul 2012 10:36:25 +0200
Subject: [PATCH 25/28] Include also from INCLUDEDIR, disable test_loglevel
---
lib/Apache2/ParseSource.pm | 3 ++-
t/conf/post_config_startup.pl | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/Apache2/ParseSource.pm b/lib/Apache2/ParseSource.pm
index 7eafab5..4412d76 100644
--- a/lib/Apache2/ParseSource.pm
+++ b/lib/Apache2/ParseSource.pm
@@ -115,7 +115,8 @@ sub scan {
sub include_dirs {
my $self = shift;
- ($self->config->apxs('-q' => 'APR_INCLUDEDIR'),
+ ($self->config->apxs('-q' => 'INCLUDEDIR'),
+ $self->config->apxs('-q' => 'APR_INCLUDEDIR'),
$self->config->mp_include_dir);
}
diff --git a/t/conf/post_config_startup.pl b/t/conf/post_config_startup.pl
index 391a0e2..5ab1bfc 100644
--- a/t/conf/post_config_startup.pl
+++ b/t/conf/post_config_startup.pl
@@ -31,7 +31,9 @@ test_apache_resource();
test_apache_status();
-test_loglevel();
+# FIXME: httpd-2.4 does not have loglevel setting in ServerRec
+# This test has to be fixed.
+#test_loglevel();
test_perl_ithreads();
--
1.7.11.4