From 26ba2bb59c98a45cf1c437c9001fed1681cae95d Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 21 Oct 2020 20:54:05 +0000 Subject: 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) --- misc/iio-oscilloscope/files/patch-osc.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 misc/iio-oscilloscope/files/patch-osc.c (limited to 'misc/iio-oscilloscope/files/patch-osc.c') diff --git a/misc/iio-oscilloscope/files/patch-osc.c b/misc/iio-oscilloscope/files/patch-osc.c deleted file mode 100644 index b078db2d8fde..000000000000 --- a/misc/iio-oscilloscope/files/patch-osc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- osc.c.orig 2019-10-31 18:10:02 UTC -+++ osc.c -@@ -573,7 +573,7 @@ int plugin_data_capture_of_plot(OscPlot *plot, const c - struct iio_device *dev, *tmp_dev = NULL; - struct extra_dev_info *dev_info; - struct marker_type *markers_copy = NULL; -- GMutex *markers_lock; -+ GMutex *markers_lock = NULL; - unsigned int i, j; - bool new = FALSE; - const char *tmp = NULL; -- cgit v1.2.3