nork,
I am trying to install this port on FreeBSD 6.0. I am getting this error when I run "make all". Any ideas? I tried to execute the rest of the patch by hand, but don't really know enough to do that ;-)
   The reject file is pasted below the actual error from the make file.

Jason

# Error on make all

===>  Applying distribution patches for DarwinStreamingServer-6.0.3
===>  Applying FreeBSD patches for DarwinStreamingServer-6.0.3
1 out of 3 hunks failed--saving rejects to CommonUtilitiesLib/OSHeaders.h.rej
=> Patch patch-CommonUtilitiesLib::OSHeaders.h failed to apply cleanly.
=> Patch(es) patch-Buildit applied cleanly.
*** Error code 1

Stop in /usr/ports/net/DarwinStreamingServer.


# CommonUtilitiesLib/OSHeaders.h.rej

***************
*** 27,37 ****
 #define OSHeaders_H
 #include <limits.h>

 #define kSInt16_Max USHRT_MAX
 #define kUInt16_Max USHRT_MAX

 #define kSInt32_Max LONG_MAX
 #define kUInt32_Max ULONG_MAX

 #define kSInt64_Max LONG_LONG_MAX
 #define kUInt64_Max ULONG_LONG_MAX
--- 27,46 ----
 #define OSHeaders_H
 #include <limits.h>

+ #ifdef __amd64__
+ #define CPU_64BIT
+ #endif
+
 #define kSInt16_Max USHRT_MAX
 #define kUInt16_Max USHRT_MAX

+ #ifdef CPU_64BIT
+ #define kSInt32_Max INT_MAX
+ #define kUInt32_Max UINT_MAX
+ #else
 #define kSInt32_Max LONG_MAX
 #define kUInt32_Max ULONG_MAX
+ #endif

 #define kSInt64_Max LONG_LONG_MAX
 #define kUInt64_Max ULONG_LONG_MAX


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to