sysutils/twmn: Update to g20190917, unbreak with clang 10

In file included from /usr/local/include/qt5/QtCore/qstring.h:49:
/usr/local/include/qt5/QtCore/qbytearray.h:545:22: error: definition of implicit copy constructor for 'QByteRef' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
    inline QByteRef &operator=(const QByteRef &c)
                     ^
/usr/local/include/qt5/QtCore/qbytearray.h:563:28: note: in implicit copy constructor for 'QByteRef' first required here
{ Q_ASSERT(i >= 0); return QByteRef(*this, i); }
                           ^

PR:		244251
This commit is contained in:
Dmitri Goutnik 2020-03-18 15:28:35 +00:00
parent 787eacc364
commit 66776a0a89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528654
3 changed files with 17 additions and 6 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= twmn
PORTVERSION= g20171216
PORTREVISION= 9
PORTVERSION= g20190917
CATEGORIES= sysutils
MAINTAINER= dmgk@FreeBSD.org
@ -16,7 +15,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs
USES= compiler:c++11-lang qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= sboli
GH_TAGNAME= 5b92ac5
GH_TAGNAME= 861a323
USE_QT= core dbus gui network widgets x11extras buildtools_build
LDFLAGS+= -Wl,--as-needed # see bug#224488

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1513803467
SHA256 (sboli-twmn-g20171216-5b92ac5_GH0.tar.gz) = bd9793942919de021e2c88f69795a2fde11441c5e9153b89a1f96ad1009774cb
SIZE (sboli-twmn-g20171216-5b92ac5_GH0.tar.gz) = 75071
TIMESTAMP = 1584535298
SHA256 (sboli-twmn-g20190917-861a323_GH0.tar.gz) = d6eded8478d7eb49f23e1eb39cccd3d7981f9de7380ba0955abd86e8d2a4fc22
SIZE (sboli-twmn-g20190917-861a323_GH0.tar.gz) = 75006

View File

@ -0,0 +1,12 @@
--- twmnd/twmnd.pro.orig 2019-09-17 23:27:49 UTC
+++ twmnd/twmnd.pro
@@ -10,7 +10,8 @@ TARGET = twmnd
TEMPLATE = app
CONFIG += debug
DESTDIR = ../bin/
-QMAKE_CXXFLAGS += -Wall -Werror -pedantic -Wno-long-long
+QMAKE_CXXFLAGS_WARN_ON -= -W
+QMAKE_CXXFLAGS += -Wall -Werror -pedantic -Wno-long-long -Wno-error=deprecated-copy
target.path+=/usr/local/bin
INSTALLS += target