diff options
author | eugene | 2022-10-03 12:21:03 +0000 |
---|---|---|
committer | eugene | 2022-10-03 12:21:03 +0000 |
commit | 0ffc7d5317b990be52fd18cedda1017b2ebc1b86 (patch) | |
tree | c7499c6cc30d11321ac59d1539f97384be8cb3db /PKGBUILD | |
parent | 6b973f870c14c4653c7b01ea5ab3cfbb4ffcf9a6 (diff) | |
download | aur-0ffc7d5317b990be52fd18cedda1017b2ebc1b86.tar.gz |
Apply temporary fix for ImGui::Text call
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -20,6 +20,22 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + # fix build for commit ef3ad91a + patch -p1 -d "${srcdir}/${pkgname%-git}" << EOF +--- a/src/frontend-common/fullscreen_ui.cpp 2022-09-17 22:10:40.988720185 +0000 ++++ b/src/frontend-common/fullscreen_ui.cpp 2022-09-17 22:37:55.911769613 +0000 +@@ -1134,7 +1134,7 @@ + ImGui::SetCursorPos(ImVec2(ImGui::GetWindowWidth() - rev_size.x - LayoutScale(20.0f), + ImGui::GetWindowHeight() - rev_size.y - LayoutScale(20.0f))); + ImGui::PushFont(g_medium_font); +- ImGui::Text(g_scm_tag_str); ++ ImGui::Text("%s", g_scm_tag_str); + ImGui::PopFont(); + } +EOF +} + build() { cmake -B build -S duckstation \ -DBUILD_NOGUI_FRONTEND=OFF \ |