diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-08 01:28:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-08 01:28:43 +0100 |
commit | ad75ca50360f9590325f0f709c091832b70eab1d (patch) | |
tree | 8a0b109f05da2a3728e461abf6e31347c2e8b0b2 /dev-tex | |
parent | 7b5e4e1f63da7fb63fba5f1a9fc41866c8ae5b2f (diff) |
gentoo auto-resync : 08:10:2022 - 01:28:43
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/Manifest.gz | bin | 6349 -> 6350 bytes | |||
-rw-r--r-- | dev-tex/tth/Manifest | 5 | ||||
-rw-r--r-- | dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch | 19 | ||||
-rw-r--r-- | dev-tex/tth/metadata.xml | 1 | ||||
-rw-r--r-- | dev-tex/tth/tth-4.16.ebuild | 40 |
5 files changed, 64 insertions, 1 deletions
diff --git a/dev-tex/Manifest.gz b/dev-tex/Manifest.gz Binary files differindex 9347c2827c10..eacfcb146384 100644 --- a/dev-tex/Manifest.gz +++ b/dev-tex/Manifest.gz diff --git a/dev-tex/tth/Manifest b/dev-tex/tth/Manifest index 3bb6ed5a5bf4..b8d4dc7a9bf7 100644 --- a/dev-tex/tth/Manifest +++ b/dev-tex/tth/Manifest @@ -1,3 +1,6 @@ +AUX tth-4.16-Fix-build-with-Clang-16.patch 454 BLAKE2B 1d8e3205d23621d48378b075451913df8c3dbaffe359966d558515a25007d6e9ac07f31624ba769a1a24755acfe1e00f22618b6076d3f7a1624981523c0ddb19 SHA512 b756caf33e22db099c02383dd25fd390804212a1fe27855fa7f4ce5d6d8cd9ed966a97f1db6e9f7ac90804b69de650a1ec4fdab378d07eb0fe9f195b1351bb9d DIST tth4.08.tar.gz 1085293 BLAKE2B 260613fb9aa1e2acac5daf69db0ea5d3b6495dcb13f8eb3439a8774cf285fccf009dcdb77e33f265051bc9e9d35dda027212042678302b028efee7e4e1019e32 SHA512 c287cece1219155a5a23684b59f9c88459d7bbe7f029bfd6ca26562fa7a8f38699b4e5ce8a85a5f3544c081b5d1483f9533807b026dc85d130cf2e3eae507c05 +DIST tth_4.16.tgz 337901 BLAKE2B ace16726eec5539e81fbafc356c74ed1cc773457100e509cbb5b92fb8bf29bc82655e7d60c6b7ef0bb8e8e4b741c5613bb48e37b8c878757a6354ba1aa0d9267 SHA512 f4c8cc7a268fe8f235ace42a7345cd91efee90103d30b4c24f493982662c51b3d07f4beb2427e177f50e7615d68e1a26055bf3e287c401a9db81a25e614d9281 EBUILD tth-4.08.ebuild 673 BLAKE2B b0e9ab66490c955217e771d39825b3225cbe3a7e826177a4a753dee598ad451e86c62121e8edb3ca1212b68c72832b6d495e4835c008920d483b7fa73688a2db SHA512 c031344b8f522c6c0da025ae3a56d70ce444dcdd535ffd10bd47fc0f49ee618d41101d5b097e8bb56de522a8fb47ed4350bab4582a38253804f7648b5559845d -MISC metadata.xml 323 BLAKE2B 4a7798d20c979074662a346e4a3cee901452d4512cb8eb7f10fbe4d584ebb3bc572fca2f4ce459c9589284de3a9f9b7f36d7af910b0388c563891f18eb8b0e21 SHA512 998f6fbf80157132b153bc9180316ab8f46c793aabc44da08a31f95eaf65bd6d5836f4d2a743b7fb9cb8c0f257283a9f1baf8c4eb2b931e328cf876e6770ff45 +EBUILD tth-4.16.ebuild 935 BLAKE2B f2f737eccb91009aa717ecefdedb61e09162c9757a3bf3ada3aae4ac6d5bb2e9733be2dd7c858204a8b540697536eca059be265684367f1c39634e9c9fffdbc0 SHA512 b527fb188d9e22159631c90e2aa63ae4dc1f3569efa61f59dda62b559224a3c7ad4906edfd640b55d2f37cdc4b48fefe0053ad14d68e9e0d55d86bbbd33c0f08 +MISC metadata.xml 392 BLAKE2B d0babbaf1e6dba9da42b976bc1ee2f5cc33e17be11571e557205b61e18ec28e2219316b220942f9da7eb32d82b70bec35ef67c1ccea643f5e510f79da3201840 SHA512 a94c9055e27993855565b8e361531b0883144051e322d47e45ee6c9b01e7bab6e7a9569625dd31657dcf815a64b6e0a0c7dd34fd4b4277431cceaaa37c378182 diff --git a/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch new file mode 100644 index 000000000000..52dc9a2d21f2 --- /dev/null +++ b/dev-tex/tth/files/tth-4.16-Fix-build-with-Clang-16.patch @@ -0,0 +1,19 @@ +From 70244cb4546e6114e08b7bdcf8459daddc9bca8b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Fri, 7 Oct 2022 18:33:03 +0100 +Subject: [PATCH] Fix build with Clang 16 + +--- a/tthsplit.c ++++ b/tthsplit.c +@@ -6,9 +6,8 @@ Copyright 1997 I.H.Hutchinson. + #define LINELEN 256 + #include <stdio.h> + #include <string.h> +-main(argc,argv) +-int argc; +-char *argv[]; ++#include <stdlib.h> ++int main(int argc, char *argv[]) + { + int slen; + char *ch,*ch2; diff --git a/dev-tex/tth/metadata.xml b/dev-tex/tth/metadata.xml index c028b0abe7b9..a4178344e35e 100644 --- a/dev-tex/tth/metadata.xml +++ b/dev-tex/tth/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo TeX Project</name> </maintainer> <upstream> + <changelog>http://hutchinson.belmont.ma.us/tth/CHANGES</changelog> <remote-id type="sourceforge">tth</remote-id> </upstream> </pkgmetadata> diff --git a/dev-tex/tth/tth-4.16.ebuild b/dev-tex/tth/tth-4.16.ebuild new file mode 100644 index 000000000000..446703397dd9 --- /dev/null +++ b/dev-tex/tth/tth-4.16.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Translate TEX into HTML" +HOMEPAGE="http://hutchinson.belmont.ma.us/tth/" +# mirror://sourceforge/${PN}/${PN}${PV}.tar.gz +SRC_URI="http://hutchinson.belmont.ma.us/tth/tth-noncom/${PN}_${PV}.tgz" +S="${WORKDIR}"/${PN}_C + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + app-text/ghostscript-gpl + media-libs/netpbm +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.16-Fix-build-with-Clang-16.patch +) + +src_compile() { + # Upstream support a wide variety of obsolete platforms and + # are still active, so no point in patching these, bug #874744. + # http://hutchinson.belmont.ma.us/tth/platform.html + append-flags -std=gnu89 -Wno-strict-prototypes + + emake tth tthsplit +} + +src_install() { + dobin tth latex2gif ps2gif ps2png tthsplit + dodoc CHANGES + doman tth.1 +} |