[Clc-crux64] Re: Crux64

Jochem Kossen jkossen at xs4all.nl
Sun Jun 6 12:28:00 UTC 2004


On Sun, Jun 06, 2004 at 01:03:57PM +0200, Markus Ackermann wrote:
> See this mail for bin86 and lilo patches: 
> http://www.x86-64.org/lists/patches/msg03202.html
> 
> I can imagine that http://www.x86-64.org/ has more interesting stuff... 
> (haven't had time to look yet)

Ah that's great, attached is the patch for the bin86 0.16.0 port for
everyone who's interested (still a bit quiet on the list :-P ).
-------------- next part --------------
diff -uN /mnt/crux/usr/ports/base/bin86/bin86-0.16.0.patch ports/base/bin86/bin86-0.16.0.patch
--- /mnt/crux/usr/ports/base/bin86/bin86-0.16.0.patch	1970-01-01 01:00:00.000000000 +0100
+++ ports/base/bin86/bin86-0.16.0.patch	2004-06-06 14:09:57.914999360 +0200
@@ -0,0 +1,12 @@
+--- ld/x86_aout.h.orig	2004-06-06 14:08:05.559080056 +0200
++++ ld/x86_aout.h	2004-06-06 14:09:27.233663632 +0200
+@@ -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
diff -uN /mnt/crux/usr/ports/base/bin86/.md5sum ports/base/bin86/.md5sum
--- /mnt/crux/usr/ports/base/bin86/.md5sum	2002-09-01 21:29:55.000000000 +0200
+++ ports/base/bin86/.md5sum	2004-06-06 14:10:47.976388872 +0200
@@ -1 +1,2 @@
+5d30edf585428a8d809b60be0a855164  bin86-0.16.0.patch
 9f999e38dbd6bbdd79701853c44737cb  bin86-0.16.0.tar.gz
diff -uN /mnt/crux/usr/ports/base/bin86/Pkgfile ports/base/bin86/Pkgfile
--- /mnt/crux/usr/ports/base/bin86/Pkgfile	2003-07-02 01:47:05.000000000 +0200
+++ ports/base/bin86/Pkgfile	2004-06-06 14:10:58.796743928 +0200
@@ -4,10 +4,11 @@
 name=bin86
 version=0.16.0
 release=1
-source=(http://www.cix.co.uk/~mayday/dev86/$name-$version.tar.gz)
+source=(http://www.cix.co.uk/~mayday/dev86/$name-$version.tar.gz $name-$version.patch)
 
 build() {
     cd $name-$version
+    patch -p0 < ../$name-$version.patch
     make CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
     mkdir -p $PKG/usr/bin
     mkdir -p $PKG/usr/man/man1


More information about the crux64 mailing list