Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2005 18:19:20 +0100
From:      Andrea Campi <andrea+freebsd_cvs_all@webcom.it>
To:        Kris Kennaway <kris@FreeBSD.org>, paul@aps.org
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/net/howl Makefile
Message-ID:  <20050107171920.GF16579@webcom.it>
In-Reply-To: <200501020107.j0217li9069643@repoman.freebsd.org>
References:  <200501020107.j0217li9069643@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 02, 2005 at 01:07:47AM +0000, Kris Kennaway wrote:
> kris        2005-01-02 01:07:47 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     net/howl             Makefile 
>   Log:
>   BROKEN on alpha: Does not compile
>   

I don't have an alpha to test, but this diff should work until
a proper fix is found upstream:


Index: howl-0.9.7/src/lib/mDNSResponder/mDNSClientAPI.h
===================================================================
RCS file: /home/CVS/howl/work/howl-0.9.7/src/lib/mDNSResponder/mDNSClientAPI.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mDNSClientAPI.h
--- howl-0.9.7/src/lib/mDNSResponder/mDNSClientAPI.h	12 Dec 2004 08:24:34 -0000	1.1.1.1
+++ howl-0.9.7/src/lib/mDNSResponder/mDNSClientAPI.h	7 Jan 2005 17:16:49 -0000
@@ -516,6 +516,8 @@
 #pragma mark - Simple types
 #endif
 
+#include <sys/stdint.h>
+
 // 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;
@@ -523,13 +525,8 @@
 typedef unsigned char  mDNSu8;
 typedef   signed short mDNSs16;
 typedef unsigned short mDNSu16;
-#if _LP64
-typedef   signed int   mDNSs32;
-typedef unsigned int   mDNSu32;
-#else
-typedef   signed long  mDNSs32;
-typedef unsigned long  mDNSu32;
-#endif
+typedef        int32_t mDNSs32;
+typedef       uint32_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

-- 
           Intel: where Quality is job number 0.9998782345!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050107171920.GF16579>