libx86: fix illegal instruction in LRMI_init.

E.g. triggered by read-edid.
Change upstream to debian source.
Adopt.
This commit is contained in:
Leah Neukirchen 2021-08-17 19:15:01 +02:00
parent 61d01e9ddc
commit dba90b59ab

View file

@ -1,18 +1,18 @@
# Template file for 'libx86' # Template file for 'libx86'
pkgname=libx86 pkgname=libx86
version=1.1 version=1.1
revision=7 revision=8
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="BACKEND=x86emu" make_build_args="BACKEND=x86emu"
short_desc="Library for making real-mode x86 calls" short_desc="Library for making real-mode x86 calls"
homepage="http://www.codon.org.uk/~mjg59/libx86/" homepage="http://www.codon.org.uk/~mjg59/libx86/"
license="Custom" license="MIT"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
distfiles="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$version.tar.gz " distfiles="http://deb.debian.org/debian/pool/main/libx/libx86/libx86_1.1+ds1.orig.tar.bz2"
checksum=5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048 checksum=88036ba62465491b35cffa00dc6d9d07b6ee9610a41ae626779d264b418c8211
archs="i686* x86_64*" archs="i686* x86_64*"
CFLAGS="-fPIC" CFLAGS="-fPIC -fno-delete-null-pointer-checks"
libx86-devel_package() { libx86-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
@ -23,3 +23,7 @@ libx86-devel_package() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }
} }
post_install() {
vlicense COPYRIGHT
}