From e169daa5f14fc644705e27f8d82fe623b6cdc854 Mon Sep 17 00:00:00 2001 From: seanc Date: Tue, 21 Feb 2006 08:50:44 +0000 Subject: Clear errno on library load. Fixes the symptom of mod_backhand aborting on systems with nss. Notified upstream maintainers. Port rev bump. PR: ports/75048 Submitted by: Rachel Willmer Fix obtained from: Scott Wilson --- www/mod_backhand/Makefile | 1 + www/mod_backhand/files/patch-mod_backhand.c | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 www/mod_backhand/files/patch-mod_backhand.c (limited to 'www') diff --git a/www/mod_backhand/Makefile b/www/mod_backhand/Makefile index ac630dc54189..f42e07c434c7 100644 --- a/www/mod_backhand/Makefile +++ b/www/mod_backhand/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_backhand PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://mirrors.omniti.com/mod_backhand/ \ http://people.FreeBSD.org/~seanc/ports/mod_backhand/ diff --git a/www/mod_backhand/files/patch-mod_backhand.c b/www/mod_backhand/files/patch-mod_backhand.c new file mode 100644 index 000000000000..2ea0d47ecd1a --- /dev/null +++ b/www/mod_backhand/files/patch-mod_backhand.c @@ -0,0 +1,10 @@ +--- mod_backhand.c.orig Tue Feb 21 00:42:40 2006 ++++ mod_backhand.c Tue Feb 21 00:43:24 2006 +@@ -427,6 +427,7 @@ + mbcfg *cfg = (mbcfg *) mconfig; + struct cpd *newfunc; + cfg->local = 1; ++ ap_os_dso_error(); + handle = ap_os_dso_load(szFilename); + if(!handle) + return ap_os_dso_error(); -- cgit