pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/fetch fetch: Ensure the same lfcompile(5) flags ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6f9124ee685
branches:  trunk
changeset: 398324:e6f9124ee685
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jul 16 14:47:16 2019 +0000

description:
fetch: Ensure the same lfcompile(5) flags are used as libfetch.

Without this off_t can differ between the two, leading to segfaults as
seen in PR#54348.  Bump PKGREVISION.

diffstat:

 net/fetch/Makefile          |  4 ++--
 net/fetch/files/Makefile.in |  1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r dbc67c6234be -r e6f9124ee685 net/fetch/Makefile
--- a/net/fetch/Makefile        Tue Jul 16 14:23:04 2019 +0000
+++ b/net/fetch/Makefile        Tue Jul 16 14:47:16 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2017/09/07 07:55:01 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2019/07/16 14:47:16 jperkin Exp $
 
 DISTNAME=      fetch-1.8
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    net
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r dbc67c6234be -r e6f9124ee685 net/fetch/files/Makefile.in
--- a/net/fetch/files/Makefile.in       Tue Jul 16 14:23:04 2019 +0000
+++ b/net/fetch/files/Makefile.in       Tue Jul 16 14:47:16 2019 +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>



Home | Main Index | Thread Index | Old Index