From 97b6c1108ef9805d18f7e139abbbe3e25b3d994b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 19 Dec 2015 12:42:53 -0500 Subject: [PATCH] sys-fs/atari-fdisk: drop most keywords While the codebase compiles and does some basic operations fine across other arches, it's really only been tested on m68k for serious work. Newer gcc points out that the code assumes sizeof(long) == 4 in many places. Rather than try to fix this tool, just drop most arches and leave behind m68k (where it matters) & x86 (for runtime testing). --- sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild index 9b6b30418111..2c5564e1f377 100644 --- a/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild +++ b/sys-fs/atari-fdisk/atari-fdisk-0.7.1.5.4.ebuild @@ -14,7 +14,10 @@ SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${MY_PV}-${DEB_PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc s390 sh sparc x86" +# Note: The code assumes sizeof(long) == 4 everywhere. If you try to +# use this on 64bit systems (where sizeof(long) == 8), then misbehavior +# and memory corruption will ensue. +KEYWORDS="-* m68k x86" IUSE="" S=${WORKDIR}/${PN}-${MY_PV} -- 2.26.2