From 8faf66e996ac4780611a3ddfd794dd5417f1a6c6 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 15 Mar 2016 22:22:47 -0400 Subject: media-gfx/fontforge: Fix undefined reference Bug: https://bugs.gentoo.org/572456 Package-Manager: portage-2.2.28_p60 --- .../fontforge/files/fontforge-dummy-spiro.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 media-gfx/fontforge/files/fontforge-dummy-spiro.patch (limited to 'media-gfx/fontforge/files') diff --git a/media-gfx/fontforge/files/fontforge-dummy-spiro.patch b/media-gfx/fontforge/files/fontforge-dummy-spiro.patch new file mode 100644 index 000000000000..d2e73d5b179f --- /dev/null +++ b/media-gfx/fontforge/files/fontforge-dummy-spiro.patch @@ -0,0 +1,25 @@ +From 63def02823e631cd73b763541a87d7c480be799e Mon Sep 17 00:00:00 2001 +From: Jeremy Tan +Date: Mon, 14 Mar 2016 12:25:45 +0800 +Subject: [PATCH] Spiros: Add dummy _SpiroCP2SplineSet when compiling without + Spiros. + +--- + fontforge/spiro.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/fontforge/spiro.c b/fontforge/spiro.c +index 629339a..bb2f36f 100644 +--- a/fontforge/spiro.c ++++ b/fontforge/spiro.c +@@ -35,6 +35,10 @@ + + static int has_spiro = false; + ++static SplineSet *_SpiroCP2SplineSet(spiro_cp *spiros) { ++ return NULL; ++} ++ + SplineSet *SpiroCP2SplineSet(spiro_cp *spiros) { + return( NULL ); + } -- cgit v1.2.3-65-gdbad