aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-03-20 01:03:25 +0800
committerpav <pav@FreeBSD.org>2009-03-20 01:03:25 +0800
commit851f10d4579f0997829eca680023229f6a73a34e (patch)
tree883ea5817eea8f4a1a3bd68d4231fb3270a46a5f /devel
parent717fb1ca76c752b3c84a01194871b87116bc345a (diff)
downloadfreebsd-ports-gnome-851f10d4579f0997829eca680023229f6a73a34e.tar.gz
freebsd-ports-gnome-851f10d4579f0997829eca680023229f6a73a34e.tar.zst
freebsd-ports-gnome-851f10d4579f0997829eca680023229f6a73a34e.zip
- Allow build on amd64
PR: ports/132728 Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
Diffstat (limited to 'devel')
-rw-r--r--devel/asl/Makefile2
-rw-r--r--devel/asl/files/patch-ad45
2 files changed, 43 insertions, 4 deletions
diff --git a/devel/asl/Makefile b/devel/asl/Makefile
index 9f0c192bb2a8..4424432faa09 100644
--- a/devel/asl/Makefile
+++ b/devel/asl/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= devel/lang/assemblers
MAINTAINER= ports@FreeBSD.org
COMMENT= Assembler for a variety of microcontrollers/-processors
-ONLY_FOR_ARCHS= i386 alpha
+ONLY_FOR_ARCHS= i386 alpha amd64
MAN1= asl.1 p2bin.1 p2hex.1 pbind.1 plist.1
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... */
+
+ /*---------------------------------------------------------------------------*/