subversion/subversion-1.9.0-allow-httpd-2.4.6.patch

32 lines
1.4 KiB
Diff
Raw Normal View History

From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Wed, 07 May 2014 20:55:04 +0100
Subject: Allow building against blacklisted Apache httpd 2.4.6
References: [bnc#864308]
Upstream: no
Apache httpd in openSUSE 13.1 is 2.4.6. The mod_dav in this version
is problematic for Apache Subversion and it is blacklisted in via
configure macros in the 1.8.9 release of svn and up.
The relevant patches have been applied to the apache2 package in
openSUSE:13.1:Update and the update has been released, [bnc#864308].
This patch enables building Subversion against this fixed package.
---
build/ac-macros/apache.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: subversion-1.9.1/build/ac-macros/apache.m4
===================================================================
--- subversion-1.9.1.orig/build/ac-macros/apache.m4 2015-09-03 15:13:26.505496972 +0200
+++ subversion-1.9.1/build/ac-macros/apache.m4 2015-09-03 15:14:20.843043405 +0200
@@ -102,7 +102,7 @@ if test -n "$APXS" && test "$APXS" != "n
HTTPD_PATCH=`$SED -ne '/^#define AP_SERVER_PATCHLEVEL_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
HTTPD_VERSION="${HTTPD_MAJOR}.${HTTPD_MINOR}.${HTTPD_PATCH}"
case "$HTTPD_VERSION" in
- 2.2.25 | 2.4.[[5-6]])
+ 2.2.25 | 2.4.5)
AC_MSG_RESULT([broken])
AC_MSG_ERROR([Apache httpd version $HTTPD_VERSION includes a broken mod_dav; use a newer version of httpd])
;;