diff options
Diffstat (limited to 'app-text/ttf2pk2')
-rw-r--r-- | app-text/ttf2pk2/Manifest | 3 | ||||
-rw-r--r-- | app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch | 21 | ||||
-rw-r--r-- | app-text/ttf2pk2/ttf2pk2-2.0_p20190410.ebuild | 4 |
3 files changed, 26 insertions, 2 deletions
diff --git a/app-text/ttf2pk2/Manifest b/app-text/ttf2pk2/Manifest index b9d4be5e1d8f..57cd812d1b46 100644 --- a/app-text/ttf2pk2/Manifest +++ b/app-text/ttf2pk2/Manifest @@ -1,3 +1,4 @@ +AUX ttf2pk2-2.0_p20190410-fno-common-gcc10.patch 266 BLAKE2B 98f39f54a57008124d456d831fa02585de3563029acf520b47253510f1c59c1761b450c0b116f372142c9c197aac10b50edfdace60bd66ea9d3791f95556778b SHA512 c65aa9af68ed6073427f7c5713cf4157a1fa7782578612a26040ea50eff89c41251e1b36a395b2cdf639d46cb865abfe46f5662e932d29e6e10bce08dd48b5a7 DIST texlive-20190410-source.tar.xz 53783408 BLAKE2B 8e34c7c2b74eab1c4d16ddbf7eddd8566593e6d68c42a2634760f11d86e68970698d8b9deddcf3297966968ede11ecf30e0b04ec19b708dc3e6d0a2abcc3799d SHA512 7759d8e668e53c0c73e48907096da9d8fb6384dd9c3342ddfb05e17d077054c5351d35256cf4e63a6da502de2f09f521979bede7209cdd5bd8ae80eba0efed2e -EBUILD ttf2pk2-2.0_p20190410.ebuild 1089 BLAKE2B 5b5029b5b30a1fffee513985ea7748a1e573e2297816e595bbaeea220ddb1163b05a5bb5d3ea20bca053f253db29184a2909ae04995c42e843328373c6e0bfd7 SHA512 3dbd27d7134a8b8e087a53de69ede547fde5445d626ced22b87b9a52ce75b8502907b14dce8e8a8779cb740dfa137a966eaeda27c1471c2a8ed722b35c1a889a +EBUILD ttf2pk2-2.0_p20190410.ebuild 1159 BLAKE2B 519047a229ac9071f1f32d8137e347a49dce542a72ce0814b08a4ebde254663541ae5ee4e82c2639c858a3f2f9be7422717c47141cfa1c05436a882855e70eac SHA512 2828785adb3c8f522578716abf3f6fa280384e7f1a2c5ab2b88b1d4f5f06d695b9970a789a32cfaf46497874bdc7f1d2ff25303442c46d6d31ec625a574288bd MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690 diff --git a/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch b/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch new file mode 100644 index 000000000000..74678208a240 --- /dev/null +++ b/app-text/ttf2pk2/files/ttf2pk2-2.0_p20190410-fno-common-gcc10.patch @@ -0,0 +1,21 @@ +--- a/pklib.c ++++ b/pklib.c +@@ -64,8 +64,6 @@ + #define PK_POST (char)245 + #define PK_NOP (char)246 + +-int dpi; +- + FILE *pk_file; + + +--- a/pklib.h ++++ b/pklib.h +@@ -13,6 +13,7 @@ + + typedef unsigned char byte; + ++extern int dpi; + + void TFMopen(char **filename); + diff --git a/app-text/ttf2pk2/ttf2pk2-2.0_p20190410.ebuild b/app-text/ttf2pk2/ttf2pk2-2.0_p20190410.ebuild index 6499ac50b3ec..6528f2d15c05 100644 --- a/app-text/ttf2pk2/ttf2pk2-2.0_p20190410.ebuild +++ b/app-text/ttf2pk2/ttf2pk2-2.0_p20190410.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,6 +28,8 @@ BDEPEND="virtual/pkgconfig" S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} +PATCHES=( "${FILESDIR}"/${PN}-2.0_p20190410-fno-common-gcc10.patch ) + src_configure() { econf --with-system-kpathsea \ --with-system-freetype2 \ |