Date: Sat, 11 Oct 2003 14:32:28 +0200 From: Alexander Portnoy <my-subs@mail.ru> To: FreeBSD-gnats-submit@freebsd.org Cc: freebsd-ports@freebsd.org Subject: [Patch]: textproc/glimpse-4.12.6 compilation error on FreeBSD-5.1-CURRENT Message-ID: <20031011143228.68af9e28.my-subs@mail.ru>
next in thread | raw e-mail | index | archive | help
>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 <stdio.h> #include <string.h> #include <unistd.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031011143228.68af9e28.my-subs>