summaryrefslogtreecommitdiff
path: root/www/ap-xslt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-23 11:37:41 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-23 11:37:41 +0000
commit43555ce304d3326ee84bc2e08ee45fda19511679 (patch)
tree7cbab695531cb641295a5622c42527e0b910ab01 /www/ap-xslt
parent25f1d250e9738a29ff3dc74436ecebd3c05afda8 (diff)
downloadpkgsrc-43555ce304d3326ee84bc2e08ee45fda19511679.tar.gz
Always return a value in non-void functions.
Diffstat (limited to 'www/ap-xslt')
-rw-r--r--www/ap-xslt/distinfo4
-rw-r--r--www/ap-xslt/patches/patch-ab8
2 files changed, 7 insertions, 5 deletions
diff --git a/www/ap-xslt/distinfo b/www/ap-xslt/distinfo
index 62de93dbe36..f5a1178fedd 100644
--- a/www/ap-xslt/distinfo
+++ b/www/ap-xslt/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 14:08:28 wiz Exp $
+$NetBSD: distinfo,v 1.8 2012/11/23 11:37:41 joerg Exp $
SHA1 (modxslt-1.1.tar.gz) = 136edef75ef6caf53eb865102a2ebfa15383df47
RMD160 (modxslt-1.1.tar.gz) = 463aeb1afd8f375bb6dd25fd85022c37dd35cba7
Size (modxslt-1.1.tar.gz) = 11693 bytes
-SHA1 (patch-ab) = 024e79a880835193eba1ad69eedf2c1057240a17
+SHA1 (patch-ab) = 01a10351878013ba6ecedc86afd5ee2461c863e8
diff --git a/www/ap-xslt/patches/patch-ab b/www/ap-xslt/patches/patch-ab
index 4f223a5b2e6..3e9c098249d 100644
--- a/www/ap-xslt/patches/patch-ab
+++ b/www/ap-xslt/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2003/05/31 14:41:32 grant Exp $
+$NetBSD: patch-ab,v 1.4 2012/11/23 11:37:41 joerg Exp $
This patch incorporates a patch from the mod_xslt project page on sourceforge
in order to have a valid base URI set during xslt processing, so that document
@@ -6,7 +6,7 @@ inclusion will DTRT.
It also fixes two multi-line literals which are disallowed in gcc 3.3.
---- mod_xslt.c.orig Thu Aug 24 12:05:28 2000
+--- mod_xslt.c.orig 2000-08-24 02:05:28.000000000 +0000
+++ mod_xslt.c
@@ -43,7 +43,7 @@
#include "http_protocol.h"
@@ -47,9 +47,10 @@ It also fixes two multi-line literals which are disallowed in gcc 3.3.
if (cfg->debug){
- return mod_xslt_debug_out(r, "XSLT DEBUG: \"AddHandler mod_xslt .xml\" will cause infinite
- recursion. Remove it!\n");
+- return ;
+ return mod_xslt_debug_out(r, "XSLT DEBUG: \"AddHandler mod_xslt .xml\" will cause infinite\n"
+ "recursion. Remove it!\n");
- return ;
++ return SERVER_ERROR;
} else {
- ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r->server, "\"AddHandler mod_xslt .xml\" will cause infinite
- recursion. Remove it!\n");
@@ -57,3 +58,4 @@ It also fixes two multi-line literals which are disallowed in gcc 3.3.
+ "recursion. Remove it!\n");
return SERVER_ERROR;
}
+