aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-02-16 06:15:24 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-02-16 06:16:00 +0000
commit6f54d065a9d6bbfc471531025bf1a478b1b8d72b (patch)
tree56f4bc02906a57c392c3e637efe818034802ca23
parent569b687f3394bea0fe5eea700f6e5fe9f92a248b (diff)
downloadports-6f54d065a9d6bbfc471531025bf1a478b1b8d72b.tar.gz
ports-6f54d065a9d6bbfc471531025bf1a478b1b8d72b.zip
audio/bambootracker: Fix build with clang15
Notified by: pkg-fallout
-rw-r--r--audio/bambootracker/files/patch-BambooTracker_gui_order__list__editor_order__list__panel.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/bambootracker/files/patch-BambooTracker_gui_order__list__editor_order__list__panel.cpp b/audio/bambootracker/files/patch-BambooTracker_gui_order__list__editor_order__list__panel.cpp
new file mode 100644
index 000000000000..2ebe79aa06d2
--- /dev/null
+++ b/audio/bambootracker/files/patch-BambooTracker_gui_order__list__editor_order__list__panel.cpp
@@ -0,0 +1,13 @@
+--- BambooTracker/gui/order_list_editor/order_list_panel.cpp.orig 2023-02-04 06:49:52 UTC
++++ BambooTracker/gui/order_list_editor/order_list_panel.cpp
+@@ -709,9 +709,8 @@ void OrderListPanel::drawBorders(int maxWidth)
+ QPainter painter(&backPixmap_);
+ painter.setPen(palette_->odrBorderColor);
+ painter.drawLine(rowNumWidth_, 0, rowNumWidth_, backPixmap_.height());
+- for (int x = rowNumWidth_ + trackWidth_, trackVisIdx = leftTrackVisIdx_; x <= maxWidth; ++trackVisIdx) {
++ for (int x = rowNumWidth_ + trackWidth_; x <= maxWidth; x += trackWidth_) {
+ painter.drawLine(x, 0, x, backPixmap_.height());
+- x += trackWidth_;
+ }
+ }
+