diff options
author | Ivan Vilata i Balaguer <ivan@selidor.net> | 2022-03-07 00:47:32 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-11 23:07:25 +0100 |
commit | 4e0c4ab7f962a56b1c5b023b40dbeb3e856c96f6 (patch) | |
tree | d5409b4516338873de6e0e6a5c35b49c89b1b0f1 /gnu/packages/xfig.scm | |
parent | db41eabd47e676b3a08ff87ceea20e0cb9f98427 (diff) | |
download | guix-4e0c4ab7f962a56b1c5b023b40dbeb3e856c96f6.tar.gz |
gnu: transfig: Fix "multiple definition" errors with GCC 10+.
* gnu/packages/patches/transfig-gcc10-fno-common.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/xfig.scm (transfig)[source]<origin>: Use patch "transfig-gcc10-fno-common.patch" to avoid "multiple definition" errors with GCC 10+ and "-f-no-common". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/xfig.scm')
-rw-r--r-- | gnu/packages/xfig.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/xfig.scm b/gnu/packages/xfig.scm index ad2f701ff1..1d4d17527c 100644 --- a/gnu/packages/xfig.scm +++ b/gnu/packages/xfig.scm @@ -86,7 +86,10 @@ selected in various ways. For text, 35 fonts are available.") version ".tar.gz")) (sha256 (base32 - "0i3p7qmg2w8qrad3pn42b0miwarql7yy0gpd49b1bpal6bqsiicf")))) + "0i3p7qmg2w8qrad3pn42b0miwarql7yy0gpd49b1bpal6bqsiicf")) + (patches + (search-patches + "transfig-gcc10-fno-common.patch")))) ; fix GCC10 build (build-system gnu-build-system) (native-inputs (list imake makedepend)) |