Aleksander Piotrowski <a...@nic.com.pl> wrote:

> net/icb segfaults on amd64 as it's using malloc without necessary
> includes

looks like more patches are needed so please hold on with this diff

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/icb/Makefile,v
> retrieving revision 1.25
> diff -u -r1.25 Makefile
> --- Makefile  15 Sep 2007 22:36:53 -0000      1.25
> +++ Makefile  14 Dec 2009 21:09:36 -0000
> @@ -4,7 +4,7 @@
>  COMMENT=     Internet CB - mostly-defunct chat client
>  
>  DISTNAME=    icb-5.0.9
> -PKGNAME=     ${DISTNAME}p3
> +PKGNAME=     ${DISTNAME}p4
>  CATEGORIES=  net
>  
>  MASTER_SITES=        ftp://ftp.swcp.com/pub/icb/clients/unix/
> Index: patches/patch-icb_getswitch_c
> ===================================================================
> RCS file: patches/patch-icb_getswitch_c
> diff -N patches/patch-icb_getswitch_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-icb_getswitch_c     14 Dec 2009 20:44:55 -0000
> @@ -0,0 +1,9 @@
> +$OpenBSD$
> +--- icb/getswitch.c.orig     Mon Dec 14 21:44:41 2009
> ++++ icb/getswitch.c  Mon Dec 14 21:44:48 2009
> +@@ -1,4 +1,5 @@
> + #include <stdio.h>
> ++#include <stdlib.h>
> + #include <strings.h>
> + #include <string.h>
> + 
> 
> 

-- 

Reply via email to