From e3965dfe857d14283188694a708c7f31d6ce527e Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 20 Feb 2011 20:02:46 +0100 Subject: bin86, ajout patch --- base/bin86/.md5sum.i686 | 1 + base/bin86/.md5sum.x86_64 | 1 + base/bin86/Pkgfile | 10 ++++++---- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'base/bin86') diff --git a/base/bin86/.md5sum.i686 b/base/bin86/.md5sum.i686 index a1be0ff6f..9f2ba552d 100644 --- a/base/bin86/.md5sum.i686 +++ b/base/bin86/.md5sum.i686 @@ -1 +1,2 @@ +4c04c0af7c2ba637d61e67eac2a59840 bin86-0.16.17-x86_64-1.patch c9e8d72dd2e7457b52d0e3164fc199a1 bin86-0.16.17.tar.gz diff --git a/base/bin86/.md5sum.x86_64 b/base/bin86/.md5sum.x86_64 index a1be0ff6f..9f2ba552d 100644 --- a/base/bin86/.md5sum.x86_64 +++ b/base/bin86/.md5sum.x86_64 @@ -1 +1,2 @@ +4c04c0af7c2ba637d61e67eac2a59840 bin86-0.16.17-x86_64-1.patch c9e8d72dd2e7457b52d0e3164fc199a1 bin86-0.16.17.tar.gz diff --git a/base/bin86/Pkgfile b/base/bin86/Pkgfile index 7ae53fd7f..cc498679f 100644 --- a/base/bin86/Pkgfile +++ b/base/bin86/Pkgfile @@ -2,15 +2,17 @@ # URL: http://www.cix.co.uk/~mayday/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: name=bin86 version=0.16.17 -release=2 -source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz) - +release=3 +source=(http://homepage.ntlworld.com/robert.debath/dev86/$name-$version.tar.gz\ + http://nutyx.meticul.eu/files/patchs/$name/$name-$version-x86_64-1.patch) build() { cd $name-$version + if [ "`uname -m`" == "x86_64" ]; then + patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch + fi make CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/share/man/man1 -- cgit v1.2.3-70-g09d2