mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
- Update to version 0.3.4
- Unbreak on -current PR: 58126 Submitted by: Ports Fury
This commit is contained in:
parent
7e9c9e9a3b
commit
09c23c8eff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91452
@ -7,34 +7,21 @@
|
||||
#
|
||||
|
||||
PORTNAME= lfhex
|
||||
PORTVERSION= 0.3.2
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.3.4
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= arved
|
||||
MASTER_SITES= http://home.earthlink.net/~eyekode/data/
|
||||
|
||||
MAINTAINER= ports@freebsd.org
|
||||
COMMENT= "Large file hex editor"
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Large file hex editor
|
||||
|
||||
USE_GETOPT_LONG=yes
|
||||
USE_REINPLACE= yes
|
||||
USE_QT_VER= 3
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-qt-moc=${MOC}
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ENV= CXXFLAGS="${PTHREAD_CFLAGS}"
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
|
||||
CONFIGURE_ARGS= --with-qt-moc=${MOC}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
MAKE_ARGS= EXEC_PREFIX="${PREFIX}/bin" \
|
||||
IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}"
|
||||
|
||||
.if ${OSVERSION} >= 501000
|
||||
BROKEN= "Does not compile"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
|
||||
s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS} ${LDFLAGS}," ${WRKSRC}/src/Makefile
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (lfhex-0.3.2.tar.gz) = 28bcccd6bc77b8de92d31e9361b26531
|
||||
MD5 (lfhex-0.3.4.tar.gz) = 59aaa0ed92155106509a2cc9cb36bf1d
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/hexEditor.cpp.orig Sun Feb 23 00:37:11 2003
|
||||
+++ src/hexEditor.cpp Sun Feb 23 00:38:31 2003
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <qfiledialog.h>
|
||||
#include <qapplication.h>
|
||||
#include <qprogressdialog.h>
|
||||
+#include <qpainter.h>
|
||||
+#include <qpixmap.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "hexEditor.hpp"
|
@ -1,10 +0,0 @@
|
||||
--- src/hexGui.cpp.orig Sat Jul 7 04:16:01 2001
|
||||
+++ src/hexGui.cpp Sun Feb 23 00:40:32 2003
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <qscrollbar.h>
|
||||
#include <qstring.h>
|
||||
#include <qmessagebox.h>
|
||||
+#include <qlineedit.h>
|
||||
//#include <qprogressbar.h>
|
||||
//#include <qtoolbar.h>
|
||||
//#include <qtoolbutton.h>
|
@ -1,16 +0,0 @@
|
||||
--- src/Makefile.in.orig Wed Jul 4 10:27:43 2001
|
||||
+++ src/Makefile.in Fri Jul 6 10:34:56 2001
|
||||
@@ -16,10 +16,10 @@
|
||||
endif
|
||||
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
-INCLUDE_DIRS = $(QTDIR)/include
|
||||
+INCLUDE_DIRS = %%X11BASE%%/include
|
||||
IFLAGS = $(addprefix -I,$(INCLUDE_DIRS))
|
||||
-LIBRARIES = qt Xext X11 m
|
||||
-LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib
|
||||
+LIBRARIES = qt-mt Xext X11 m
|
||||
+LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib
|
||||
LFLAGS = $(addprefix -L,$(LIB_DIRS)) $(addprefix -l,$(LIBRARIES))
|
||||
|
||||
CXX_SRC = $(wildcard *.cpp)
|
@ -1,6 +1,14 @@
|
||||
--- src/reader.cpp.orig Sat Jul 7 04:16:01 2001
|
||||
+++ src/reader.cpp Sun Feb 23 00:46:53 2003
|
||||
@@ -227,7 +227,7 @@
|
||||
--- src/reader.cpp.orig Sat Jul 7 11:16:01 2001
|
||||
+++ src/reader.cpp Thu Oct 16 20:54:13 2003
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <new>
|
||||
+#include <cassert>
|
||||
|
||||
// for stat:
|
||||
#include <sys/types.h>
|
||||
@@ -227,7 +228,7 @@
|
||||
// free the page which is the furthest away from the page we are loading
|
||||
|
||||
// this could be trouble if off_t is unsigned!
|
||||
@ -9,7 +17,7 @@
|
||||
while(!freePage(_firstPage++));
|
||||
else
|
||||
while(!freePage(_lastPage--));
|
||||
@@ -285,7 +285,7 @@
|
||||
@@ -285,7 +286,7 @@
|
||||
#ifdef LFHEX_IOS_BASE_FMTFLAGS
|
||||
ostream& operator<< (ostream&out, const ReadBuffer& buff)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user