From 8070eecf1288315bce01de6af9754a24ae3ed652 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 19 Mar 2009 17:03:25 +0000 Subject: - Allow build on amd64 PR: ports/132728 Submitted by: Jose M. Alcaide --- devel/asl/files/patch-ad | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'devel/asl/files/patch-ad') diff --git a/devel/asl/files/patch-ad b/devel/asl/files/patch-ad index add4b9431fef..ebc688f7fbc4 100644 --- a/devel/asl/files/patch-ad +++ b/devel/asl/files/patch-ad @@ -1,6 +1,6 @@ ---- sysdefs.h.orig Mon May 31 11:30:28 1999 -+++ sysdefs.h Mon May 31 11:34:47 1999 -@@ -514,6 +514,26 @@ +--- sysdefs.h.orig 1998-11-03 23:12:15.000000000 +0100 ++++ sysdefs.h 2009-03-17 14:25:05.000000000 +0100 +@@ -524,6 +524,26 @@ #define LOCALE_NLS #endif @@ -27,3 +27,42 @@ #endif /* __alpha */ /*===========================================================================*/ +@@ -725,6 +745,38 @@ + #endif /* __i386 */ + + /*===========================================================================*/ ++/* AMD opteron/athlon64/k8 platforms */ ++ ++#ifdef __amd64__ ++ ++#define ARCHPRNAME "amd64" ++ ++/*---------------------------------------------------------------------------*/ ++/* amd64 with FreeBSD and GCC: */ ++ ++#ifdef __FreeBSD__ ++#define ARCHSYSNAME "unknown-freebsd" ++#define DEFSMADE ++#define OPENRDMODE "r" ++#define OPENWRMODE "w" ++#define OPENUPMODE "r+" ++#define IEEEFLOAT ++typedef signed char Integ8; ++typedef unsigned char Card8; ++typedef signed short Integ16; ++typedef unsigned short Card16; ++#define HAS16 ++typedef signed int Integ32; ++typedef unsigned int Card32; ++typedef signed long Integ64; ++typedef unsigned long Card64; ++#define HAS64 ++#define LOCALE_NLS ++#endif ++ ++#endif /* __amd64__ */ ++ ++/*===========================================================================*/ + /* Misc... */ + + /*---------------------------------------------------------------------------*/ -- cgit v1.2.3