summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-01-28 22:23:45 +0100
committerUlrich Müller <ulm@gentoo.org>2020-01-28 22:24:19 +0100
commit0ffcd31e40170e29a86eb0aef5798fff4a5549e8 (patch)
tree1a74dd43e1fc0a157b3cdfcbd223720f04f77ffe /games-board/polyglot/files
parentmedia-plugins/kodi-vfs-sacd: 1.0.1 version bump (diff)
downloadgentoo-0ffcd31e40170e29a86eb0aef5798fff4a5549e8.tar.gz
gentoo-0ffcd31e40170e29a86eb0aef5798fff4a5549e8.tar.bz2
gentoo-0ffcd31e40170e29a86eb0aef5798fff4a5549e8.zip
games-board/polyglot: Fix compilation with -fno-common.
Closes: https://bugs.gentoo.org/706976 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'games-board/polyglot/files')
-rw-r--r--games-board/polyglot/files/polyglot-1.4.70b-no-common.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch
new file mode 100644
index 000000000000..96878a8bfc67
--- /dev/null
+++ b/games-board/polyglot/files/polyglot-1.4.70b-no-common.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/706976
+
+--- polyglot-1.4.70b-orig/pgheader.h
++++ polyglot-1.4.70b/pgheader.h
+@@ -10,9 +10,6 @@
+ #define PGHEADER_BAD_HEADER 6
+
+
+-const char * pgheader_version;
+-const char * pgheader_magic;
+-
+ /* This does some heuristic tests to make it reasonably sure we are dealing
+ with a Polyglot book.
+ */