aboutsummaryrefslogtreecommitdiffstats
path: root/comms/qsstv/files
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2016-04-12 11:45:44 +0800
committershurd <shurd@FreeBSD.org>2016-04-12 11:45:44 +0800
commit0b1a27e9d07feb8fce3927bd74fed1099367e8d6 (patch)
treeacf9ccbb6e84d9b8cef2ad0b2d766285fcb7eb96 /comms/qsstv/files
parent2258f71ece57649fce3bbaa09a778f32f25072fa (diff)
downloadfreebsd-ports-gnome-0b1a27e9d07feb8fce3927bd74fed1099367e8d6.tar.gz
freebsd-ports-gnome-0b1a27e9d07feb8fce3927bd74fed1099367e8d6.tar.zst
freebsd-ports-gnome-0b1a27e9d07feb8fce3927bd74fed1099367e8d6.zip
Fix pkg-fallout error and update to latest release
Add dependency on multimedia/libv4l and qt5-widgets Sort LIB_DEPENDS Add patch to fix issue reported by db@
Diffstat (limited to 'comms/qsstv/files')
-rw-r--r--comms/qsstv/files/patch-qsstv_drmrx_demodulator.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/qsstv/files/patch-qsstv_drmrx_demodulator.cpp b/comms/qsstv/files/patch-qsstv_drmrx_demodulator.cpp
new file mode 100644
index 000000000000..e4f1e3945761
--- /dev/null
+++ b/comms/qsstv/files/patch-qsstv_drmrx_demodulator.cpp
@@ -0,0 +1,11 @@
+--- qsstv/drmrx/demodulator.cpp.orig 2016-04-08 23:08:29 UTC
++++ qsstv/drmrx/demodulator.cpp
+@@ -946,7 +946,7 @@ bool demodulator::channelEstimation()
+ temp2 += actual_pilots[2 * j] * next_pilots[2 * j + 1] -actual_pilots[2 * j + 1] * next_pilots[2 * j];
+
+ }
+- if (i != 0) delta_freq_offset = (float) atan2(temp2, temp1 + MIN_ABS_H);
++ if (i != 0) delta_freq_offset = atan2f(temp2, temp1 + MIN_ABS_H);
+
+ for (j = 0; j < K_max - K_min + 1; j++)
+ {