ports/opt (3.5): bin86: moved from core
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit e9c68d8161022fb6dc43b5c91d530a6e6d9e8eb7 Author: Matt Housh <jaeger@crux.ninja> Date: Thu Jun 25 11:18:48 2020 -0500 bin86: moved from core diff --git a/bin86/.footprint b/bin86/.footprint new file mode 100644 index 000000000..4da5fc07c --- /dev/null +++ b/bin86/.footprint @@ -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 diff --git a/bin86/.signature b/bin86/.signature new file mode 100644 index 000000000..fc92381b0 --- /dev/null +++ b/bin86/.signature @@ -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 diff --git a/bin86/Pkgfile b/bin86/Pkgfile new file mode 100644 index 000000000..1456a630f --- /dev/null +++ b/bin86/Pkgfile @@ -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 +} diff --git a/bin86/bin86-x86_64.patch b/bin86/bin86-x86_64.patch new file mode 100644 index 000000000..aec13e22f --- /dev/null +++ b/bin86/bin86-x86_64.patch @@ -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 +
participants (1)
-
crux@crux.nu