diff --git a/srcpkgs/renderdoc/patches/QPainterPath.patch b/srcpkgs/renderdoc/patches/QPainterPath.patch new file mode 100644 index 00000000000..139930a77b4 --- /dev/null +++ b/srcpkgs/renderdoc/patches/QPainterPath.patch @@ -0,0 +1,40 @@ +--- a/qrenderdoc/Widgets/RangeHistogram.cpp 2019-04-29 11:50:14.000000000 +0200 ++++ b/qrenderdoc/Widgets/RangeHistogram.cpp 2020-08-31 19:10:09.169423623 +0200 +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + RangeHistogram::RangeHistogram(QWidget *parent) : QWidget(parent) + { +--- a/qrenderdoc/Styles/RDTweakedNativeStyle/RDTweakedNativeStyle.cpp.orig 2019-04-29 11:50:14.000000000 +0200 ++++ b/qrenderdoc/Styles/RDTweakedNativeStyle/RDTweakedNativeStyle.cpp 2020-08-31 19:14:26.336436890 +0200 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + +--- a/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp 2019-04-29 11:50:14.000000000 +0200 ++++ b/qrenderdoc/3rdparty/toolwindowmanager/ToolWindowManager.cpp 2020-08-31 19:15:33.841440372 +0200 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- a/qrenderdoc/Windows/TimelineBar.cpp 2019-04-29 11:50:14.000000000 +0200 ++++ b/qrenderdoc/Windows/TimelineBar.cpp 2020-08-31 19:16:36.087443584 +0200 +@@ -25,6 +25,7 @@ + #include "TimelineBar.h" + #include + #include ++#include + #include + #include + #include "Code/QRDUtils.h" diff --git a/srcpkgs/renderdoc/template b/srcpkgs/renderdoc/template index fecbc258ea6..82b6a6f1edb 100644 --- a/srcpkgs/renderdoc/template +++ b/srcpkgs/renderdoc/template @@ -18,6 +18,10 @@ homepage="https://github.com/baldurk/renderdoc" distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz" checksum=9a78951f386fb7c3ecf7df6919d300db59719d14f0621438963ae30a75d33677 +if [ "$XBPS_TARGET_LIBC" = musl ]; then + makedepends+=" libexecinfo-devel" + LDFLAGS+=" -lexecinfo" +fi case "$XBPS_TARGET_MACHINE" in *-musl) broken="This package uses execinfo.h which is not available on musl" ;; ppc64*) ;;