diff options
author | shaun <shaun@FreeBSD.org> | 2007-09-27 03:10:54 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2007-09-27 03:10:54 +0800 |
commit | 1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7 (patch) | |
tree | 7dd3f3d0d1fa63866db8acec06ee069be0dfc2b1 /news | |
parent | 2ff155f86a7edbe55873f118d7ee4a6b62cf89d3 (diff) | |
download | freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.tar.gz freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.tar.zst freebsd-ports-gnome-1d99e1bf1587927af7c8e1d1bd2facf3619ab2a7.zip |
Fix a bug which causes innfeed to segfault on 64-bit architectures.
Submitted by: Kai Gallasch <gallasch@free.de>
Debugged by: Julien ÉLIE <julien@trigofacile.com>
Patched by: roberto
Diffstat (limited to 'news')
-rw-r--r-- | news/inn/Makefile | 2 | ||||
-rw-r--r-- | news/inn/files/patch-innfeed_endpoint.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile index 45f4b7bb94ae..948ebb2a6f57 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -7,7 +7,7 @@ PORTNAME?= inn PORTVERSION?= 2.4.3 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= news ipv6 MASTER_SITES?= ${MASTER_SITE_ISC} MASTER_SITE_SUBDIR?= ${PORTNAME} diff --git a/news/inn/files/patch-innfeed_endpoint.c b/news/inn/files/patch-innfeed_endpoint.c new file mode 100644 index 000000000000..b50fb3011898 --- /dev/null +++ b/news/inn/files/patch-innfeed_endpoint.c @@ -0,0 +1,11 @@ +--- innfeed/endpoint.c.orig Mon Mar 20 04:14:57 2006 ++++ innfeed/endpoint.c Wed Sep 26 20:02:26 2007 +@@ -1644,7 +1644,7 @@ + if (sigHandlers == NULL) + { + sigHandlers = xmalloc (sizeof(sigfn) * NSIG) ; +- sigFlags = xmalloc (sizeof(int) * NSIG) ; ++ sigFlags = xmalloc (sizeof(sig_atomic_t) * NSIG) ; + for (i = 0 ; i < NSIG ; i++) + { + sigHandlers [i] = NULL ; |