aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Camachat <eric@camachat.org>2026-10-06 13:47:16 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2026-10-06 13:49:01 +0000
commitd3b9762fdf5553d6a2ba649ede7f1a0148254fb7 (patch)
tree9c4c8e01476457a29ec8ab53938feeaf519e0587
parentade0ff056f597bf2828f975c828268b494dff81c (diff)
www/dooble: Fix compiling on 16-CURRENT
In file included from Source/dooble_charts_file.cc:30: In file included from /usr/local/include/qt6/QtQml/QJSEngine:1: In file included from /usr/local/include/qt6/QtQml/qjsengine.h:13: /usr/local/include/qt6/QtCore/qtimezone.h:86:9: error: '= delete' with a message is a C++2c extension [-Werror,-Wc++26-extensions] 86 | "Would be treated as int offsetSeconds. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | "Use QTimeZone::UTC or QTimeZone::LocalTime instead."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/qt6/QtCore/qcompilerdetection.h:1046:49: note: expanded from macro 'Q_DECL_EQ_DELETE_X' 1046 | # define Q_DECL_EQ_DELETE_X(reason) = delete(reason) | ^~~~~~ PR: 299033 Reported by: pkg-fallout Sponsored by: UNIS Labs (vvd, commit patch) MFH: 2026Q4 (cherry picked from commit f45ab0387ebdd351b5164e7cdc9898a640c5aa77)
-rw-r--r--www/dooble/files/patch-dooble.pro42
1 files changed, 41 insertions, 1 deletions
diff --git a/www/dooble/files/patch-dooble.pro b/www/dooble/files/patch-dooble.pro
index 1ac3320b1b63..9bd2ffda95e7 100644
--- a/www/dooble/files/patch-dooble.pro
+++ b/www/dooble/files/patch-dooble.pro
@@ -18,7 +18,7 @@
DEFINES += DOOBLE_PEEKABOO
LIBS += -lgpgme
message("Discovered gpgme.h. Peekaboo activated!")
-@@ -281,7 +281,7 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
+@@ -281,11 +281,13 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
-Werror \
-Wextra \
-Wformat=2 \
@@ -27,3 +27,43 @@
-Woverloaded-virtual \
-Wpointer-arith \
-Wstack-protector \
+ -Wstrict-overflow=5 \
++ -Wno-c++20-attribute-extensions \
++ -Wno-c++26-extensions \
+ -Wundef \
+ -Wzero-as-null-pointer-constant \
+ -fPIE \
+@@ -306,12 +308,13 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
+ -Wcast-qual \
+ -Wextra \
+ -Wformat=2 \
+- -Wno-c++20-attribute-extensions \
+- -Wold-style-cast \
++ -Wno-old-style-cast \
+ -Woverloaded-virtual \
+ -Wpointer-arith \
+ -Wstack-protector \
+ -Wstrict-overflow=5 \
++ -Wno-c++20-attribute-extensions \
++ -Wno-c++26-extensions \
+ -fPIE \
+ -fstack-protector-all \
+ -funroll-loops \
+@@ -361,7 +364,7 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
+ -Wformat=2 \
+ -Wlogical-op \
+ -Wno-deprecated-copy \
+- -Wold-style-cast \
++ -Wno-old-style-cast \
+ -Woverloaded-virtual \
+ -Wpointer-arith \
+ -Wstack-protector \
+@@ -370,6 +373,8 @@ QMAKE_CXXFLAGS_RELEASE += -O3 \
+ -Wtrampolines \
+ -Wundef \
+ -Wzero-as-null-pointer-constant \
++ -Wno-c++20-attribute-extensions \
++ -Wno-c++26-extensions \
+ -fstack-clash-protection \
+ -fstack-protector-all \
+ -funroll-loops \