View | Details | Raw Unified | Return to bug 62073
Collapse All | Expand All

(-)cad/iverilog/Makefile (-7 / +1 lines)
Lines 21-30 Link Here
21
21
22
MAN1=		iverilog-vpi.1 iverilog.1 vvp.1 iverilog-fpga.1
22
MAN1=		iverilog-vpi.1 iverilog.1 vvp.1 iverilog-fpga.1
23
23
24
.include <bsd.port.pre.mk>
24
.include <bsd.port.mk>
25
26
.if ${OSVERSION} <= 500000
27
BROKEN=		"Does not install on FreeBSD ${OSVERSION}"
28
.endif
29
30
.include <bsd.port.post.mk>
(-)cad/iverilog/files/patch-_pli_types.h.in (+25 lines)
Added Link Here
1
--- _pli_types.h.in	Wed Nov 12 11:38:44 2003
2
+++ _pli_types.h.in.new	Fri Jan 30 01:44:38 2004
3
@@ -45,7 +45,21 @@
4
 typedef signed char    PLI_BYTE8;
5
 typedef unsigned char  PLI_UBYTE8;
6
 
7
-# define PLI_UINT64_FMT PRIu64
8
+#ifndef PRIu64
9
+
10
+#if defined(__i386__) || defined(__powerpc__)
11
+#define PLI_UINT64_FMT "llu"
12
+#endif /* defined(__i386__) || defined(__powerpc__) */
13
+
14
+#if defined(__sparc64__) || defined(__alpha__) || defined(__amd64__) || defined(__ia64__)
15
+#define PLI_UINT64_FMT "lu"
16
+#endif /* defined(__sparc64__) || defined(__alpha__) || defined(__amd64__) || defined(__ia64__) */
17
+
18
+#else /* PRIu64 defined */
19
+
20
+#define PLI_UINT64_FMT PRIu64
21
+
22
+#endif /* PRIu64 */
23
 
24
 #else
25

Return to bug 62073