ports/86677: Update port: editors/lfhex to 0.3.7.1
KATO Tsuguru
tkato432 at yahoo.com
Wed Sep 28 16:10:24 UTC 2005
>Number: 86677
>Category: ports
>Synopsis: Update port: editors/lfhex to 0.3.7.1
>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: Wed Sep 28 16:10:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 0.3.7.1
Remove file:
files/patch-src::reader.cpp
files/patch-src::reader.hpp
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/editors/lfhex/Makefile editors/lfhex/Makefile
--- /usr/ports/editors/lfhex/Makefile Tue Apr 12 14:04:33 2005
+++ editors/lfhex/Makefile Wed Sep 21 20:23:24 2005
@@ -7,7 +7,7 @@
#
PORTNAME= lfhex
-PORTVERSION= 0.3.7
+PORTVERSION= 0.3.7.1
CATEGORIES= editors
MASTER_SITES= http://home.earthlink.net/~eyekode/data/
@@ -26,6 +26,7 @@
EXEC_PREFIX="${PREFIX}/bin" \
IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}" \
+ INSTALL="${INSTALL_PROGRAM}" \
VERBOSE=1
PLIST_FILES= bin/lfhex
diff -urN /usr/ports/editors/lfhex/distinfo editors/lfhex/distinfo
--- /usr/ports/editors/lfhex/distinfo Tue May 11 13:34:05 2004
+++ editors/lfhex/distinfo Wed Sep 21 20:16:22 2005
@@ -1,2 +1,2 @@
-MD5 (lfhex-0.3.7.tar.gz) = 203051364839fa48b9e030d44e84e648
-SIZE (lfhex-0.3.7.tar.gz) = 69947
+MD5 (lfhex-0.3.7.1.tar.gz) = b44afea9acfa10699edf38fa0e079da4
+SIZE (lfhex-0.3.7.1.tar.gz) = 70863
diff -urN /usr/ports/editors/lfhex/files/patch-src::reader.cpp editors/lfhex/files/patch-src::reader.cpp
--- /usr/ports/editors/lfhex/files/patch-src::reader.cpp Thu Jan 20 03:03:35 2005
+++ editors/lfhex/files/patch-src::reader.cpp Thu Jan 1 09:00:00 1970
@@ -1,48 +0,0 @@
-
-$FreeBSD: ports/editors/lfhex/files/patch-src::reader.cpp,v 1.5 2005/01/19 12:47:34 krion Exp $
-
---- src/reader.cpp.orig
-+++ src/reader.cpp
-@@ -12,6 +12,7 @@
- #include <stdexcept>
- #include <algorithm>
- #include <new>
-+#include <cassert>
-
- // for stat:
- #include <sys/types.h>
-@@ -117,7 +118,7 @@
- return true;
- }
-
--INLINE bool Reader::is_open() const
-+bool Reader::is_open() const
- {
- return _is_open;
- }
-@@ -195,14 +196,14 @@
- return _offset;
- }
-
--INLINE off_t Reader::tell() const
-+off_t Reader::tell() const
- {
- if(!is_open())
- return -1;
- return _offset;
- }
-
--INLINE off_t Reader::size() const
-+off_t Reader::size() const
- {
- return _size;
- }
-@@ -231,7 +232,7 @@
- // free the page which is the furthest away from the page we are loading
-
- // this could be trouble if off_t is unsigned!
-- if( abs(_firstPage - pageIdx) > abs(_lastPage - pageIdx) )
-+ if( abs((long int)(_firstPage - pageIdx)) > abs((long int)(_lastPage - pageIdx)) )
- while(!freePage(_firstPage++));
- else
- while(!freePage(_lastPage--));
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 20 03:03:35 2005
+++ editors/lfhex/files/patch-src::reader.hpp Thu Jan 1 09:00:00 1970
@@ -1,34 +0,0 @@
-
-$FreeBSD: ports/editors/lfhex/files/patch-src::reader.hpp,v 1.2 2005/01/19 12:47:34 krion Exp $
-
---- src/reader.hpp.orig
-+++ src/reader.hpp
-@@ -33,12 +33,6 @@
-
- #include "local.h"
-
--#ifdef DEBUG
--#define INLINE
--#else
--#define INLINE inline
--#endif
--
- typedef vector<uchar> ReadBuffer;
-
- #ifdef __GNUC__
-@@ -54,12 +48,12 @@
- bool open(const string& filename);
- bool close();
- bool eof();
-- INLINE bool is_open() const;
-+ bool is_open() const;
-
- size_t read( ReadBuffer& v, size_t numBytes );
- off_t seek( off_t offset );
-- INLINE off_t tell() const; // returns the current offset or -1 if !open
-- INLINE off_t size() const;
-+ off_t tell() const; // returns the current offset or -1 if !open
-+ off_t size() const;
- const char* lastError() const;
- const char* filename() const;
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list