1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Unbreak for amd64

This commit is contained in:
Dirk Meyer 2003-07-06 02:31:59 +00:00
parent 5bd32f9571
commit 18e0359d90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84251
4 changed files with 10 additions and 6 deletions

View File

@ -4,7 +4,7 @@
/* Needed by RSAREF */
-#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
typedef unsigned UINT4;
#else
typedef unsigned long UINT4;

View File

@ -5,12 +5,12 @@
@echo " 386bsd, 3b1, 3b1_asm, aix370, aix386, amix-68k-gcc, apollo,"
@echo " apollo-gcc, atari,aux(*), aux-gcc, bsd, bsdgcc, convexos,"
- @echo " dgux, djgpp, encore, freebsd, hpux-68k(*), hpux-68k-ansi,"
+ @echo " dgux, djgpp, encore, freebsd-{alpha,i386,sparc64,ia64},"
+ @echo " hpux-68k(*), hpux-68k-ansi,"
+ @echo " dgux, djgpp, encore, hpux-68k(*), hpux-68k-ansi,"
+ @echo " freebsd-{alpha,i386,sparc64,ia64,amd64},"
@echo " hpux-68k-gcc, hpux-pa(*), hpux-pa-ansi, hpux-pa-gcc, hpux9-pa-ansi,"
@echo " irix, irix_asm, isc, isc_asm, linux, linux-aout, linux-68k,"
@echo " machten, mach_386, mips-ultrix, netbsd, netbsd_68k, newsasm,"
@@ -175,10 +176,25 @@
@@ -175,10 +176,29 @@
$(MAKE) all CC=gcc LD=gcc \
CFLAGS="$(RSAINCDIR) -O2 -DHIGHFIRST -DUNIX -DPORTABLE -DIDEA32"
@ -34,6 +34,10 @@
+freebsd-ia64:
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DMAX_NAMELEN=255"
+freebsd-amd64:
+ $(MAKE) all LD="$(CC) -s" \
+ CFLAGS="$(RSAINCDIR) $(OS_CFLAGS) -DPORTABLE -DUNIX -DIDEA32 \
+ -DMAX_NAMELEN=255"
386bsd:

View File

@ -5,7 +5,7 @@
#define MD5_H
-#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
typedef unsigned int uint32;
#else
typedef unsigned long uint32;

View File

@ -5,7 +5,7 @@
typedef char *string; /* pointer to ASCII character string */
typedef unsigned short word16; /* values are 0-65535 */
-#ifdef __alpha
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__)
+#if defined(__alpha) || defined(__sparc64__) || defined(__ia64__) || defined(__amd64__)
typedef unsigned int word32; /* values are 0-4294967295 */
#else
typedef unsigned long word32; /* values are 0-4294967295 */