From tkato432@yahoo.com  Sun Dec 19 17:00:46 2004
Return-Path: <tkato432@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A780F16A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 19 Dec 2004 17:00:46 +0000 (GMT)
Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9C1C143D4C
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun, 19 Dec 2004 17:00:45 +0000 (GMT)
	(envelope-from tkato432@yahoo.com)
Received: from localhost ([61.198.243.89]) by hfep06.dion.ne.jp with SMTP
          id <20041219170042517.OVUY@hfep06.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Mon, 20 Dec 2004 02:00:42 +0900
Message-Id: <20041220020010.338fcc82.tkato432@yahoo.com>
Date: Mon, 20 Dec 2004 02:00:10 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: editors/lfhex

>Number:         75265
>Category:       ports
>Synopsis:       Update port: editors/lfhex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 19 17:00:52 GMT 2004
>Closed-Date:    Mon Dec 20 09:31:07 GMT 2004
>Last-Modified:  Mon Dec 20 09:31:07 GMT 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix build on 6-current

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/lfhex/Makefile editors/lfhex/Makefile
--- /usr/ports/editors/lfhex/Makefile	Sat Dec 18 00:27:24 2004
+++ editors/lfhex/Makefile	Sat Dec 18 02:07:52 2004
@@ -30,10 +30,4 @@
 
 PLIST_FILES=	bin/lfhex
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
-BROKEN=		"Does not build on FreeBSD >= 6.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/editors/lfhex/files/patch-src::reader.hpp editors/lfhex/files/patch-src::reader.hpp
--- /usr/ports/editors/lfhex/files/patch-src::reader.hpp	Thu Jan  1 09:00:00 1970
+++ editors/lfhex/files/patch-src::reader.hpp	Sat Dec 18 01:56:53 2004
@@ -0,0 +1,18 @@
+--- src/reader.hpp.orig	Fri Feb 13 13:28:32 2004
++++ src/reader.hpp	Sat Dec 18 01:46:26 2004
+@@ -34,9 +34,13 @@
+ #include "local.h"
+ 
+ #ifdef DEBUG
+-#define INLINE
++#  define INLINE
+ #else
+-#define INLINE inline
++#  if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ >= 1
++#    define INLINE __attribute__((always_inline))
++#  else
++#    define INLINE inline
++#  endif
+ #endif
+ 
+ typedef vector<uchar> ReadBuffer;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->krion 
Responsible-Changed-By: krion 
Responsible-Changed-When: Sun Dec 19 17:11:44 GMT 2004 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75265 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Mon Dec 20 09:31:04 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

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