summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-01 05:23:55 +0000
committerSam James <sam@gentoo.org>2020-11-01 05:23:55 +0000
commit8cc02afe349792cc39e886d9ee01f8bf501548cc (patch)
tree837a106ef442318a1dfd4fcdb0ba6164f35d70d9 /media-video/ccextractor/files
parentapp-editors/dav: fix build with gcc 10, compressed man (diff)
downloadgentoo-8cc02afe349792cc39e886d9ee01f8bf501548cc.tar.gz
gentoo-8cc02afe349792cc39e886d9ee01f8bf501548cc.tar.bz2
gentoo-8cc02afe349792cc39e886d9ee01f8bf501548cc.zip
media-video/ccextractor: fix build with gcc 10
Thanks-to: Matt Whitlock <gentoo@mattwhitlock.name> Closes: https://bugs.gentoo.org/706934 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/ccextractor/files')
-rw-r--r--media-video/ccextractor/files/ccextractor-0.85-fno-common.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/ccextractor/files/ccextractor-0.85-fno-common.patch b/media-video/ccextractor/files/ccextractor-0.85-fno-common.patch
new file mode 100644
index 000000000000..6e543f74910a
--- /dev/null
+++ b/media-video/ccextractor/files/ccextractor-0.85-fno-common.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/706934
+--- a/lib_ccx/ccx_decoders_708.h
++++ b/lib_ccx/ccx_decoders_708.h
+@@ -368,7 +368,7 @@
+ unsigned char *data,
+ int data_length);
+
+-ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color;
+-ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs;
++extern ccx_dtvcc_pen_color ccx_dtvcc_default_pen_color;
++extern ccx_dtvcc_pen_attribs ccx_dtvcc_default_pen_attribs;
+
+ #endif