Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media-gfx/librecad: add a patch to fix building with clang-17 #35423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions media-gfx/librecad/files/librecad-2.2.0-clang.patch
@@ -0,0 +1,10 @@
--- a/librecad/src/lib/debug/rs_debug.h
+++ b/librecad/src/lib/debug/rs_debug.h
@@ -28,6 +28,7 @@
#ifndef RS_DEBUG_H
#define RS_DEBUG_H

+#include <cstdio>
#include <iosfwd>
#ifdef __hpux
#include <sys/_size_t.h>
4 changes: 4 additions & 0 deletions media-gfx/librecad/librecad-2.2.0.ebuild
Expand Up @@ -40,6 +40,10 @@ BDEPEND="
dev-qt/linguist-tools:5
"

PATCHES=(
"${FILESDIR}/${P}-clang.patch"
)

src_prepare() {
default

Expand Down