Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 02:00:10 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75265: Update port: editors/lfhex
Message-ID:  <20041220020010.338fcc82.tkato432@yahoo.com>
Resent-Message-ID: <200412191700.iBJH0qpC087856@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75265
>Category:       ports
>Synopsis:       Update port: editors/lfhex
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 19 17:00:52 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041220020010.338fcc82.tkato432>