aboutsummaryrefslogtreecommitdiffstats
path: root/comms/fldigi
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2015-08-15 12:04:45 +0800
committershurd <shurd@FreeBSD.org>2015-08-15 12:04:45 +0800
commitff091bdd0f1466d5f97e794dd57fb6ef6ea10696 (patch)
tree2ede9dcf24356d071cbfbad627b7d29648d8ece0 /comms/fldigi
parentd08a7419424190e9b88f3d0fb49e45d61098799a (diff)
downloadfreebsd-ports-gnome-ff091bdd0f1466d5f97e794dd57fb6ef6ea10696.tar.gz
freebsd-ports-gnome-ff091bdd0f1466d5f97e794dd57fb6ef6ea10696.tar.zst
freebsd-ports-gnome-ff091bdd0f1466d5f97e794dd57fb6ef6ea10696.zip
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.
Diffstat (limited to 'comms/fldigi')
-rw-r--r--comms/fldigi/Makefile6
-rw-r--r--comms/fldigi/distinfo4
-rw-r--r--comms/fldigi/files/patch-src_fsq_fsq.cxx14
3 files changed, 18 insertions, 6 deletions
diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile
index 3a9ea990ef16..e5bf6c01faae 100644
--- a/comms/fldigi/Makefile
+++ b/comms/fldigi/Makefile
@@ -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}/devel/libexecinfo \
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>
diff --git a/comms/fldigi/distinfo b/comms/fldigi/distinfo
index a77352ae1116..4b23d2bb037b 100644
--- a/comms/fldigi/distinfo
+++ b/comms/fldigi/distinfo
@@ -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
diff --git a/comms/fldigi/files/patch-src_fsq_fsq.cxx b/comms/fldigi/files/patch-src_fsq_fsq.cxx
new file mode 100644
index 000000000000..39fc9d0af21f
--- /dev/null
+++ b/comms/fldigi/files/patch-src_fsq_fsq.cxx
@@ -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();
+ }