diff options
Diffstat (limited to 'app-text/ttf2pt1')
-rw-r--r-- | app-text/ttf2pt1/Manifest | 3 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.4-clang16.patch | 61 | ||||
-rw-r--r-- | app-text/ttf2pt1/ttf2pt1-3.4.4-r2.ebuild (renamed from app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild) | 5 |
3 files changed, 66 insertions, 3 deletions
diff --git a/app-text/ttf2pt1/Manifest b/app-text/ttf2pt1/Manifest index 2b4b847b0fc4..7e8dfa1322f4 100644 --- a/app-text/ttf2pt1/Manifest +++ b/app-text/ttf2pt1/Manifest @@ -1,7 +1,8 @@ AUX ttf2pt1-3.4.0-man-pages.diff 926 BLAKE2B 9fd3872f9c28d03ba2412fe27ed65277dfd34b3923d1e6fb2af9cac3c990446048e64ea5583386d8c34184d7c61507e2c0341c0a6f3bda56455204e9b51d4ccd SHA512 629b307fc210fff774e4675f6a819fff2f8336c6cf3f6ce1ee6c32e05503c86f80d03e978bbeabd862091b6bbcec80207c2e149d1b2a2b34a9b54c30a338240c AUX ttf2pt1-3.4.4-LDFLAGS.patch 870 BLAKE2B 74ab6326c92b2f9639765e6d1849f253357a15ad25d4234cc516021fc78168b5fb12a76e68c48b4755723a12300bc2f1d5031318e02bfc3c2057397699b67c5d SHA512 63e16aa71f2ae1fb1de0d97e1d76e7f075a8035cb77dbac8a55affc3784d52de350ec764113b0967e7792a45bfa9f338112022223ab50eedaef793f7b8add4dc AUX ttf2pt1-3.4.4-Makefile.patch 2748 BLAKE2B 131e2bfb4898bce7d98dda58255627b804d1386799af5aefd33efee9475a959954533cbae5374b34d945b8f3da6e3918463f4c1b4a9a9f083accb53344b95e91 SHA512 97d14aee0dc7196659aa2db9ece18fe8ebb6e5fc75e4c064dd1942702325ecad70b9ea66bd241932a0479cd97435953f5c5380de17177916e2d15389830a706e +AUX ttf2pt1-3.4.4-clang16.patch 1034 BLAKE2B f6656668ca76cc2a818ca870c6948757fd0e86b0c4eee0ff90177e57c8cdbd101758719add2a0db5bbb0568d6b70c9adc203f53a08d6aeb44da0677c84d574fe SHA512 43ed0226e844a23c6f0ff342313eefd1041bb397c27a68f1e41c7adf0ee9617f7c3314d9f662b798d7a999c06c26d9a5a846cb6fc4c53d9ee6a4e1eee4c5c5b2 AUX ttf2pt1-3.4.4-freetype.patch 223 BLAKE2B 4f2e5a1a505329d505c705fce85d2a3729737d7c90cdf24ed318cc745edcf3279b204be0f395eadb3e95a66a89316c9d84a850510b95abc33bb50451a54b0a62 SHA512 4f5368c52fb4139995fad7cf881c2f3f722269818d045dac132856fc765e7c6e0dd21d6a74ffdbb93bdfe66924824f3bd8ef3779a020b1f22edec9e4d90b5a17 DIST ttf2pt1-3.4.4.tgz 230547 BLAKE2B 58904765afad396692263d9f50017d299828ae847a254bf6a580a0a259dcd03da3d9a97fe370a53a936e70188dab3c96cf0f0ab9069474eef92b9fd31862e455 SHA512 ff2b41b0d54c2feb8565c4bcf9fbc2ce799aa6228815c2787e26127f6c0ca380114b3ab7a12fa50a52279a3452bcb91dbad5c661e83078f25036f69a4d1cf014 -EBUILD ttf2pt1-3.4.4-r1.ebuild 1297 BLAKE2B 509af7610cb0ad513623af2dad822a318016b72a38b0d55a7412d21a2ba68da71a02c6518373992892c94038e462583ac7494bacf8ee2747583e62d5d28dfb37 SHA512 edeaeef8c6907c773fa9fb0b2d994203327323c73fe814a5a2031320eb71ad50425b0aece193c79272cf1b140438ddd0a666499d720721157cf7b1a0aa07757c +EBUILD ttf2pt1-3.4.4-r2.ebuild 1331 BLAKE2B 7cedf7d93728efe59f6c4ae0f685a2a81f6d35efe7c2ae4260d96fbde414061f2ed250d1d4e9bc12b495ea8e68db165b46d9999b5a9aa8fbac72fc7c1fbd75dc SHA512 f20119d61ab6f675695d760a5dd818ec807dc5fb71cfde30ab4ce8bd58d5d2c9753449c0cf843906f6dead1443c316f7b74a82b6ec981fe16d2d14fdf5af4c5f MISC metadata.xml 316 BLAKE2B 4bcf9738a3ef368bec08524701269bc4d3e33cb825347a5878367b0b100e78973e62fcc6be259f12937b18b3cd3be517dceead7985b44d42d68b248d6de64aa3 SHA512 6f27eed6e85bfda4b64b86e7cb0e3add2181da57dddb353dc6ff4e639c5b0c5af4c17b4536e8f778f23658cf11c5863333af6aff1148312fb1f9db8f0dea02aa diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-clang16.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-clang16.patch new file mode 100644 index 000000000000..cb54195872e9 --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-clang16.patch @@ -0,0 +1,61 @@ +https://sourceforge.net/p/ttf2pt1/mailman/message/37804025/ +https://bugs.gentoo.org/881321 + +Avoid implicit ints and implicit function declarations, and build +failures with future compilers which do not support this pre-C99 +features by default. + +--- a/other/bmpfont.h ++++ b/other/bmpfont.h +@@ -2,7 +2,9 @@ + * see COPYRIGHT + */ + ++#include <stdlib.h> + ++void + fchkneg(file, line, rc, cmd) + char *file; + int line; +@@ -17,6 +19,7 @@ fchkneg(file, line, rc, cmd) + } + } + ++void + fchknull(file, line, rc, cmd) + char *file; + int line; +--- a/other/cmpf.c ++++ b/other/cmpf.c +@@ -14,7 +14,7 @@ + + #include "bmpfont.h" + +- ++int + main(ac, av) + int ac; + char **av; +--- a/other/dmpf.c ++++ b/other/dmpf.c +@@ -14,7 +14,7 @@ + + #include "bmpfont.h" + +- ++int + main(ac, av) + int ac; + char **av; +--- a/t1asm.c ++++ b/t1asm.c +@@ -59,6 +59,8 @@ static char portnotice[] = + # define WINDOWS_FUNCTIONS + # include "windows.h" + # endif ++#else ++# include <unistd.h> + #endif + + /* int32 must be at least 32-bit and uint16 must be at least 16-bit */ + diff --git a/app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild b/app-text/ttf2pt1/ttf2pt1-3.4.4-r2.ebuild index fcc8361c32a0..f108cacf8cc0 100644 --- a/app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild +++ b/app-text/ttf2pt1/ttf2pt1-3.4.4-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -22,6 +22,7 @@ PATCHES=( "${FILESDIR}"/${P}-LDFLAGS.patch "${FILESDIR}"/${PN}-3.4.0-man-pages.diff "${FILESDIR}"/${P}-freetype.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { |