Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2020 20:54:05 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552897 - in head/misc/iio-oscilloscope: . files
Message-ID:  <202010212054.09LKs50M062118@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Oct 21 20:54:05 2020
New Revision: 552897
URL: https://svnweb.freebsd.org/changeset/ports/552897

Log:
  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)

Deleted:
  head/misc/iio-oscilloscope/files/patch-osc.c
  head/misc/iio-oscilloscope/files/patch-plugins_lidar.c
Modified:
  head/misc/iio-oscilloscope/Makefile

Modified: head/misc/iio-oscilloscope/Makefile
==============================================================================
--- head/misc/iio-oscilloscope/Makefile	Wed Oct 21 20:31:06 2020	(r552896)
+++ head/misc/iio-oscilloscope/Makefile	Wed Oct 21 20:54:05 2020	(r552897)
@@ -23,7 +23,7 @@ LIB_DEPENDS=	libad9361.so:misc/libad9361-iio \
 		libjansson.so:devel/jansson \
 		libmatio.so:math/matio
 
-USES=		cmake gnome localbase:ldflags pkgconfig
+USES=		cmake compiler:c11 gnome localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	analogdevicesinc
 USE_GNOME=	atk cairo gdkpixbuf2 gtk20 libxml2 pango



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010212054.09LKs50M062118>