From owner-svn-ports-all@FreeBSD.ORG Sun Dec 8 01:14:23 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 580C9A2C; Sun, 8 Dec 2013 01:14:23 +0000 (UTC) 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 42A30167A; Sun, 8 Dec 2013 01:14:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB81ENXn015794; Sun, 8 Dec 2013 01:14:23 GMT (envelope-from db@svn.freebsd.org) Received: (from db@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB81EIiU015763; Sun, 8 Dec 2013 01:14:18 GMT (envelope-from db@svn.freebsd.org) Message-Id: <201312080114.rB81EIiU015763@svn.freebsd.org> From: Diane Bruce Date: Sun, 8 Dec 2013 01:14:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335860 - in head/comms/fldigi: . 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.17 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: Sun, 08 Dec 2013 01:14:23 -0000 Author: db Date: Sun Dec 8 01:14:18 2013 New Revision: 335860 URL: http://svnweb.freebsd.org/changeset/ports/335860 Log: - Fix build on 10.x - Add STAGEDIR support Added: head/comms/fldigi/files/patch-misc_re.cxx (contents, props changed) head/comms/fldigi/files/patch-src_dominoex_dominoex.cxx (contents, props changed) head/comms/fldigi/files/patch-src_include_qrunner.h (contents, props changed) head/comms/fldigi/files/patch-src_logbook_logsupport.cxx (contents, props changed) head/comms/fldigi/files/patch-src_logbook_lookupcall.cxx (contents, props changed) head/comms/fldigi/files/patch-src_misc_dxcc.cxx (contents, props changed) head/comms/fldigi/files/patch-src_navtex_navtex.cxx (contents, props changed) head/comms/fldigi/files/patch-src_qrunner_qrunner.cxx (contents, props changed) head/comms/fldigi/files/patch-src_spot_notify.cxx (contents, props changed) head/comms/fldigi/files/patch-src_spot_pskrep.cxx (contents, props changed) head/comms/fldigi/files/patch-src_spot_spot.cxx (contents, props changed) head/comms/fldigi/files/patch-src_thor_thor.cxx (contents, props changed) head/comms/fldigi/files/patch-src_wefax_wefax.cxx (contents, props changed) head/comms/fldigi/files/patch-src_widgets_FTextRXTX.cxx (contents, props changed) head/comms/fldigi/files/patch-src_widgets_FTextView.cxx (contents, props changed) head/comms/fldigi/files/patch-src_widgets_flmisc.cxx (contents, props changed) head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcClient.cpp (contents, props changed) head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcServer.cpp (contents, props changed) head/comms/fldigi/files/patch-src_xmlrpcpp_base64.h (contents, props changed) Modified: head/comms/fldigi/Makefile head/comms/fldigi/pkg-plist Modified: head/comms/fldigi/Makefile ============================================================================== --- head/comms/fldigi/Makefile Sun Dec 8 00:34:54 2013 (r335859) +++ head/comms/fldigi/Makefile Sun Dec 8 01:14:18 2013 (r335860) @@ -12,16 +12,22 @@ COMMENT= Digital decoder for psk, cw, ps LICENSE= GPLv3 -BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc\ +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf \ + asciidoc:${PORTSDIR}/textproc/asciidoc\ docbook-xsl>=1.0:${PORTSDIR}/textproc/docbook-xsl\ xsltproc:${PORTSDIR}/textproc/libxslt -LIB_DEPENDS= samplerate:${PORTSDIR}/audio/libsamplerate\ +LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \ + samplerate:${PORTSDIR}/audio/libsamplerate\ + boost_system:${PORTSDIR}/devel/boost-libs\ fltk:${PORTSDIR}/x11-toolkits/fltk +CXXFLAGS +=-std=gnu++0x GNU_CONFIGURE= yes USES= pkgconfig USE_GMAKE= yes -CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" +USES= compiler:c++11-lib +CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \ + EXTRA_LIBS="-lexecinfo" MAN1= fldigi.1 OPTIONS_DEFINE= NATIVE_OPT FLARQ XMLRPC OSS SNDFILE PORTAUDIO PULSEAUDIO HAMLIB NLS @@ -37,7 +43,6 @@ HAMLIB_DESC= Support rig control via ha OPTIONS_DEFAULT= OPTFLARQ OPTOSS HAMLIB -NO_STAGE= yes .include .if ${ARCH} == "sparc64" @@ -121,12 +126,9 @@ post-configure: post-install: .if ${PORT_OPTIONS:MDOCS} - @${ECHO} "" - ${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${DOCSDIR} - @${ECHO} "fldigi docs installed in ${DOCSDIR}" - @${ECHO} "" + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR} .endif .include Added: head/comms/fldigi/files/patch-misc_re.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-misc_re.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,13 @@ +--- src/misc/re.cxx.orig 2013-11-17 19:25:55.932982749 -0500 ++++ src/misc/re.cxx 2013-11-17 19:26:39.657979609 -0500 +@@ -124,8 +124,8 @@ + + size_t re_t::hash(void) const + { +- size_t h = tr1::hash()(pattern); +- return h ^ (tr1::hash()(cflags) + 0x9e3779b9 + (h << 6) + (h >> 2)); ++ size_t h = std::hash()(pattern); ++ return h ^ (std::hash()(cflags) + 0x9e3779b9 + (h << 6) + (h >> 2)); + } + + // ------------------------------------------------------------------------ Added: head/comms/fldigi/files/patch-src_dominoex_dominoex.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_dominoex_dominoex.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/dominoex/dominoex.cxx.orig 2013-05-14 05:06:28.000000000 -0400 ++++ src/dominoex/dominoex.cxx 2013-11-16 11:17:10.251959725 -0500 +@@ -64,7 +64,7 @@ + + strSecXmtText = progdefaults.secText; + if (strSecXmtText.length() == 0) +- strSecXmtText = "fldigi "PACKAGE_VERSION" "; ++ strSecXmtText = "fldigi " PACKAGE_VERSION; + + videoText(); + } Added: head/comms/fldigi/files/patch-src_include_qrunner.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_include_qrunner.h Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,15 @@ +--- src/include/qrunner.h.orig 2013-11-17 20:26:40.966731568 -0500 ++++ src/include/qrunner.h 2013-11-18 18:52:20.902610641 -0500 +@@ -64,9 +64,10 @@ + qexception(const char *msg_) : msg(msg_) { } + qexception(int e) : msg(strerror(e)) { } + ~qexception() throw() { } +- const char *what(void) const throw() { return msg.c_str(); } ++ const char *what(void) const throw() { return msg; } + private: +- std::string msg; ++// std::string msg; ++ const char *msg; + }; + + struct fsignal Added: head/comms/fldigi/files/patch-src_logbook_logsupport.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_logbook_logsupport.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,34 @@ +--- src/logbook/logsupport.cxx.orig 2013-05-12 06:54:05.000000000 -0400 ++++ src/logbook/logsupport.cxx 2013-11-20 11:01:28.405205821 -0500 +@@ -211,7 +211,7 @@ + } + } + string sp = p; +- if (sp.find("."ADIF_SUFFIX) == string::npos) sp.append("."ADIF_SUFFIX); ++ if (sp.find("." ADIF_SUFFIX) == string::npos) sp.append("." ADIF_SUFFIX); + adifFile.writeFile (sp.c_str(), &qsodb); + } + +@@ -308,8 +308,8 @@ + const char* p = FSEL::saveas( title.c_str(), filter.c_str(), logbook_filename.c_str()); + if (p) { + logbook_filename = p; +- if (logbook_filename.find("."ADIF_SUFFIX) == string::npos) +- logbook_filename.append("."ADIF_SUFFIX); ++ if (logbook_filename.find("." ADIF_SUFFIX) == string::npos) ++ logbook_filename.append("." ADIF_SUFFIX); + dlgLogbook->label(fl_filename_name(logbook_filename.c_str())); + + cQsoDb::reverse = false; +@@ -1544,7 +1544,11 @@ + + + #include ++#ifdef __clang__ ++typedef std::unordered_map dxcc_entity_cache_t; ++#else + typedef tr1::unordered_map dxcc_entity_cache_t; ++#endif + static dxcc_entity_cache_t dxcc_entity_cache; + static bool dxcc_entity_cache_enabled = false; + Added: head/comms/fldigi/files/patch-src_logbook_lookupcall.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_logbook_lookupcall.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/logbook/lookupcall.cxx.orig 2013-11-18 09:00:51.559614995 -0500 ++++ src/logbook/lookupcall.cxx 2013-11-18 16:31:56.283748901 -0500 +@@ -1180,7 +1180,7 @@ + return NULL; + + size_t p; +- if (fetch_http(EQSL_url, EQSL_xmlpage, 5.0) == -1) ++ if (fetch_http(EQSL_url, EQSL_xmlpage, 5.0) == false) + LOG_ERROR("%s", "eQSL not available"); + + else if ((p = EQSL_xmlpage.find("Error:")) != std::string::npos) { Added: head/comms/fldigi/files/patch-src_misc_dxcc.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_misc_dxcc.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,25 @@ +--- src/misc/dxcc.cxx.orig 2013-05-14 05:06:28.000000000 -0400 ++++ src/misc/dxcc.cxx 2013-11-20 18:19:33.406394129 -0500 +@@ -30,7 +30,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include +@@ -44,8 +44,11 @@ + #include "main.h" + + using namespace std; +-using tr1::unordered_map; +- ++//#ifdef __clang__ ++using std::unordered_map; ++//#else ++//using tr1::unordered_map; ++//#endif + + dxcc::dxcc(const char* cn, int cq, int itu, const char* ct, float lat, float lon, float tz) + : country(cn), cq_zone(cq), itu_zone(itu), latitude(lat), longitude(lon), gmt_offset(tz) Added: head/comms/fldigi/files/patch-src_navtex_navtex.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_navtex_navtex.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,32 @@ +--- src/navtex/navtex.cxx.orig 2013-11-17 19:46:34.808897323 -0500 ++++ src/navtex/navtex.cxx 2013-11-17 19:56:56.135855100 -0500 +@@ -177,12 +177,16 @@ + if( ! std::getline( istrm, parsed_str, delim ) ) return false ; + std::stringstream sstrm( parsed_str ); + sstrm >> ref ; +- return sstrm ; ++ return true ; + } + + static bool read_until_delim( std::istream & istrm, std::string & ref ) + { +- return std::getline( istrm, ref, delim ); ++ std::getline( istrm, ref, delim ); ++ if ( (istrm.rdstate() & std::ifstream::goodbit) == 0 ) ++ return true ; ++ else ++ return false ; + } + + class NavtexRecord +@@ -1113,8 +1117,8 @@ + static int cnt_read_data = 0 ; + /// This centers the carrier where the activity is the strongest. + static const int bw[][2] = { +- { -deviation_f - 2, -deviation_f + 8 }, +- { deviation_f - 8, deviation_f + 2 } }; ++ { - static_cast(deviation_f) - 2, - static_cast(deviation_f) + 8 }, ++ { static_cast(deviation_f) - 8, static_cast(deviation_f) + 2 } }; + double max_carrier = wf->powerDensityMaximum( 2, bw ); + + /// Do not change the frequency too quickly if an image is received. Added: head/comms/fldigi/files/patch-src_qrunner_qrunner.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_qrunner_qrunner.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/qrunner/qrunner.cxx.orig 2013-11-19 10:58:52.118170777 -0500 ++++ src/qrunner/qrunner.cxx 2013-11-19 11:00:04.670568086 -0500 +@@ -94,7 +94,7 @@ + return; + qr->inprog = true; + +- size_t n = QRUNNER_READ(fd, rbuf, FIFO_SIZE); ++ ssize_t n = QRUNNER_READ(fd, rbuf, FIFO_SIZE); + switch (n) { + case -1: + if (!QRUNNER_EAGAIN()) Added: head/comms/fldigi/files/patch-src_spot_notify.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_spot_notify.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,32 @@ +--- src/spot/notify.cxx.orig 2013-11-18 18:41:28.965212678 -0500 ++++ src/spot/notify.cxx 2013-11-18 19:17:17.004165081 -0500 +@@ -33,7 +33,10 @@ + #include + #include + +-#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) ++#if __clang__ ++# define MAP_TYPE std::unordered_map ++# include ++#elif (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) + # define MAP_TYPE std::tr1::unordered_map + # include + #else +@@ -339,7 +342,7 @@ + void notify_rsid(trx_mode mode, int afreq) + { + const char* mode_name = mode_info[mode].name; +- regmatch_t sub[2] = { { 0, strlen(mode_name) } }; ++ regmatch_t sub[2] = { { 0, static_cast(strlen(mode_name)) } }; + sub[1] = sub[0]; + for (notify_list_t::iterator i = notify_list.begin(); i != notify_list.end(); ++i) + if (i->event == NOTIFY_EVENT_RSID) +@@ -1253,7 +1256,7 @@ + + if (notify_tmp.event == NOTIFY_EVENT_RSID) { + notify_tmp.mode = active_modem->get_mode(); +- regmatch_t sub[2] = { { 0, strlen(mode_info[notify_tmp.mode].name) } }; ++ regmatch_t sub[2] = { { 0, static_cast(strlen(mode_info[notify_tmp.mode].name)) } }; + sub[1] = sub[0]; + notify_recv(notify_tmp.mode, active_modem->get_freq(), + mode_info[notify_tmp.mode].name, sub, 2, ¬ify_tmp); Added: head/comms/fldigi/files/patch-src_spot_pskrep.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_spot_pskrep.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,24 @@ +--- src/spot/pskrep.cxx.orig 2013-05-12 06:54:06.000000000 -0400 ++++ src/spot/pskrep.cxx 2013-11-19 20:13:13.061879490 -0500 +@@ -50,7 +50,11 @@ + #include + #include + +-#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) ++#if __clang__ ++# define MAP_TYPE std::unordered_map ++#define HASH_TYPE std::hash ++# include ++#elif (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) + # define MAP_TYPE std::tr1::unordered_map + #define HASH_TYPE std::tr1::hash + # include +@@ -689,7 +693,7 @@ + tlen = sizeof(long_station_info_template); + station_info = &long_station_info; + } +- else if (template_count >= 0) { ++ else if (template_count != 0) { + station_info_template = short_station_info_template; + tlen = sizeof(short_station_info_template); + station_info = &short_station_info; Added: head/comms/fldigi/files/patch-src_spot_spot.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_spot_spot.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,29 @@ +--- src/spot/spot.cxx.orig 2013-11-18 20:31:18.824757958 -0500 ++++ src/spot/spot.cxx 2013-11-18 20:34:28.424968955 -0500 +@@ -23,7 +23,11 @@ + #include + + #include ++#ifdef __clang__ ++#include ++#else + #include ++#endif + #include + + #include "trx.h" +@@ -60,9 +64,14 @@ + }; + + typedef list callback_p_list_t; ++#ifdef __clang__ ++typedef std::unordered_map rcblist_t; ++static std::unordered_map buffers; ++#else + typedef tr1::unordered_map rcblist_t; + + static tr1::unordered_map buffers; ++#endif + static cblist_t cblist; + static rcblist_t rcblist; + Added: head/comms/fldigi/files/patch-src_thor_thor.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_thor_thor.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/thor/thor.cxx.orig 2013-11-16 11:12:26.140977946 -0500 ++++ src/thor/thor.cxx 2013-11-16 11:13:27.127067530 -0500 +@@ -63,7 +63,7 @@ + videoText(); + strSecXmtText = progdefaults.THORsecText; + if (strSecXmtText.length() == 0) +- strSecXmtText = "fldigi "PACKAGE_VERSION" "; ++ strSecXmtText = "fldigi " PACKAGE_VERSION; + cptr = 0; + } + Added: head/comms/fldigi/files/patch-src_wefax_wefax.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_wefax_wefax.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/wefax/wefax.cxx.orig 2013-11-18 09:29:13.581496108 -0500 ++++ src/wefax/wefax.cxx 2013-11-18 09:38:30.354457373 -0500 +@@ -556,7 +556,7 @@ + = wf->powerDensity(m_carrier - 2 * m_apt_start_freq, bandwidth_apt_start) + + wf->powerDensity(m_carrier - m_apt_start_freq, bandwidth_apt_start) + + wf->powerDensity(m_carrier , bandwidth_apt_start) +- + wf->powerDensity(m_carrier + m_apt_start_freq, bandwidth_apt_start); ++ + wf->powerDensity(m_carrier + m_apt_start_freq, bandwidth_apt_start) + + wf->powerDensity(m_carrier + 2 * m_apt_start_freq, bandwidth_apt_start); + + return decayavg( avg_pwr, pwr, 10 ); Added: head/comms/fldigi/files/patch-src_widgets_FTextRXTX.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_widgets_FTextRXTX.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/widgets/FTextRXTX.cxx.orig 2013-11-18 20:37:04.508734484 -0500 ++++ src/widgets/FTextRXTX.cxx 2013-11-18 20:37:26.598733044 -0500 +@@ -263,7 +263,7 @@ + if (c == '\r') + return; + +- char s[] = { '\0', '\0', FTEXT_DEF + attr, '\0' }; ++ char s[] = { '\0', '\0', static_cast(FTEXT_DEF + attr), '\0' }; + const char *cp = &s[0]; + + // The user may have moved the cursor by selecting text or Added: head/comms/fldigi/files/patch-src_widgets_FTextView.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_widgets_FTextView.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/widgets/FTextView.cxx.orig 2013-11-18 20:35:57.882739310 -0500 ++++ src/widgets/FTextView.cxx 2013-11-18 20:36:33.141869869 -0500 +@@ -133,7 +133,7 @@ + /// + void FTextBase::add(unsigned char c, int attr) + { +- char s[] = { FTEXT_DEF + attr, '\0' }; ++ char s[] = { static_cast(FTEXT_DEF + attr), '\0' }; + sbuf->replace(insert_position(), insert_position() + 1, s); + + s[0] = c; Added: head/comms/fldigi/files/patch-src_widgets_flmisc.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_widgets_flmisc.cxx Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/widgets/flmisc.cxx.orig 2013-11-19 20:07:27.667902073 -0500 ++++ src/widgets/flmisc.cxx 2013-11-19 20:07:49.467902518 -0500 +@@ -104,7 +104,7 @@ + bg1r = 255 - bg1r; bg1g = 255 - bg1g; bg1b = 255 - bg1b; + Fl_Color adj = fl_rgb_color(bg1r, bg1g, bg1b); + if (fl_contrast(adj, bg2) != adj) +- Fl::get_color((def >= 0 ? def : adj), bg1r, bg1g, bg1b); ++ Fl::get_color((def != 0 ? def : adj), bg1r, bg1g, bg1b); + } + + #if !defined(__APPLE__) && !defined(__WOE32__) && USE_X Added: head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcClient.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcClient.cpp Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,19 @@ +--- src/xmlrpcpp/XmlRpcClient.cpp.orig 2013-11-19 10:11:37.383366764 -0500 ++++ src/xmlrpcpp/XmlRpcClient.cpp 2013-11-19 10:13:43.795365774 -0500 +@@ -3,6 +3,7 @@ + // + + #include ++#include + + #include "XmlRpcClient.h" + +@@ -319,7 +320,7 @@ + + header += "Content-Type: text/xml\r\nContent-length: "; + +- sprintf(buff,"%"PRIuSZ"\r\n\r\n", body.size()); ++ sprintf(buff,"%" PRIuSZ "\r\n\r\n", body.size()); + + return header + buff; + } Added: head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcServer.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_xmlrpcpp_XmlRpcServer.cpp Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,11 @@ +--- src/xmlrpcpp/XmlRpcServer.cpp.orig 2013-11-19 10:16:57.123343807 -0500 ++++ src/xmlrpcpp/XmlRpcServer.cpp 2013-11-19 10:17:23.150721491 -0500 +@@ -481,7 +481,7 @@ + "Content-length: "; + + char buffLen[40]; +- sprintf(buffLen,"%"PRIuSZ"\r\n\r\n", body.size()); ++ sprintf(buffLen,"%" PRIuSZ" \r\n\r\n", body.size()); + + return header + buffLen; + } Added: head/comms/fldigi/files/patch-src_xmlrpcpp_base64.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/fldigi/files/patch-src_xmlrpcpp_base64.h Sun Dec 8 01:14:18 2013 (r335860) @@ -0,0 +1,8 @@ +--- src/xmlrpcpp/base64.h.orig 2013-11-18 21:00:33.281636937 -0500 ++++ src/xmlrpcpp/base64.h 2013-11-19 10:34:45.306495676 -0500 +@@ -1,4 +1,4 @@ +- ++#include + + // base64.hpp + // Autor Konstantin Pilipchuk Modified: head/comms/fldigi/pkg-plist ============================================================================== --- head/comms/fldigi/pkg-plist Sun Dec 8 00:34:54 2013 (r335859) +++ head/comms/fldigi/pkg-plist Sun Dec 8 01:14:18 2013 (r335860) @@ -1,5 +1,8 @@ %%FLARQ%%bin/flarq bin/fldigi +%%FLARQ%%man/man1/flarq.1.gz +%%XMLRPC%%man/man1/fldigi-shell.1.gz +man/man1/fldigi.1.gz %%XMLRPC%%bin/fldigi-shell %%FLARQ%%share/applications/flarq.desktop share/applications/fldigi.desktop