Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2004 14:07:32 +0800 (CST)
From:      Cheng-Lung Sung <clsung@tiger2.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clsung@dragon2.net
Subject:   ports/69519: fix port: chinese/qterm
Message-ID:  <20040724060732.9107A106BEB@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200407240610.i6O6AQPq052637@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         69519
>Category:       ports
>Synopsis:       fix port: chinese/qterm
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 24 06:10:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
FreeBSD sungsung.csie.nctu.edu.tw 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Wed Jun  9 11:27:45 CST 2004     root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG  i386

>Description:
- unbroken port
- use QString::null instead of ""
>How-To-Repeat:
>Fix:

diff -ruN /usr/ports/chinese/qterm/Makefile ./qterm/Makefile
--- /usr/ports/chinese/qterm/Makefile	Sat Jul  3 05:31:40 2004
+++ ./qterm/Makefile	Sat Jul 24 14:04:13 2004
@@ -26,10 +26,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-BROKEN=		"Does not compile on FreeBSD 4.x"
-.endif
-
 pre-everything::
 		@${ECHO_MSG} "Define WITHOUT_PYTHON to\
 			disable PYTHON scripts support."
@@ -39,5 +35,9 @@
 		${WRKSRC}/qterm/qtermtelnet.cpp
 	@${REINPLACE_CMD} -e 's,-lssl,-lssl -lcrypto,' \
 		${WRKSRC}/configure
+.if ${OSVERSION} < 500000
+	@${REINPLACE_CMD} -e 's,?"":,?QString::null:,' \
+		${WRKSRC}/qterm/qtermconfig.cpp
+.endif
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040724060732.9107A106BEB>