pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54348: pkgsrc net/fetch core dumps



Dear Jonathan,

Thank you for your patch.
The patch fixed the problem!

# /usr/pkg2/bin/fetch ftp://ftp.netbsd.org/robots.txt 
robots.txt                                    100% of   77  B   61 kBps


Hiroshi


> 2019/07/16 20:20、Jonathan Perkin <jperkin%joyent.com@localhost>のメール:
> 
> The following reply was made to PR pkg/54348; it has been noted by GNATS.
> 
> From: Jonathan Perkin <jperkin%joyent.com@localhost>
> To: Hiroshi Hakoyama <hiroshi-hakoyama%nagano.ac.jp@localhost>
> Cc: gnats-bugs%netbsd.org@localhost, joerg%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> 	pkgsrc-bugs%netbsd.org@localhost, coypu%sdf.org@localhost
> Subject: Re: pkg/54348: pkgsrc net/fetch core dumps
> Date: Tue, 16 Jul 2019 12:16:59 +0100
> 
> Hi,
> 
> Please could you try the following diff:
> 
> Index: fetch/files/Makefile.in
> ===================================================================
> RCS file: /cvsroot/pkgsrc/net/fetch/files/Makefile.in,v
> retrieving revision 1.2
> diff -u -r1.2 Makefile.in
> --- fetch/files/Makefile.in	5 Dec 2011 22:54:22 -0000	1.2
> +++ fetch/files/Makefile.in	16 Jul 2019 11:15:46 -0000
> @@ -5,5 +5,6 @@
>  PROG=		fetch
>  LDADD+=		-lfetch @LIBS@
>  CPPFLAGS+=	-DHAVE_CONFIG_H
> +CPPFLAGS+=	-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
> 
>  .include <bsd.prog.mk>
> 
> Thanks,
> 
> -- 
> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
> 



Home | Main Index | Thread Index | Old Index