From cejkar@fit.vutbr.cz  Mon May 17 06:08:50 2004
Return-Path: <cejkar@fit.vutbr.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2804F16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2004 06:08:50 -0700 (PDT)
Received: from kazi.fit.vutbr.cz (kazi.fit.vutbr.cz [147.229.8.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7D66A43D58
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2004 06:08:48 -0700 (PDT)
	(envelope-from cejkar@fit.vutbr.cz)
Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1])
	by kazi.fit.vutbr.cz (8.12.11/8.12.11) with ESMTP id i4HD8iH5026999
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 17 May 2004 15:08:44 +0200 (CEST)
Received: (from cejkar@localhost)
	by kazi.fit.vutbr.cz (8.12.11/8.12.5/Submit) id i4HD8iUZ026998;
	Mon, 17 May 2004 15:08:44 +0200 (CEST)
Message-Id: <200405171308.i4HD8iUZ026998@kazi.fit.vutbr.cz>
Date: Mon, 17 May 2004 15:08:44 +0200 (CEST)
From: Rudolf Cejka <cejkar@fit.vutbr.cz>
Reply-To: Rudolf Cejka <cejkar@fit.vutbr.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] ftp/tnftpd fix for >4GB files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66741
>Category:       ports
>Synopsis:       [PATCH] ftp/tnftpd fix for >4GB files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 17 06:10:24 PDT 2004
>Closed-Date:    Fri May 21 06:51:54 PDT 2004
>Last-Modified:  Fri May 21 06:51:54 PDT 2004
>Originator:     Rudolf Cejka
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:

Please, add following patch to the files directory in ftp/tnftpd (I'm the
maintainer) named as patch-configure, so that files over 4 GB are supported.
The next patch is just Makefile update, so that port revision is increased.

Thanks.

--- CUT HERE (START) - SAVE IT AS files/patch-configure
--- configure.orig	Mon May 17 14:46:54 2004
+++ configure	Mon May 17 14:47:14 2004
@@ -2423,6 +2423,7 @@
   cat > conftest.$ac_ext <<EOF
 #line 2425 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <stdio.h>
 main()
 {
--- CUT HERE (END)

--- CUT HERE (START)
--- Makefile.orig	Mon May 17 14:44:16 2004
+++ Makefile	Mon May 17 14:49:10 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	tnftpd
 PORTVERSION=	20031217
+PORTREVISION=	1
 CATEGORIES=	ftp ipv6
 MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
 
--- CUT HERE (END)

>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Fri May 21 06:50:36 PDT 2004 
State-Changed-Why:  
Committed, thanks! 
NB: Please use send-pr's "maintainer-update"-class and  
include something like "maintainer" into the subject for your 
own ports. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66741 
>Unformatted:
