diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-21 20:54:05 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2020-10-21 20:54:05 +0000 |
commit | 26ba2bb59c98a45cf1c437c9001fed1681cae95d (patch) | |
tree | 3914bf3f7286f6744049574b30f2a4bea54831c2 /misc/iio-oscilloscope/files/patch-osc.c | |
parent | graphics/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-osc.c')
-rw-r--r-- | misc/iio-oscilloscope/files/patch-osc.c | 11 |
1 files changed, 0 insertions, 11 deletions
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; |