[Patch]: textproc/glimpse-4.12.6 compilation error on FreeBSD-5.1-CURRENT

Alexander Portnoy my-subs at mail.ru
Sat Oct 11 05:32:36 PDT 2003

>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
System: FreeBSD old.home 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Oct 11 10:21:55 sasha at old.home:/usr/obj/usr/src/sys/BASE i386

	textproc/glimpse-4.12.6 causes compilation error on FreeBSD-5.1-CURRENT
	cd /usr/ports/textproc/glimpse
	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>

More information about the freebsd-ports mailing list