From owner-svn-ports-all@FreeBSD.ORG Wed Oct 2 06:19:41 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C2B305B7; Wed, 2 Oct 2013 06:19:41 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A13272FC7; Wed, 2 Oct 2013 06:19:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r926Jf6u024841; Wed, 2 Oct 2013 06:19:41 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r926Jeo8024826; Wed, 2 Oct 2013 06:19:40 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310020619.r926Jeo8024826@svn.freebsd.org> From: John Marino Date: Wed, 2 Oct 2013 06:19:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329015 - in head/chinese/fqterm: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 06:19:41 -0000 Author: marino Date: Wed Oct 2 06:19:40 2013 New Revision: 329015 URL: http://svnweb.freebsd.org/changeset/ports/329015 Log: chinese/fqterm: add , fix -fpermissive on modern compilers The source tarball has DOS line endings, but only one file was converted. Two of the four patches were created with DOS line endings, so for consistency sake, USE_DOS2UNIX was changed to "yes" and the DOS line endings were removed from existing patches. Approved by: portmgr (bapt, implicit) Added: head/chinese/fqterm/files/patch-src_common_fqterm__trace.h (contents, props changed) head/chinese/fqterm/files/patch-src_fqterm_fqterm__wndmgr.cpp (contents, props changed) Modified: head/chinese/fqterm/Makefile head/chinese/fqterm/files/patch-CMakeLists.txt.linux head/chinese/fqterm/files/patch-src_ui-fqterm_tool_button.h Modified: head/chinese/fqterm/Makefile ============================================================================== --- head/chinese/fqterm/Makefile Wed Oct 2 03:24:25 2013 (r329014) +++ head/chinese/fqterm/Makefile Wed Oct 2 06:19:40 2013 (r329015) @@ -19,7 +19,7 @@ USE_QT4= gui network script qt3support i qmake_build moc_build rcc_build uic_build linguist_build HAS_CONFIGURE= yes -USE_DOS2UNIX= src/ui/popwidget.cpp +USE_DOS2UNIX= yes USES= cmake:outsource CMAKE_ARGS= -Wno-dev WRKSRC= ${WRKDIR}/${PORTNAME} Modified: head/chinese/fqterm/files/patch-CMakeLists.txt.linux ============================================================================== --- head/chinese/fqterm/files/patch-CMakeLists.txt.linux Wed Oct 2 03:24:25 2013 (r329014) +++ head/chinese/fqterm/files/patch-CMakeLists.txt.linux Wed Oct 2 06:19:40 2013 (r329015) @@ -1,37 +1,37 @@ --- CMakeLists.txt.linux.orig 2008-05-19 17:36:29.000000000 +0800 +++ CMakeLists.txt.linux 2008-06-21 08:50:58.000000000 +0800 @@ -7,6 +7,7 @@ - endif(FQTERM_USE_STATIC_QT) - - ADD_DEFINITIONS(-Wall) -+ADD_DEFINITIONS(-D_OS_FREEBSD_) - ADD_DEFINITIONS(-DFQTERM_VERSION_STRING="\\"${FQTERM_VERSION}\\"") - - add_subdirectory(src) + endif(FQTERM_USE_STATIC_QT) + + ADD_DEFINITIONS(-Wall) ++ADD_DEFINITIONS(-D_OS_FREEBSD_) + ADD_DEFINITIONS(-DFQTERM_VERSION_STRING="\\"${FQTERM_VERSION}\\"") + + add_subdirectory(src) @@ -42,6 +43,18 @@ - ${QT_PLUGINS_DIR}/codecs/libqtwcodecs.a - jpeg - ) -+else(FQTERM_USE_STATIC_QT) -+ set(FQ_QT_SHARED_PLUGINS -+ ${QT_PLUGINS_DIR}/imageformats/libqgif.so -+ ${QT_PLUGINS_DIR}/imageformats/libqjpeg.so -+ ${QT_PLUGINS_DIR}/imageformats/libqmng.so -+ ${QT_PLUGINS_DIR}/imageformats/libqsvg.so -+ ${QT_PLUGINS_DIR}/imageformats/libqtiff.so -+ ${QT_PLUGINS_DIR}/codecs/libqcncodecs.so -+ ${QT_PLUGINS_DIR}/codecs/libqjpcodecs.so -+ ${QT_PLUGINS_DIR}/codecs/libqkrcodecs.so -+ ${QT_PLUGINS_DIR}/codecs/libqtwcodecs.so -+ ) - endif(FQTERM_USE_STATIC_QT) - - target_link_libraries(fqterm.bin + ${QT_PLUGINS_DIR}/codecs/libqtwcodecs.a + jpeg + ) ++else(FQTERM_USE_STATIC_QT) ++ set(FQ_QT_SHARED_PLUGINS ++ ${QT_PLUGINS_DIR}/imageformats/libqgif.so ++ ${QT_PLUGINS_DIR}/imageformats/libqjpeg.so ++ ${QT_PLUGINS_DIR}/imageformats/libqmng.so ++ ${QT_PLUGINS_DIR}/imageformats/libqsvg.so ++ ${QT_PLUGINS_DIR}/imageformats/libqtiff.so ++ ${QT_PLUGINS_DIR}/codecs/libqcncodecs.so ++ ${QT_PLUGINS_DIR}/codecs/libqjpcodecs.so ++ ${QT_PLUGINS_DIR}/codecs/libqkrcodecs.so ++ ${QT_PLUGINS_DIR}/codecs/libqtwcodecs.so ++ ) + endif(FQTERM_USE_STATIC_QT) + + target_link_libraries(fqterm.bin @@ -54,6 +67,7 @@ - ${QT_QTNETWORK_LIBRARIES} - ${QT_QTSCRIPT_LIBRARIES} - ${FQ_QT_STATIC_PLUGINS} -+ ${FQ_QT_SHARED_PLUGINS} - ${QT_LIBRARIES} - ${OPENSSL_LIBRARIES} - ) + ${QT_QTNETWORK_LIBRARIES} + ${QT_QTSCRIPT_LIBRARIES} + ${FQ_QT_STATIC_PLUGINS} ++ ${FQ_QT_SHARED_PLUGINS} + ${QT_LIBRARIES} + ${OPENSSL_LIBRARIES} + ) Added: head/chinese/fqterm/files/patch-src_common_fqterm__trace.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/fqterm/files/patch-src_common_fqterm__trace.h Wed Oct 2 06:19:40 2013 (r329015) @@ -0,0 +1,10 @@ +--- src/common/fqterm_trace.h.orig 2013-10-02 06:06:02.000000000 +0000 ++++ src/common/fqterm_trace.h +@@ -21,6 +21,7 @@ + #ifndef FQTERM_TRACE_H + #define FQTERM_TRACE_H + ++#include + #include + #include + #include Added: head/chinese/fqterm/files/patch-src_fqterm_fqterm__wndmgr.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/fqterm/files/patch-src_fqterm_fqterm__wndmgr.cpp Wed Oct 2 06:19:40 2013 (r329015) @@ -0,0 +1,11 @@ +--- src/fqterm/fqterm_wndmgr.cpp.orig 2013-10-02 06:06:59.000000000 +0000 ++++ src/fqterm/fqterm_wndmgr.cpp +@@ -53,7 +53,7 @@ int FQTermWndMgr::addWindow(FQTermWindow + + Q_ASSERT(mw != NULL); + termWindows_.append(mw); +- Q_ASSERT(qtab != QString::QString()); ++ Q_ASSERT(qtab != QString()); + tabCaptions_.append(qtab); + icons_.append(icon); + Modified: head/chinese/fqterm/files/patch-src_ui-fqterm_tool_button.h ============================================================================== --- head/chinese/fqterm/files/patch-src_ui-fqterm_tool_button.h Wed Oct 2 03:24:25 2013 (r329014) +++ head/chinese/fqterm/files/patch-src_ui-fqterm_tool_button.h Wed Oct 2 06:19:40 2013 (r329015) @@ -1,11 +1,11 @@ --- src/ui/fqterm_tool_button.h.orig 2008-05-18 08:46:46.000000000 +0800 +++ src/ui/fqterm_tool_button.h 2008-06-21 08:52:08.000000000 +0800 @@ -21,7 +21,7 @@ - #ifndef FQTERM_TOOL_BUTTON_H - #define FQTERM_TOOL_BUTTON_H - --#include -+#include - - namespace FQTerm { - + #ifndef FQTERM_TOOL_BUTTON_H + #define FQTERM_TOOL_BUTTON_H + +-#include ++#include + + namespace FQTerm { +