ports/75052: [MAINTAINER UPDATE] chinese/qterm: update to 0.4.0pre2
Gavin Mu
gavin at FreeBSDChina.org
Tue Dec 14 11:50:29 UTC 2004
>Number: 75052
>Category: ports
>Synopsis: [MAINTAINER UPDATE] chinese/qterm: update to 0.4.0pre2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 14 11:50:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Gavin Mu
>Release: FreeBSD 5.3-STABLE i386
>Organization:
Tianjin University, China
>Environment:
System: FreeBSD mscenter.tju.edu.cn 5.3-STABLE FreeBSD 5.3-STABLE #2: Sun Nov 21 11:47:44 CST 2004 root at mscenter.tju.edu.cn:/usr/obj/usr/src/sys/gavin-CNPROJ i386
>Description:
new feature: display IP location in StatusBar
"pkg-message" has been added to tell howto.
python script: getArticle
modify python's version to avoid python 2.3 depends.
some bug fix.
>How-To-Repeat:
N/A
>Fix:
--- qterm.diff begins here ---
diff -ruN qterm.orig/Makefile qterm/Makefile
--- qterm.orig/Makefile Fri Dec 10 10:19:08 2004
+++ qterm/Makefile Fri Dec 10 10:49:54 2004
@@ -6,11 +6,11 @@
#
PORTNAME= qterm
-PORTVERSION= 0.4.0.p1
+PORTVERSION= 0.4.0.p2
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-0.4.0pre1
+DISTNAME= ${PORTNAME}-0.4.0pre2
MAINTAINER= gavin at FreeBSDChina.org
COMMENT= QTerm is a BBS client in Unix
@@ -22,16 +22,10 @@
--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
.if !defined(WITHOUT_PYTHON)
-USE_PYTHON= -2.3
+USE_PYTHON= 2.3+
CONFIGURE_ARGS+= --with-pythondir=${LOCALBASE}
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000 && ${ARCH} != "i386"
-BROKEN= "Does not compile on FreeBSD >= 6.x on !i386"
-.endif
-
pre-everything::
.if !defined(WITHOUT_PYTHON)
@${ECHO_MSG} "Define WITHOUT_PYTHON to disable Python scripts support."
@@ -41,4 +35,7 @@
@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
${WRKSRC}/configure
-.include <bsd.port.post.mk>
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff -ruN qterm.orig/distinfo qterm/distinfo
--- qterm.orig/distinfo Fri Dec 10 10:19:08 2004
+++ qterm/distinfo Fri Dec 10 10:27:51 2004
@@ -1,2 +1,2 @@
-MD5 (qterm-0.4.0pre1.tar.gz) = dbd80ec692e4603f7775ffbdb1d52bff
-SIZE (qterm-0.4.0pre1.tar.gz) = 1077778
+MD5 (qterm-0.4.0pre2.tar.gz) = 379a5932ee282bedcfa70d3f16e3e91e
+SIZE (qterm-0.4.0pre2.tar.gz) = 895907
diff -ruN qterm.orig/files/patch-qterm_qtermiplocation.cpp qterm/files/patch-qterm_qtermiplocation.cpp
--- qterm.orig/files/patch-qterm_qtermiplocation.cpp Thu Jan 1 08:00:00 1970
+++ qterm/files/patch-qterm_qtermiplocation.cpp Tue Dec 14 18:47:48 2004
@@ -0,0 +1,18 @@
+--- qterm/qtermiplocation.cpp.orig Tue Dec 14 18:45:37 2004
++++ qterm/qtermiplocation.cpp Tue Dec 14 18:46:21 2004
+@@ -79,13 +79,13 @@
+ if( fseek( fp, (long)offset, SEEK_SET ) ==-1 )
+ {
+ qDebug( " readLineFrom error 1 " );
+- ret_str = QCString(NULL);
++ ret_str = QCString();
+ return -1;
+ }
+ if( fgets( (char *) str, 512, fp ) == NULL )
+ {
+ qDebug( " readLineFrom error 2 " );
+- ret_str = QCString(NULL);
++ ret_str = QCString();
+ return -1;
+ }
+ ret_str = str;
diff -ruN qterm.orig/pkg-message qterm/pkg-message
--- qterm.orig/pkg-message Thu Jan 1 08:00:00 1970
+++ qterm/pkg-message Fri Dec 10 11:12:00 2004
@@ -0,0 +1,6 @@
+*************************************************************************
+ You can't modify the SITE definition until setting
+QTerm's config file privilege in your ~/.qterm directory to 0644 at least
+ To display IP location when using QTerm
+you must get file "QQWry.dat" and put it into your ~/.qterm directory
+*************************************************************************
--- qterm.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list