pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libopendaap Fix code that assumed that sizeof(lo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e6ebcb35ee1
branches: trunk
changeset: 485707:8e6ebcb35ee1
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Dec 19 03:34:17 2004 +0000
description:
Fix code that assumed that sizeof(long) == 32. This fixes the build on
amd64.
diffstat:
audio/libopendaap/distinfo | 3 ++-
audio/libopendaap/patches/patch-ae | 33 +++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 1 deletions(-)
diffs (51 lines):
diff -r 42cddf531c07 -r 8e6ebcb35ee1 audio/libopendaap/distinfo
--- a/audio/libopendaap/distinfo Sun Dec 19 02:57:20 2004 +0000
+++ b/audio/libopendaap/distinfo Sun Dec 19 03:34:17 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2004/08/01 16:13:32 kristerw Exp $
+$NetBSD: distinfo,v 1.3 2004/12/19 03:34:17 jlam Exp $
SHA1 (libopendaap-0.2.1.tar.bz2) = 9e5d143087f7f5366250b47ba3444fa3ed46794d
Size (libopendaap-0.2.1.tar.bz2) = 325586 bytes
@@ -6,3 +6,4 @@
SHA1 (patch-ab) = 44c6228eade8122da02972f6f73e34423457ded0
SHA1 (patch-ac) = 0dbca4ad085ffe81bf707b97bbc77408faa9c6ca
SHA1 (patch-ad) = 87735f1d47ddb9aa53a4220675060a31979cb771
+SHA1 (patch-ae) = 606756fe07c6af4fc0361f5ae5f3f62b4a40d59e
diff -r 42cddf531c07 -r 8e6ebcb35ee1 audio/libopendaap/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libopendaap/patches/patch-ae Sun Dec 19 03:34:17 2004 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-ae,v 1.1 2004/12/19 03:34:17 jlam Exp $
+
+--- mDNS/mDNSClientAPI.h.orig 2004-04-13 03:05:11.000000000 -0400
++++ mDNS/mDNSClientAPI.h
+@@ -408,6 +408,7 @@ Merge in license terms from Quinn's copy
+ #define __mDNSClientAPI_h
+
+ #include <stdarg.h> // stdarg.h is required for for va_list support for the mDNS_vsnprintf declaration
++#include <sys/types.h>
+ #include "mDNSDebug.h"
+
+ #ifdef __cplusplus
+@@ -478,13 +479,13 @@ typedef enum // From RFC 1035
+
+ // mDNS defines its own names for these common types to simplify portability across
+ // multiple platforms that may each have their own (different) names for these types.
+-typedef int mDNSBool;
+-typedef signed char mDNSs8;
+-typedef unsigned char mDNSu8;
+-typedef signed short mDNSs16;
+-typedef unsigned short mDNSu16;
+-typedef signed long mDNSs32;
+-typedef unsigned long mDNSu32;
++typedef int mDNSBool;
++typedef int8_t mDNSs8;
++typedef u_int8_t mDNSu8;
++typedef int16_t mDNSs16;
++typedef u_int16_t mDNSu16;
++typedef int32_t mDNSs32;
++typedef u_int32_t 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
Home |
Main Index |
Thread Index |
Old Index