From tkato@prontomail.com  Mon Feb  2 06:51:13 2004
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5E4E216A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon,  2 Feb 2004 06:51:09 -0800 (PST)
Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 66AFF43D41
	for <FreeBSD-gnats-submit@FreeBSD.org>; Mon,  2 Feb 2004 06:51:06 -0800 (PST)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([218.222.54.205]) by hfep04.dion.ne.jp with SMTP
          id <20040202145103030.PXKQ@hfep04.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Mon, 2 Feb 2004 23:51:03 +0900
Message-Id: <20040202235022.3587e4a8.tkato@prontomail.com>
Date: Mon, 2 Feb 2004 23:50:22 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: editors/lfhex to 0.3.6

>Number:         62261
>Category:       ports
>Synopsis:       Update port: editors/lfhex to 0.3.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 02 07:00:36 PST 2004
>Closed-Date:    Mon Feb 02 15:02:46 PST 2004
>Last-Modified:  Mon Feb 02 15:02:46 PST 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 0.3.6

New file:
files/patch-src::hexEditor.cpp

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/lfhex/Makefile editors/lfhex/Makefile
--- /usr/ports/editors/lfhex/Makefile	Fri Oct 17 19:44:12 2003
+++ editors/lfhex/Makefile	Sun Feb  1 20:46:09 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	lfhex
-PORTVERSION=	0.3.4
+PORTVERSION=	0.3.6
 CATEGORIES=	editors
 MASTER_SITES=	http://home.earthlink.net/~eyekode/data/
 
@@ -18,10 +18,14 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-qt-moc=${MOC}
 
-MAKE_ARGS=	EXEC_PREFIX="${PREFIX}/bin" \
+MAKE_ARGS=	CXXFLAGS="${CXXFLAGS}" \
+		EXEC_PREFIX="${PREFIX}/bin" \
 		IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
 		LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}"
+
+PLIST_FILES=	bin/lfhex
 
 .include <bsd.port.mk>
diff -urN /usr/ports/editors/lfhex/distinfo editors/lfhex/distinfo
--- /usr/ports/editors/lfhex/distinfo	Thu Jan 29 20:24:24 2004
+++ editors/lfhex/distinfo	Sun Feb  1 20:41:00 2004
@@ -1,2 +1,2 @@
-MD5 (lfhex-0.3.4.tar.gz) = 59aaa0ed92155106509a2cc9cb36bf1d
-SIZE (lfhex-0.3.4.tar.gz) = 52393
+MD5 (lfhex-0.3.6.tar.gz) = 0d6e363e5637f998dd2fafd6dbd41b6e
+SIZE (lfhex-0.3.6.tar.gz) = 68400
diff -urN /usr/ports/editors/lfhex/files/patch-src::hexEditor.cpp editors/lfhex/files/patch-src::hexEditor.cpp
--- /usr/ports/editors/lfhex/files/patch-src::hexEditor.cpp	Thu Jan  1 09:00:00 1970
+++ editors/lfhex/files/patch-src::hexEditor.cpp	Sun Feb  1 20:48:57 2004
@@ -0,0 +1,20 @@
+--- src/hexEditor.cpp.orig	Sun Feb  1 12:49:26 2004
++++ src/hexEditor.cpp	Sun Feb  1 20:48:29 2004
+@@ -9,11 +9,12 @@
+  *                                                                      
+  *----------------------------------------------------------------------*/
+ 
+-#include <assert.h>
+-#include <stdio.h>
+-#include <errno.h>
+-#include <string.h>
+-#include <ctype.h>
++#include <cassert>
++#include <cstdio>
++#include <cerrno>
++#include <cstring>
++#include <cctype>
++#include <cmath>
+ #include <algorithm>
+ #include <iostream>
+ 
diff -urN /usr/ports/editors/lfhex/pkg-plist editors/lfhex/pkg-plist
--- /usr/ports/editors/lfhex/pkg-plist	Fri Jul  6 11:54:38 2001
+++ editors/lfhex/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1 +0,0 @@
-bin/lfhex
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Feb 2 15:02:39 PST 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62261 
>Unformatted:
