cvs commit: ports/net/howl Makefile

Andrea Campi andrea+freebsd_cvs_all at webcom.it
Fri Jan 7 09:19:21 PST 2005


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!


More information about the cvs-all mailing list