- fix mod_authz_svn build with -Wunused-variable

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=212
This commit is contained in:
Stefan Sperling
2015-08-06 11:11:59 +00:00
committed by Git OBS Bridge
parent 2ab4bcad2b
commit 404628c794
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
--- subversion/mod_authz_svn/mod_authz_svn.c.orig 2015-08-06 13:03:43.000000000 +0200
+++ subversion/mod_authz_svn/mod_authz_svn.c 2015-08-06 13:04:35.000000000 +0200
@@ -860,13 +860,14 @@
&authz_svn_module);
const char *repos_path = NULL;
const char *dest_repos_path = NULL;
- int status, authn_required;
+ int status;
#if USE_FORCE_AUTHN
/* Use the force_authn() hook available in 2.4.x to work securely
* given that ap_some_auth_required() is no longer functional for our
* purposes in 2.4.x.
*/
+ int authn_required;
int authn_configured;
/* We are not configured to run */

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 6 11:10:50 UTC 2015 - stsp@elego.de
- fix mod_authz_svn build with -Wunused-variable
-------------------------------------------------------------------
Thu Aug 6 10:48:33 UTC 2015 - stsp@elego.de

View File

@@ -72,6 +72,7 @@ Patch43: subversion-1.8.11-swig-py-comment-2.patch
Patch44: subversion-1.8.11-swig-py-comment-3.patch
Patch45: subversion-1.8.11-autocheck-time.patch
Patch46: subversion-1.8.14-httpd-version-number-detection.patch
Patch47: subversion-1.8.14-unused-var-authnrequired.patch
BuildRequires: apache2-devel
BuildRequires: apache2-prefork
BuildRequires: cyrus-sasl-devel
@@ -252,6 +253,7 @@ parameters and keywords for the svn command and other tools.
%patch44 -p1
%patch45 -p1
%patch46 -p1
%patch47
%build
# Re-boot strap, needed for patch37