svn commit: r394266 - in head/comms/fldigi: . files
Stephen Hurd
shurd at FreeBSD.org
Sat Aug 15 04:04:47 UTC 2015
Author: shurd
Date: Sat Aug 15 04:04:45 2015
New Revision: 394266
URL: https://svnweb.freebsd.org/changeset/ports/394266
Log:
Update to 3.22.13, fix portlint warnings.
This release adds the FSQ modem.
Fix the following two portline warnings:
WARN: Makefile: [25]: the options to USES are not sorted. Please consider
sorting them.
WARN: Makefile: you should only use ".if ${PORT_OPTIONS:MDOCS}" to wrap
installation of files into /usr/local/share/doc if the collection of files
is large and it takes considerable time to copy.
Added:
head/comms/fldigi/files/patch-src_fsq_fsq.cxx (contents, props changed)
Modified:
head/comms/fldigi/Makefile
head/comms/fldigi/distinfo
Modified: head/comms/fldigi/Makefile
==============================================================================
--- head/comms/fldigi/Makefile Sat Aug 15 02:22:55 2015 (r394265)
+++ head/comms/fldigi/Makefile Sat Aug 15 04:04:45 2015 (r394266)
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= fldigi
-PORTVERSION= 3.22.10
+PORTVERSION= 3.22.13
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/fldigi/\
LOCAL/shurd
@@ -22,7 +22,7 @@ LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/
USE_CXXSTD= gnu++0x
GNU_CONFIGURE= yes
-USES= gmake pkgconfig compiler:c++11-lib perl5 shebangfix
+USES= compiler:c++11-lib gmake perl5 pkgconfig shebangfix
CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \
EXTRA_LIBS="-lexecinfo"
@@ -79,10 +79,8 @@ post-configure:
${RM} ${WRKSRC}/doc/*.1
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.post.mk>
Modified: head/comms/fldigi/distinfo
==============================================================================
--- head/comms/fldigi/distinfo Sat Aug 15 02:22:55 2015 (r394265)
+++ head/comms/fldigi/distinfo Sat Aug 15 04:04:45 2015 (r394266)
@@ -1,2 +1,2 @@
-SHA256 (fldigi-3.22.10.tar.gz) = 5b31d111b7158936ad7cf5317c91c99ef811686cafbb73ab2f26a044676a6a39
-SIZE (fldigi-3.22.10.tar.gz) = 2876358
+SHA256 (fldigi-3.22.13.tar.gz) = f055b607dd28bde847541bd4518e5ceac49e0eccf4bda97c4c589d598c4a3baf
+SIZE (fldigi-3.22.13.tar.gz) = 2909523
Added: head/comms/fldigi/files/patch-src_fsq_fsq.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/fldigi/files/patch-src_fsq_fsq.cxx Sat Aug 15 04:04:45 2015 (r394266)
@@ -0,0 +1,14 @@
+--- src/fsq/fsq.cxx.orig 2015-08-15 03:43:43 UTC
++++ src/fsq/fsq.cxx
+@@ -1198,8 +1198,9 @@ int fsq::rx_process(const double *buf, i
+ BLOCK_SIZE*sizeof(*rx_stream)); // # bytes
+ memset(fft_data, 0, sizeof(fft_data));
+ for (int i = 0; i < BLOCK_SIZE; i++)
+- fft_data[i].real() = fft_data[i].imag() =
+- rx_stream[i] * a_blackman[i];
++ fft_data[i] = complex <double>
++ (rx_stream[i] * a_blackman[i],
++ rx_stream[i] * a_blackman[i]);
+ fft->ComplexFFT(fft_data);
+ process_tones();
+ }
More information about the svn-ports-head
mailing list