From 1bc814b505c6948927c8b12c26802e3891fd5a98 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 26 Oct 2004 18:51:06 +0000 Subject: [PATCH] Fix build on amd64 PR: ports/72957 Submitted by: maintainer --- audio/mt-daapd/files/patch-mDNSClientAPI.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/mt-daapd/files/patch-mDNSClientAPI.h diff --git a/audio/mt-daapd/files/patch-mDNSClientAPI.h b/audio/mt-daapd/files/patch-mDNSClientAPI.h new file mode 100644 index 000000000000..e0764a053be2 --- /dev/null +++ b/audio/mt-daapd/files/patch-mDNSClientAPI.h @@ -0,0 +1,14 @@ +diff -ur work/mt-daapd-0.2.0/src/mDNSClientAPI.h work.orig/mt-daapd-0.2.0/src/mDNSClientAPI.h +--- src/mDNSClientAPI.h Thu Oct 21 09:52:05 2004 ++++ src/mDNSClientAPI.h.orig Mon Mar 29 19:55:17 2004 +@@ -486,8 +486,8 @@ + typedef unsigned char mDNSu8; + typedef signed short mDNSs16; + typedef unsigned short mDNSu16; ++typedef signed int mDNSs32; ++typedef unsigned int mDNSu32; +-typedef signed long mDNSs32; +-typedef unsigned long mDNSu32; + + // To enforce useful type checking, we make mDNSInterfaceID be a pointer to a dummy struct + // This way, mDNSInterfaceIDs can be assigned, and compared with each other, but not with other types