Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5a1e5b25835fa034c3ee2428c5f735558a786ba7

commit 5a1e5b25835fa034c3ee2428c5f735558a786ba7
Author: James Buren <r...@frugalware.org>
Date:   Fri Jun 3 09:55:02 2011 -0500

bin86-0.16.18-1-x86_64
* version bump
* patch for x86_64

diff --git a/source/devel-extra/bin86/FrugalBuild 
b/source/devel-extra/bin86/FrugalBuild
index c8d0b12..0b830b5 100644
--- a/source/devel-extra/bin86/FrugalBuild
+++ b/source/devel-extra/bin86/FrugalBuild
@@ -2,20 +2,21 @@
# Maintainer: Priyank Gosalia <priyan...@gmail.com>

pkgname=bin86
-pkgver=0.16.17
+pkgver=0.16.18
pkgrel=1
pkgdesc="A complete 8086 assembler and loader"
-url="http://www.cix.co.uk/~mayday";
+url="http://www.debath.co.uk";
depends=('glibc')
groups=('devel-extra')
-archs=('i686' '!x86_64')
-up2date="lynx -dump http://homepage.ntlworld.com/robert.debath/ | grep -m1 
tar.gz$ | sed 's/.*-\(.*\).t.*/\1/'"
-source=(http://homepage.ntlworld.com/robert.debath/dev86/$pkgname-$pkgver.tar.gz)
-sha1sums=('656f06b4b26d08412132e338baa25e42d713eeec')
+archs=('i686' 'x86_64')
+up2date="Flasttar $url"
+source=($url/dev86/$pkgname-$pkgver.tar.gz $pkgname-0.16.17-x86_64-1.patch)
+sha1sums=('68f408573d4e350e65cbd505896eb8786e5f8383' \
+          '2c967c062fbee4e40ca1bf55feec2033e132e0a9')

build()
{
-       Fcd
+       Fpatchall
Fmake PREFIX=/usr || return 1
Fmkdir usr/bin usr/man/man1
Fmakeinstall PREFIX=$Fdestdir/usr install
diff --git a/source/devel-extra/bin86/bin86-0.16.17-x86_64-1.patch 
b/source/devel-extra/bin86/bin86-0.16.17-x86_64-1.patch
new file mode 100644
index 0000000..152413e
--- /dev/null
+++ b/source/devel-extra/bin86/bin86-0.16.17-x86_64-1.patch
@@ -0,0 +1,44 @@
+Submitted By: Ken Moffat <k...@kenmoffat.uklinux.net>
+Date: 2005-06-28
+Initial Package Version: 0.16.14
+Upstream Status: Submitted Upstream
+Origin: from ROCK Linux
+Description: Allows bin86 to compile on x86_64, which permits lilo to
+ be used in a 64-bit system.  I'm dubious about ROCK's attempts to
+ automatically add dual-licensing to all their patches, but bin86 is
+ already GPL'd.  I've heard from the maintainer that this will be
+ included in the next upload.
+
+
+# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
+#
+# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
+# Please add additional copyright information _after_ the line containing
+# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
+# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
+#
+# ROCK Linux: rock-src/package/x86/bin86/x86_64.patch
+# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
+#
+# This patch file is dual-licensed. It is available under the license the
+# patched project is licensed under, as long as it is an OpenSource license
+# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
+# of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# --- ROCK-COPYRIGHT-NOTE-END ---
+
+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
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to