app-emulation/dosemu: unbreak misaligned .sys files, bug #631190
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 4 Nov 2017 10:16:08 +0000 (10:16 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 4 Nov 2017 10:19:20 +0000 (10:19 +0000)
commit26a7caea7e40a8bcda903705376cc9209dced9fa
treeae0f49d5c6750a8841ab75a30cf4ad67e3b01aa2
parent96f70b0885e03f52ebe64589b7b83d40c8746132
app-emulation/dosemu: unbreak misaligned .sys files,  bug #631190

In bug #618366 I've added -no-pie LDFLAGS propagation to 16-bit targets
but did not notice dosemu has different varying base addresses for
different .com files (and I've overlooked 0-based .sys rules).

Specifying wrong base address caused incorrect jump offsets
into the final binary. That caused crash and hangup of cdrom.sys
driver.

This change restores original base addresses.

Reported-by: Tom
Reported-by: Robert Gill
Bug: https://bugs.gentoo.org/631190
Package-Manager: Portage-2.3.13, Repoman-2.3.4
RepoMan-Options: --force
app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild [moved from app-emulation/dosemu/dosemu-1.4.1_pre20130107-r4.ebuild with 100% similarity]
app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch