summaryrefslogtreecommitdiff
path: root/misc/iio-oscilloscope/files/patch-plugins_lidar.c
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-21 20:54:05 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-21 20:54:05 +0000
commit26ba2bb59c98a45cf1c437c9001fed1681cae95d (patch)
tree3914bf3f7286f6744049574b30f2a4bea54831c2 /misc/iio-oscilloscope/files/patch-plugins_lidar.c
parentgraphics/waifu2x-ncnn-vulkan: fix build on powerpc* (diff)
misc/iio-oscilloscope: fix build on GCC architectures
Use C11 compiler: cc1: warnings being treated as errors In file included from /usr/local/include/glib-2.0/glib/gthread.h:34, from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/local/include/glib-2.0/glib.h:32, from /usr/local/include/glib-2.0/gmodule.h:28, from /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.11-master/iio_utils.h:11, from /wrkdirs/usr/ports/misc/iio-oscilloscope/work/iio-oscilloscope-0.11-master/iio_utils.c:1: /usr/local/include/glib-2.0/glib/gutils.h:336: warning: 'GVoidFunc' is deprecated Also remove previous patches that fixed build with base GCC of previous version of the port. MFH: 2020Q4 (fix build blanket)
Diffstat (limited to 'misc/iio-oscilloscope/files/patch-plugins_lidar.c')
-rw-r--r--misc/iio-oscilloscope/files/patch-plugins_lidar.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/misc/iio-oscilloscope/files/patch-plugins_lidar.c b/misc/iio-oscilloscope/files/patch-plugins_lidar.c
deleted file mode 100644
index e6bc058af0f6..000000000000
--- a/misc/iio-oscilloscope/files/patch-plugins_lidar.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/lidar.c.orig 2019-10-31 18:10:53 UTC
-+++ plugins/lidar.c
-@@ -112,7 +112,7 @@ static void auto_cfg_set_cb(void)
- static void auto_cfg_button_changed_cb(GtkSpinButton *btn)
- {
- // Force the buttons value to have a valid permutation of (0, 1, 2, 3)
-- int i, j, idx;
-+ int i, j, idx = 0;
- int old_val;
- int crt_val = gtk_spin_button_get_value_as_int(btn);
-