diff options
author | arved <arved@FreeBSD.org> | 2005-09-29 00:38:30 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2005-09-29 00:38:30 +0800 |
commit | e8410fbd55646522be85b0029f08f716e3dc18de (patch) | |
tree | 2808d1f4cf077db5454a39d3ddd1dc396d131077 /editors | |
parent | 77bb2ab21c5c9a41030047672d097c4915222578 (diff) | |
download | freebsd-ports-gnome-e8410fbd55646522be85b0029f08f716e3dc18de.tar.gz freebsd-ports-gnome-e8410fbd55646522be85b0029f08f716e3dc18de.tar.zst freebsd-ports-gnome-e8410fbd55646522be85b0029f08f716e3dc18de.zip |
Update to 0.3.7.2
PR: 86677
Submitted by: KATO Tsuguru <tkato432@yahoo.com> (update to 0.3.7.1)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/lfhex/Makefile | 3 | ||||
-rw-r--r-- | editors/lfhex/distinfo | 4 | ||||
-rw-r--r-- | editors/lfhex/files/patch-src::reader.cpp | 48 | ||||
-rw-r--r-- | editors/lfhex/files/patch-src::reader.hpp | 34 |
4 files changed, 4 insertions, 85 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile index 647f859056bb..ba512e80af6b 100644 --- a/editors/lfhex/Makefile +++ b/editors/lfhex/Makefile @@ -7,7 +7,7 @@ # PORTNAME= lfhex -PORTVERSION= 0.3.7 +PORTVERSION= 0.3.7.2 CATEGORIES= editors MASTER_SITES= http://home.earthlink.net/~eyekode/data/ @@ -26,6 +26,7 @@ MAKE_ARGS= CXXFLAGS="${CXXFLAGS}" \ EXEC_PREFIX="${PREFIX}/bin" \ IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \ LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}" \ + INSTALL="${INSTALL_PROGRAM}" \ VERBOSE=1 PLIST_FILES= bin/lfhex diff --git a/editors/lfhex/distinfo b/editors/lfhex/distinfo index 34cc8bbf5c9a..474e2092e77e 100644 --- a/editors/lfhex/distinfo +++ b/editors/lfhex/distinfo @@ -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.2.tar.gz) = 480ec675ce163d6a5e9691d7e625484b +SIZE (lfhex-0.3.7.2.tar.gz) = 70871 diff --git a/editors/lfhex/files/patch-src::reader.cpp b/editors/lfhex/files/patch-src::reader.cpp deleted file mode 100644 index 37bf3436d51e..000000000000 --- a/editors/lfhex/files/patch-src::reader.cpp +++ /dev/null @@ -1,48 +0,0 @@ - -$FreeBSD$ - ---- 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 --git a/editors/lfhex/files/patch-src::reader.hpp b/editors/lfhex/files/patch-src::reader.hpp deleted file mode 100644 index 0fcce18f0154..000000000000 --- a/editors/lfhex/files/patch-src::reader.hpp +++ /dev/null @@ -1,34 +0,0 @@ - -$FreeBSD$ - ---- 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; - |