diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-emulation/advancescan | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-emulation/advancescan')
5 files changed, 649 insertions, 0 deletions
diff --git a/games-emulation/advancescan/Manifest b/games-emulation/advancescan/Manifest new file mode 100644 index 000000000000..be6ff5210622 --- /dev/null +++ b/games-emulation/advancescan/Manifest @@ -0,0 +1,5 @@ +AUX advancescan-1.16-gcc6.patch 24440 BLAKE2B bd7b25859798cc3935fedc6d60ea822189301232426e2b071665aaf6af3a85f16d93c22373e8ad1b46da96ab577fceebe681e86021452aa20e24b0e0fd9b2a8a SHA512 e758ba7d900f1ca5fd6f32c3572fbf4c2a7cf77877f926511bd724ec5ec8ddb9697244f5a582eeb5275188ae2c8a14e8388cac93365ac348e9cc60835884a499 +AUX advancescan-1.16-sys-expat.patch 1543 BLAKE2B 72143e1dec74c828c4051a5b198f706caf3385e1a982eca142fd6f2f4c7a2f3797fb732fd1086b4f3c5cf93560f67077720c14945f52ed388ce981db559230c4 SHA512 a9dc80b75a8b9dbad3fe6c156c4de0cafee171d820845ea7ff2f042b7f73fd6cd10d710c60fb8bf4cfdea139f527008958b445d01838a8fdf6c96d3e76c530f4 +DIST advancescan-1.16.tar.gz 316895 BLAKE2B 1ce2ec88a80cca8ff8d1fa09cba7b9c5583e42a3419bfd561bb184b53fe071c011b864ee813f0107667881112ca4adf01cd2b8e8148712927af1c82bc73f43c1 SHA512 6d359c160d54a0a1cd13db10f5fc9986fae4f1151e205024e40c21b0f933723351907156faec22a92561ad523151e3b7d4ff70a6eebbb6152bd3767063a31031 +EBUILD advancescan-1.16-r1.ebuild 752 BLAKE2B 5929dc6fe1808098966a167e1c82441aa3b105c1b27e4e98e7fbfea03607f35d319d76b8e9da9b39aaabb5f59a833594a8dcf7d014683e446766f932c02f8559 SHA512 70fd6345547813dc994b66a135badf8d0f85ff862dffe4a14cc0ebb2119a303e569b46059b6c1c88182253b73e2164f3171a62039e70f3cde954b8ff1066d2e4 +MISC metadata.xml 334 BLAKE2B 9c8f19757cfe814fe5650009b03d9eb653e3937cf30b4288dfa616a894560bdc81edba8b1ad235f34f5200a2c7ae8e9b19ba0e9f1e0ec5a2560b806ac9e184d8 SHA512 18cabfd831489b32b4449794c06a28425d91dab0c2868038fb48c94728fc16ccca268ae93a4f4a51be01c5901591582e6df2523460ba4ba98719436944577e1f diff --git a/games-emulation/advancescan/advancescan-1.16-r1.ebuild b/games-emulation/advancescan/advancescan-1.16-r1.ebuild new file mode 100644 index 000000000000..46c0c1379bcb --- /dev/null +++ b/games-emulation/advancescan/advancescan-1.16-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils + +DESCRIPTION="A command line rom manager for MAME, MESS, AdvanceMAME, AdvanceMESS and Raine" +HOMEPAGE="http://advancemame.sourceforge.net/scan-readme.html" +SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/expat + sys-libs/zlib" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-sys-expat.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_prepare() { + rm -rf expat + default + eautoreconf +} + +src_install() { + dobin advscan advdiff + dodoc AUTHORS HISTORY README doc/*.txt advscan.rc.linux + doman doc/{advscan,advdiff}.1 + dohtml doc/*.html +} diff --git a/games-emulation/advancescan/files/advancescan-1.16-gcc6.patch b/games-emulation/advancescan/files/advancescan-1.16-gcc6.patch new file mode 100644 index 000000000000..1f9c73f6db60 --- /dev/null +++ b/games-emulation/advancescan/files/advancescan-1.16-gcc6.patch @@ -0,0 +1,520 @@ +--- advancescan-1.16/analyze.cc.old 2016-09-25 19:17:21.698171287 -0400 ++++ advancescan-1.16/analyze.cc 2016-09-25 19:22:12.027465540 -0400 +@@ -33,467 +33,6 @@ + { 0, 0, 0 } + }; + +-char MAMEDK_DATA[] = { +- 0x2e, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2e, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x5f, 0x20, +- 0x5f, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x5f, 0x20, 0x5f, 0x5f, 0x20, 0x5f, +- 0x5f, 0x5f, 0x20, 0x20, 0x20, 0x5f, 0x5f, 0x20, +- 0x5f, 0x20, 0x5f, 0x20, 0x5f, 0x5f, 0x20, 0x5f, +- 0x5f, 0x5f, 0x20, 0x20, 0x20, 0x5f, 0x5f, 0x5f, +- 0x20, 0x20, 0x20, 0x5f, 0x5f, 0x7c, 0x20, 0x7c, +- 0x20, 0x7c, 0x20, 0x5f, 0x5f, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x7c, 0x20, 0x27, 0x5f, 0x20, 0x60, 0x20, +- 0x5f, 0x20, 0x5c, 0x20, 0x2f, 0x20, 0x5f, 0x60, +- 0x20, 0x7c, 0x20, 0x27, 0x5f, 0x20, 0x60, 0x20, +- 0x5f, 0x20, 0x5c, 0x20, 0x2f, 0x20, 0x5f, 0x20, +- 0x5c, 0x20, 0x2f, 0x20, 0x5f, 0x60, 0x20, 0x7c, +- 0x20, 0x7c, 0x2f, 0x20, 0x2f, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x7c, +- 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x28, 0x5f, 0x7c, +- 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x7c, +- 0x20, 0x7c, 0x20, 0x7c, 0x20, 0x20, 0x5f, 0x5f, +- 0x2f, 0x7c, 0x20, 0x28, 0x5f, 0x7c, 0x20, 0x7c, +- 0x20, 0x20, 0x20, 0x3c, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x7c, 0x5f, 0x7c, 0x20, 0x7c, 0x5f, 0x7c, +- 0x20, 0x7c, 0x5f, 0x7c, 0x5c, 0x5f, 0x5f, 0x2c, +- 0x5f, 0x7c, 0x5f, 0x7c, 0x20, 0x7c, 0x5f, 0x7c, +- 0x20, 0x7c, 0x5f, 0x7c, 0x5c, 0x5f, 0x5f, 0x5f, +- 0x28, 0x5f, 0x29, 0x5f, 0x5f, 0x2c, 0x5f, 0x7c, +- 0x5f, 0x7c, 0x5c, 0x5f, 0x5c, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x68, 0x74, +- 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, +- 0x2e, 0x6d, 0x61, 0x6d, 0x65, 0x2e, 0x64, 0x6b, +- 0x2f, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x3e, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x3c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x70, 0x72, 0x6f, 0x75, 0x64, 0x6c, 0x79, +- 0x20, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, +- 0x73, 0x20, 0x72, 0x61, 0x66, 0x6c, 0x65, 0x73, +- 0x69, 0x61, 0x2e, 0x7a, 0x69, 0x70, 0x20, 0x66, +- 0x6f, 0x72, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, +- 0x6d, 0x61, 0x6d, 0x65, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x22, 0x52, 0x61, 0x66, 0x66, 0x6c, 0x65, +- 0x73, 0x69, 0x61, 0x22, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x69, 0x73, +- 0x20, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, 0x67, +- 0x68, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x43, 0x6f, 0x72, +- 0x65, 0x6c, 0x61, 0x6e, 0x64, 0x20, 0x2f, 0x20, +- 0x53, 0x65, 0x67, 0x61, 0x20, 0x31, 0x39, 0x38, +- 0x36, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x3e, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x3c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x59, 0x6f, +- 0x75, 0x20, 0x6d, 0x61, 0x79, 0x20, 0x68, 0x61, +- 0x76, 0x65, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, +- 0x67, 0x61, 0x6d, 0x65, 0x20, 0x52, 0x4f, 0x4d, +- 0x20, 0x4f, 0x4e, 0x4c, 0x59, 0x20, 0x69, 0x66, +- 0x20, 0x79, 0x6f, 0x75, 0x20, 0x61, 0x72, 0x65, +- 0x20, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x6c, 0x79, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, +- 0x64, 0x20, 0x73, 0x6f, 0x2e, 0x20, 0x42, 0x79, +- 0x20, 0x22, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x6c, +- 0x79, 0x20, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, +- 0x65, 0x64, 0x22, 0x20, 0x77, 0x65, 0x20, 0x6d, +- 0x65, 0x61, 0x6e, 0x3a, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x59, 0x6f, +- 0x75, 0x20, 0x6f, 0x77, 0x6e, 0x20, 0x74, 0x68, +- 0x65, 0x20, 0x61, 0x63, 0x74, 0x75, 0x61, 0x6c, +- 0x20, 0x61, 0x72, 0x63, 0x61, 0x64, 0x65, 0x20, +- 0x6f, 0x72, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x70, +- 0x61, 0x6b, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, +- 0x52, 0x4f, 0x4d, 0x20, 0x79, 0x6f, 0x75, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x61, +- 0x72, 0x65, 0x20, 0x64, 0x6f, 0x77, 0x6e, 0x6c, +- 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x20, +- 0x55, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x74, 0x68, +- 0x65, 0x20, 0x63, 0x6f, 0x70, 0x79, 0x72, 0x69, +- 0x67, 0x68, 0x74, 0x20, 0x6c, 0x61, 0x77, 0x73, +- 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x55, 0x2e, 0x53, 0x2e, 0x2c, 0x20, 0x79, 0x6f, +- 0x75, 0x20, 0x61, 0x72, 0x65, 0x20, 0x65, 0x6e, +- 0x74, 0x69, 0x74, 0x6c, 0x65, 0x64, 0x20, 0x74, +- 0x6f, 0x20, 0x6f, 0x77, 0x6e, 0x20, 0x61, 0x20, +- 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x20, 0x6f, +- 0x66, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x73, +- 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x20, +- 0x79, 0x6f, 0x75, 0x20, 0x68, 0x61, 0x76, 0x65, +- 0x20, 0x70, 0x61, 0x69, 0x64, 0x20, 0x66, 0x6f, +- 0x72, 0x2e, 0x20, 0x53, 0x69, 0x6e, 0x63, 0x65, +- 0x20, 0x52, 0x4f, 0x4d, 0x53, 0x20, 0x63, 0x61, +- 0x6e, 0x27, 0x74, 0x20, 0x62, 0x65, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, +- 0x65, 0x64, 0x20, 0x28, 0x6e, 0x6f, 0x74, 0x20, +- 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, +- 0x73, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, 0x20, +- 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, +- 0x29, 0x2c, 0x20, 0x52, 0x4f, 0x4d, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x69, +- 0x6d, 0x61, 0x67, 0x65, 0x73, 0x20, 0x61, 0x72, +- 0x65, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, +- 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, +- 0x65, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, +- 0x20, 0x61, 0x73, 0x20, 0x61, 0x20, 0x73, 0x65, +- 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x52, 0x65, 0x6d, +- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x2c, 0x20, 0x74, +- 0x68, 0x65, 0x20, 0x70, 0x75, 0x72, 0x70, 0x6f, +- 0x73, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x6e, +- 0x20, 0x65, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, +- 0x72, 0x20, 0x69, 0x73, 0x20, 0x74, 0x6f, 0x20, +- 0x70, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x67, 0x61, +- 0x6d, 0x65, 0x73, 0x20, 0x28, 0x73, 0x6f, 0x20, +- 0x74, 0x68, 0x61, 0x74, 0x20, 0x74, 0x68, 0x65, +- 0x79, 0x20, 0x64, 0x6f, 0x6e, 0x27, 0x74, 0x20, +- 0x64, 0x69, 0x73, 0x73, 0x61, 0x70, 0x70, 0x65, +- 0x61, 0x72, 0x29, 0x2c, 0x20, 0x74, 0x6f, 0x20, +- 0x68, 0x61, 0x76, 0x65, 0x20, 0x61, 0x6c, 0x6c, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x79, 0x6f, 0x75, +- 0x72, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x20, +- 0x6f, 0x6e, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, +- 0x50, 0x43, 0x20, 0x28, 0x73, 0x6f, 0x20, 0x74, +- 0x68, 0x61, 0x74, 0x20, 0x79, 0x6f, 0x75, 0x20, +- 0x64, 0x6f, 0x6e, 0x27, 0x74, 0x20, 0x74, 0x69, +- 0x65, 0x20, 0x75, 0x70, 0x20, 0x74, 0x68, 0x65, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x66, 0x61, 0x6d, +- 0x69, 0x6c, 0x79, 0x20, 0x54, 0x56, 0x29, 0x20, +- 0x61, 0x6e, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x6b, +- 0x65, 0x65, 0x70, 0x20, 0x61, 0x20, 0x62, 0x61, +- 0x63, 0x6b, 0x75, 0x70, 0x20, 0x6f, 0x66, 0x20, +- 0x67, 0x61, 0x6d, 0x65, 0x73, 0x20, 0x79, 0x6f, +- 0x75, 0x20, 0x6f, 0x77, 0x6e, 0x20, 0x69, 0x6e, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x63, +- 0x61, 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, +- 0x67, 0x61, 0x6d, 0x65, 0x20, 0x28, 0x6f, 0x72, +- 0x20, 0x61, 0x72, 0x63, 0x61, 0x64, 0x65, 0x2f, +- 0x68, 0x6f, 0x6d, 0x65, 0x20, 0x63, 0x6f, 0x6e, +- 0x73, 0x6f, 0x6c, 0x65, 0x29, 0x20, 0x66, 0x61, +- 0x69, 0x6c, 0x73, 0x20, 0x6f, 0x72, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x68, 0x61, 0x76, +- 0x65, 0x20, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, +- 0x79, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, +- 0x2e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x49, 0x74, 0x27, 0x73, +- 0x20, 0x66, 0x6f, 0x72, 0x20, 0x65, 0x64, 0x75, +- 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, +- 0x20, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, +- 0x73, 0x20, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x28, +- 0x69, 0x6e, 0x20, 0x63, 0x61, 0x73, 0x65, 0x20, +- 0x79, 0x6f, 0x75, 0x20, 0x61, 0x72, 0x65, 0x20, +- 0x61, 0x6e, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x65, 0x6d, 0x75, 0x6c, +- 0x61, 0x74, 0x6f, 0x72, 0x20, 0x70, 0x72, 0x6f, +- 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x29, +- 0x2e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x59, 0x6f, 0x75, +- 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x4e, 0x45, +- 0x56, 0x45, 0x52, 0x20, 0x73, 0x65, 0x6c, 0x6c, +- 0x20, 0x74, 0x68, 0x65, 0x73, 0x65, 0x20, 0x52, +- 0x4f, 0x4d, 0x53, 0x20, 0x66, 0x6f, 0x72, 0x20, +- 0x70, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x2e, 0x20, +- 0x4d, 0x6f, 0x73, 0x74, 0x20, 0x67, 0x61, 0x6d, +- 0x65, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x63, 0x6f, 0x6d, 0x70, +- 0x61, 0x6e, 0x69, 0x65, 0x73, 0x20, 0x64, 0x6f, +- 0x6e, 0x27, 0x74, 0x20, 0x6d, 0x69, 0x6e, 0x64, +- 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x69, 0x73, +- 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, +- 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, +- 0x69, 0x72, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x27, +- 0x73, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x52, +- 0x4f, 0x4d, 0x53, 0x20, 0x62, 0x65, 0x63, 0x61, +- 0x75, 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, 0x79, +- 0x20, 0x6e, 0x6f, 0x20, 0x6c, 0x6f, 0x6e, 0x67, +- 0x65, 0x72, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, +- 0x2c, 0x20, 0x62, 0x75, 0x74, 0x20, 0x74, 0x68, +- 0x65, 0x79, 0x20, 0x57, 0x49, 0x4c, 0x4c, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x6d, 0x69, 0x6e, 0x64, 0x20, 0x69, 0x66, +- 0x20, 0x73, 0x6f, 0x6d, 0x65, 0x6f, 0x6e, 0x65, +- 0x20, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x20, 0x74, +- 0x68, 0x65, 0x6d, 0x2e, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x59, 0x6f, 0x75, +- 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x4e, 0x4f, +- 0x54, 0x20, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, +- 0x62, 0x75, 0x74, 0x65, 0x20, 0x52, 0x4f, 0x4d, +- 0x53, 0x20, 0x74, 0x6f, 0x67, 0x65, 0x74, 0x68, +- 0x65, 0x72, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, +- 0x65, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x6f, 0x72, +- 0x73, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x61, 0x73, 0x20, +- 0x61, 0x20, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, +- 0x65, 0x2e, 0x20, 0x41, 0x6e, 0x64, 0x20, 0x61, +- 0x67, 0x61, 0x69, 0x6e, 0x2c, 0x20, 0x4e, 0x4f, +- 0x20, 0x73, 0x65, 0x6c, 0x6c, 0x69, 0x6e, 0x67, +- 0x2e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x59, 0x6f, +- 0x75, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x4e, +- 0x45, 0x56, 0x45, 0x52, 0x20, 0x68, 0x6f, 0x6c, +- 0x64, 0x20, 0x6d, 0x61, 0x6d, 0x65, 0x2e, 0x64, +- 0x6b, 0x20, 0x28, 0x69, 0x6e, 0x63, 0x6c, 0x75, +- 0x64, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x74, 0x73, +- 0x20, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x63, +- 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2c, 0x20, +- 0x77, 0x65, 0x62, 0x6d, 0x61, 0x73, 0x74, 0x65, +- 0x72, 0x73, 0x2c, 0x20, 0x65, 0x6d, 0x70, 0x6c, +- 0x6f, 0x79, 0x65, 0x65, 0x73, 0x2c, 0x20, 0x73, +- 0x74, 0x61, 0x66, 0x66, 0x20, 0x6f, 0x72, 0x20, +- 0x61, 0x6e, 0x79, 0x62, 0x6f, 0x64, 0x79, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x65, 0x6c, 0x73, 0x65, 0x20, 0x72, 0x65, 0x6c, +- 0x61, 0x74, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, +- 0x74, 0x68, 0x69, 0x73, 0x20, 0x77, 0x65, 0x62, +- 0x73, 0x69, 0x74, 0x65, 0x29, 0x20, 0x6f, 0x72, +- 0x20, 0x6f, 0x75, 0x72, 0x20, 0x77, 0x65, 0x62, +- 0x68, 0x6f, 0x73, 0x74, 0x73, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x72, 0x65, +- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x62, 0x6c, +- 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x6e, +- 0x79, 0x20, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, +- 0x20, 0x63, 0x61, 0x75, 0x73, 0x65, 0x64, 0x20, +- 0x74, 0x6f, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, +- 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2c, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x66, +- 0x6f, 0x72, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x6c, +- 0x65, 0x67, 0x61, 0x6c, 0x20, 0x61, 0x63, 0x74, +- 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x74, 0x61, 0x6b, +- 0x65, 0x6e, 0x20, 0x61, 0x67, 0x61, 0x69, 0x6e, +- 0x73, 0x74, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x66, +- 0x6f, 0x72, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x6f, 0x62, 0x65, 0x79, 0x69, +- 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, +- 0x62, 0x6f, 0x76, 0x65, 0x20, 0x73, 0x74, 0x61, +- 0x74, 0x65, 0x64, 0x20, 0x72, 0x75, 0x6c, 0x65, +- 0x73, 0x2c, 0x20, 0x6f, 0x72, 0x20, 0x66, 0x6f, +- 0x72, 0x20, 0x61, 0x6e, 0x79, 0x20, 0x6f, 0x74, +- 0x68, 0x65, 0x72, 0x20, 0x72, 0x65, 0x61, 0x73, +- 0x6f, 0x6e, 0x2e, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x6d, +- 0x61, 0x6d, 0x65, 0x2e, 0x64, 0x6b, 0x20, 0x68, +- 0x61, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x64, +- 0x75, 0x6d, 0x70, 0x65, 0x64, 0x20, 0x74, 0x68, +- 0x65, 0x20, 0x52, 0x4f, 0x4d, 0x53, 0x20, 0x6f, +- 0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x77, +- 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2c, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x61, 0x6e, 0x64, 0x20, 0x6f, 0x75, 0x72, 0x20, +- 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x20, +- 0x69, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x70, 0x72, +- 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x61, 0x20, +- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, +- 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, +- 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x20, +- 0x61, 0x6e, 0x64, 0x20, 0x67, 0x61, 0x6d, 0x69, +- 0x6e, 0x67, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x75, +- 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x20, 0x4e, 0x6f, +- 0x20, 0x68, 0x61, 0x72, 0x6d, 0x20, 0x69, 0x73, +- 0x20, 0x62, 0x65, 0x69, 0x6e, 0x67, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x64, 0x6f, 0x6e, 0x65, 0x20, 0x74, 0x6f, +- 0x20, 0x67, 0x61, 0x6d, 0x65, 0x20, 0x63, 0x6f, +- 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x2c, +- 0x20, 0x61, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, +- 0x52, 0x4f, 0x4d, 0x53, 0x20, 0x6f, 0x6e, 0x20, +- 0x74, 0x68, 0x69, 0x73, 0x20, 0x20, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x77, 0x65, +- 0x62, 0x73, 0x69, 0x74, 0x65, 0x20, 0x61, 0x72, +- 0x65, 0x20, 0x6f, 0x66, 0x20, 0x67, 0x61, 0x6d, +- 0x65, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, +- 0x61, 0x72, 0x65, 0x20, 0x6e, 0x6f, 0x20, 0x6c, +- 0x6f, 0x6e, 0x67, 0x65, 0x72, 0x20, 0x66, 0x6f, +- 0x72, 0x20, 0x73, 0x61, 0x6c, 0x65, 0x2c, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x7c, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x66, +- 0x72, 0x6f, 0x6d, 0x20, 0x77, 0x68, 0x69, 0x63, +- 0x68, 0x20, 0x67, 0x61, 0x6d, 0x65, 0x20, 0x63, +- 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, +- 0x20, 0x63, 0x61, 0x6e, 0x20, 0x6e, 0x6f, 0x20, +- 0x6c, 0x6f, 0x6e, 0x67, 0x65, 0x72, 0x20, 0x70, +- 0x72, 0x6f, 0x66, 0x69, 0x74, 0x2e, 0x20, 0x20, +- 0x20, 0x20, 0x20, 0x20, 0x20, 0x7c, 0x0d, 0x0a, +- 0x60, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, +- 0x2d, 0x2d, 0x2d, 0x2d, 0x2d, 0xb4, 0x0d, 0x0a +-}; +- +-#define MAMEDK_SIZE 3648 +- + analyze_entry::analyze_entry(const string& Aname, unsigned Asize, unsigned Acrc) + : name(Aname), size(Asize), crc(Acrc) { + } +@@ -576,49 +115,12 @@ + return true; + } + +-static void sset(char* dst, unsigned w, const char* s) +-{ +- unsigned l = strlen(s); +- if (l > w) +- l = w; +- unsigned b = (w - l) / 2; +- +- memset(dst, ' ', w); +- memcpy(dst + b, s, l); +-} +- + analyze::analyze(const gamearchive& gar) + { + // insert some standard crc + for(analyze_entry_static* i=GARBAGE;i->size;++i) { + garbage.insert(*i); + } +- +- // insert the MAMEDK crc for the current info +- for(game_by_name_set::const_iterator i=gar.begin();i!=gar.end();++i) { +- char t0[128]; +- char t1[128]; +- char t2[128]; +- char name[64]; +- +- snprintf(t0, sizeof(t0), "proudly presents %s.zip for your mame", i->name_get().c_str()); +- snprintf(t1, sizeof(t1), "\"%s\"", i->description_get().c_str()); +- snprintf(t2, sizeof(t2), "%s %s", i->manufacturer_get().c_str(), i->year_get().c_str()); +- +- sset(MAMEDK_DATA + 64*9 + 1, 60, t0); +- sset(MAMEDK_DATA + 64*11 + 1, 60, t1); +- sset(MAMEDK_DATA + 64*13 + 1, 60, t2); +- +- analyze_entry_static e; +- +- snprintf(name, sizeof(name), "%s.txt", i->name_get().c_str()); +- +- e.name = name; +- e.size = MAMEDK_SIZE; +- e.crc = crc_compute(MAMEDK_DATA, MAMEDK_SIZE); +- +- garbage.insert(e); +- } + } + + analyze_type analyze::operator()(const string& name, unsigned size, unsigned crc) const diff --git a/games-emulation/advancescan/files/advancescan-1.16-sys-expat.patch b/games-emulation/advancescan/files/advancescan-1.16-sys-expat.patch new file mode 100644 index 000000000000..0648a0cf068c --- /dev/null +++ b/games-emulation/advancescan/files/advancescan-1.16-sys-expat.patch @@ -0,0 +1,77 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -30,6 +30,7 @@ + + # Checks for libraries. + AC_CHECK_LIB([z], [adler32], [], [AC_MSG_ERROR([the libz library is missing])]) ++AC_CHECK_LIB([expat], [XML_Parse], [], [AC_MSG_ERROR([the expat library is missing])]) + + # Checks for header files. + AC_HEADER_STDC +--- a/gamexml.cc ++++ b/gamexml.cc +@@ -22,7 +22,7 @@ + + #include "game.h" + #include "strcov.h" +-#include "expat/expat.h" ++#include <expat.h> + + #include <string> + #include <iostream> +--- a/Makefile.am ++++ b/Makefile.am +@@ -18,10 +18,7 @@ + siglock.cc \ + getopt.c \ + snprintf.c \ +- lib/readinfo.c \ +- expat/xmlrole.c \ +- expat/xmlparse.c \ +- expat/xmltok.c ++ lib/readinfo.c + + advscan_SOURCES = \ + scan.cc \ +@@ -43,10 +40,7 @@ + siglock.cc \ + getopt.c \ + snprintf.c \ +- lib/readinfo.c \ +- expat/xmlrole.c \ +- expat/xmlparse.c \ +- expat/xmltok.c ++ lib/readinfo.c + + EXTRA_DIST = advscan.rc.linux advscan.rc.dos \ + README AUTHORS HISTORY INSTALL COPYING \ +@@ -82,28 +76,7 @@ + portable.h \ + lib/readinfo.h \ + lib/endianrw.h \ +- lib/extra.h \ +- expat/COPYING \ +- expat/README \ +- expat/ascii.h \ +- expat/asciitab.h \ +- expat/expat-1.95.8.diff \ +- expat/expat.h \ +- expat/iasciitab.h \ +- expat/expatcfg.h \ +- expat/expat_external.h \ +- expat/internal.h \ +- expat/latin1tab.h \ +- expat/nametab.h \ +- expat/utf8tab.h \ +- expat/xmlparse.c \ +- expat/xmlrole.c \ +- expat/xmlrole.h \ +- expat/xmltok.c \ +- expat/xmltok.h \ +- expat/xmltok_impl.c \ +- expat/xmltok_impl.h \ +- expat/xmltok_ns.c ++ lib/extra.h + + man_MANS = doc/advscan.1 doc/advdiff.1 + diff --git a/games-emulation/advancescan/metadata.xml b/games-emulation/advancescan/metadata.xml new file mode 100644 index 000000000000..879ee3497adc --- /dev/null +++ b/games-emulation/advancescan/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">advancemame</remote-id> + </upstream> +</pkgmetadata> |