bin86: moved from core

This commit is contained in:
Matt Housh 2020-06-25 11:18:48 -05:00
parent e32e7411c8
commit e9c68d8161
4 changed files with 49 additions and 0 deletions

12
bin86/.footprint Normal file
View File

@ -0,0 +1,12 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/as86
-rwxr-xr-x root/root usr/bin/ld86
lrwxrwxrwx root/root usr/bin/nm86 -> objdump86
-rwxr-xr-x root/root usr/bin/objdump86
lrwxrwxrwx root/root usr/bin/size86 -> objdump86
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/as86.1.gz
-rw-r--r-- root/root usr/share/man/man1/ld86.1.gz

6
bin86/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/R+AnnOoDKtqkNn0DsONjj/DUdFFJ46bx9A5GF2wnuHYYXqVNiCqUnXKUvkgkY43RyjwuSzK21PupUZ+rC5slwU=
SHA256 (Pkgfile) = 3560887dfc179de986c659d2d2da88ba9a45f05bc8f427fff92d36f3b31d3528
SHA256 (.footprint) = 2991bc460e6ed6ee8256816fde768cb9f463b0dbe8d10e016501c10820f3035f
SHA256 (bin86-0.16.21.tar.gz) = 021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738
SHA256 (bin86-x86_64.patch) = 3b41a07f6b31de8124d015f4526b9c1427771c3d7c9bd3bcbf888992f966bb47

17
bin86/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: 8086 assembler and loader which can generate 32-bit code for the 386+ processors
# URL: https://github.com/lkundrak/dev86/tree/master/bin86
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=bin86
version=0.16.21
release=1
source=(https://mirror.netcologne.de/gentoo/distfiles/$name-$version.tar.gz \
$name-x86_64.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-x86_64.patch
make -j1 CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
install -d $PKG/usr/{bin,share/man/man1}
make PREFIX=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
}

14
bin86/bin86-x86_64.patch Normal file
View File

@ -0,0 +1,14 @@
diff -urN bin86-0.16.14-orig/ld/x86_aout.h bin86-0.16.14/ld/x86_aout.h
--- bin86-0.16.14-orig/ld/x86_aout.h 2004-11-07 20:07:31.506442000 +0100
+++ bin86-0.16.14/ld/x86_aout.h 2004-11-07 20:07:41.106982496 +0100
@@ -12,6 +12,9 @@
#if defined(i386) || defined(__BCC__) || defined(MSDOS)
typedef long Long;
#define __OUT_OK 1
+#elif defined(__x86_64__)
+typedef int Long;
+#define __OUT_OK 1
#else
typedef char Long[4];
#endif