Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2023 17:08:15 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7eb472473a27 - main - multimedia/gstreamer1-qt:  fix build on current by using c++11
Message-ID:  <202306291708.35TH8FBp053460@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7eb472473a2795d5c8607dc22e2f429123b10b9f

commit 7eb472473a2795d5c8607dc22e2f429123b10b9f
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-06-29 16:56:25 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-06-29 17:07:46 +0000

    multimedia/gstreamer1-qt:  fix build on current by using c++11
    
    /wrkdirs/usr/ports/multimedia/gstreamer1-qt/work/qt-gstreamer-1.2.0/src/QGlib/connect.cpp:395:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    register bool ok = (m_handlerIdInRemoval != handlerId);
    ^~~~~~~~~
---
 multimedia/gstreamer1-qt/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/gstreamer1-qt/Makefile b/multimedia/gstreamer1-qt/Makefile
index bb5a36e178c5..9306fc77e5a4 100644
--- a/multimedia/gstreamer1-qt/Makefile
+++ b/multimedia/gstreamer1-qt/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 CONFLICTS_INSTALL=	gstreamer${PKGNAMESUFFIX}
 
 USES=		bison cmake compiler:c++11-lang gl gnome gstreamer pathfix pkgconfig qt:5 tar:xz
+USE_CXXSTD=	c++11
 USE_GL=		gl
 USE_GNOME=	glib20
 USE_QT=		buildtools:build qmake:build core declarative gui network opengl \



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