ports/75265: Update port: editors/lfhex
KATO Tsuguru
tkato432 at yahoo.com
Sun Dec 19 17:00:53 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list