diff options
author | seanc <seanc@FreeBSD.org> | 2006-02-21 16:50:44 +0800 |
---|---|---|
committer | seanc <seanc@FreeBSD.org> | 2006-02-21 16:50:44 +0800 |
commit | e169daa5f14fc644705e27f8d82fe623b6cdc854 (patch) | |
tree | d001f451419ebb8410e7b132cf5c8540837708e5 /www | |
parent | f15b8211d39d4231e622459f9af17d97f34a2d80 (diff) | |
download | freebsd-ports-gnome-e169daa5f14fc644705e27f8d82fe623b6cdc854.tar.gz freebsd-ports-gnome-e169daa5f14fc644705e27f8d82fe623b6cdc854.tar.zst freebsd-ports-gnome-e169daa5f14fc644705e27f8d82fe623b6cdc854.zip |
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 <rachel@hobthross.com>
Fix obtained from: Scott Wilson <scott.wilson@gmail.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_backhand/Makefile | 1 | ||||
-rw-r--r-- | www/mod_backhand/files/patch-mod_backhand.c | 10 |
2 files changed, 11 insertions, 0 deletions
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(); |