mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Unbreak on i386.
Obtained from: NetBSD
This commit is contained in:
parent
da0cd3bf1e
commit
3d292c2447
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124981
@ -21,10 +21,6 @@ USE_ZIP= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 501103
|
||||
BROKEN+= "and does not build with latest gcc"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Does not compile on !i386"
|
||||
.endif
|
||||
|
@ -1,6 +1,30 @@
|
||||
--- include/ia64.h.orig Sun May 6 11:39:29 2001
|
||||
+++ include/ia64.h Sun May 6 11:35:10 2001
|
||||
@@ -31,2 +31,3 @@
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <elf.h>
|
||||
+#include <sys/elf64.h>
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
@@ -38,7 +39,7 @@
|
||||
0<=lo,hi<=63 and lo<=hi */
|
||||
|
||||
#define BITS(x,lo,hi) ( \
|
||||
- (uint32)(x##.q >> lo) & \
|
||||
+ (uint32)(x.q >> lo) & \
|
||||
( (1<<(hi-lo+1)) - 1 ) \
|
||||
)
|
||||
|
||||
@@ -72,8 +73,8 @@
|
||||
uint8 b[8];
|
||||
} qword;
|
||||
|
||||
-#define HI(x) (x##.d[1])
|
||||
-#define LO(x) (x##.d[0])
|
||||
+#define HI(x) (x.d[1])
|
||||
+#define LO(x) (x.d[0])
|
||||
|
||||
typedef struct {
|
||||
qword dat;
|
||||
|
Loading…
Reference in New Issue
Block a user