From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 05:32:36 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FA9216A4B3; Sat, 11 Oct 2003 05:32:36 -0700 (PDT) Received: from mx10.mail.ru (mx10.mail.ru [194.67.23.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A39D43F85; Sat, 11 Oct 2003 05:32:33 -0700 (PDT) (envelope-from my-subs@mail.ru) Received: from [62.0.88.224] (port=2386 helo=old.home) by mx10.mail.ru with smtp id 1A8Iv9-0001Qb-00; Sat, 11 Oct 2003 16:32:31 +0400 Date: Sat, 11 Oct 2003 14:32:28 +0200 From: Alexander Portnoy To: FreeBSD-gnats-submit@freebsd.org Message-Id: <20031011143228.68af9e28.my-subs@mail.ru> X-Mailer: Sylpheed (FreeBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: ports@freebsd.org cc: freebsd-ports-bugs@freebsd.org cc: freebsd-ports@freebsd.org Subject: [Patch]: textproc/glimpse-4.12.6 compilation error on FreeBSD-5.1-CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Portnoy List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 12:32:36 -0000 >Submitter-Id: current-users >Originator: Alexander Portnoy >Confidential: no >Synopsis: [Patch]: textproc/glimpse-4.12.6 compilation error on FreeBSD-5.1-CURRENT >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 5.1-CURRENT i386 >Environment: System: FreeBSD old.home 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Oct 11 10:21:55 sasha@old.home:/usr/obj/usr/src/sys/BASE i386 >Description: textproc/glimpse-4.12.6 causes compilation error on FreeBSD-5.1-CURRENT >How-To-Repeat: cd /usr/ports/textproc/glimpse make >Fix: The fix is tested under FreeBSD-4.8-RELEASE-p13 and FreeBSD-5.1-CURRENT (10 Oct 2003). Add the file patch-aj to the directory /usr/ports/textproc/glimpse/files and change the port version from 4.12.6 to 4.12.6_1. Here is the contents of the file patch-aj: --- libtemplate/util/log.c.orig Fri Oct 10 23:17:29 2003 +++ libtemplate/util/log.c Fri Oct 10 23:17:44 2003 @@ -49,6 +49,7 @@ * - Any derivative product is also subject to the restrictions of the * copyright, including distribution and use limitations. */ +#define __STRICT_ANSI__ #include #include #include