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

(-)Makefile (-7 / +1 lines)
Lines 23-32 Link Here
23
BUILD_WRKSRC=	${WRKSRC}/mDNSPosix
23
BUILD_WRKSRC=	${WRKSRC}/mDNSPosix
24
INSTALL_WRKSRC=	${WRKSRC}/mDNSPosix
24
INSTALL_WRKSRC=	${WRKSRC}/mDNSPosix
25
25
26
.include <bsd.port.pre.mk>
26
.include <bsd.port.mk>
27
28
.if ${OSVERSION} < 500000 || ( ${ARCH} != "i386" && ${ARCH} != "ia64" )
29
BROKEN=		"Does not compile on 4.x or on !i386 and !ia64"
30
.endif
31
32
.include <bsd.port.post.mk>
(-)files/patch-mDNSCore::mDNSClientAPI.h (+11 lines)
Added Link Here
1
--- mDNSCore/mDNSClientAPI.h	Wed Mar  3 08:01:04 2004
2
+++ mDNSCore/mDNSClientAPI.h	Thu Mar 18 23:49:19 2004
3
@@ -618,7 +618,7 @@
4
 typedef unsigned char  mDNSu8;
5
 typedef   signed short mDNSs16;
6
 typedef unsigned short mDNSu16;
7
-#if _LP64
8
+#if defined(_LP64) || defined(__sparc64__) || defined(__alpha__) || defined(__amd64__) || defined(__ia64__)
9
 typedef   signed int   mDNSs32;
10
 typedef unsigned int   mDNSu32;
11
 #else
(-)files/patch-mDNSPosix::mDNSUNP.h (+12 lines)
Added Link Here
1
--- mDNSPosix/mDNSUNP.h	Thu Mar 18 23:30:48 2004
2
+++ mDNSPosix/mDNSUNP.h	Thu Mar 18 23:30:52 2004
3
@@ -67,7 +67,9 @@
4
 #ifndef __mDNSUNP_h
5
 #define __mDNSUNP_h
6
 
7
+#if !defined(__FreeBSD__) || __FreeBSD__ > 500000
8
 #include <stdint.h>
9
+#endif
10
 #include <sys/types.h>
11
 #include <sys/socket.h>
12
 #include <net/if.h>
(-)files/patch-mDNSShared::dns_sd.h (+12 lines)
Added Link Here
1
--- mDNSShared/dns_sd.h	Thu Mar 18 23:31:38 2004
2
+++ mDNSShared/dns_sd.h	Thu Mar 18 23:31:43 2004
3
@@ -46,7 +46,9 @@
4
 
5
 #include <sys/types.h>
6
 #include <sys/socket.h>
7
+#if !defined(__FreeBSD__) || __FreeBSD__ > 500000
8
 #include <stdint.h>
9
+#endif
10
 #include <netinet/in.h>
11
 
12

Return to bug 64423