Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 913286 Details for
Bug 945826
app-text/ghostscript-gpl-10.04.0: fails to compile with clang (invalid argument '-std=gnu17' not allowed with 'C++')
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround
0001-app-text-ghostscript-gpl-work-around-broken-build-sy.patch (text/plain), 1.05 KB, created by
Mike Gilbert
on 2024-12-04 04:54:33 UTC
(
hide
)
Description:
workaround
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2024-12-04 04:54:33 UTC
Size:
1.05 KB
patch
obsolete
>From 05a8077c57a82313ffb1323d939a36772f7f61a3 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Tue, 3 Dec 2024 23:52:12 -0500 >Subject: [PATCH] app-text/ghostscript-gpl: work around broken build system > >The homegrown Makefiles pass CFLAGS to the C++ compiler. >Add "-std=gnu17" to CC to avoid an error with clang++. > >Closes: https://bugs.gentoo.org/945826 >Signed-off-by: Mike Gilbert <floppym@gentoo.org> >--- > app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild >index 054a3505cd91..f40be5d59392 100644 >--- a/app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild >+++ b/app-text/ghostscript-gpl/ghostscript-gpl-10.04.0.ebuild >@@ -127,7 +127,9 @@ src_configure() { > filter-lto > > # bug #943857 >- append-cflags -std=gnu17 >+ # Build system passes CFLAGS to C++ compiler (bug #945826) >+ tc-export CC >+ CC+=" -std=gnu17" > > # bug #899952 > append-lfs-flags >-- >2.47.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 945826
:
913270
| 913286