Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2008 21:35:25 -0500
From:      Jason <jason@tinisi.com>
To:        nork@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: DarwinStreamingServer-6.0.3
Message-ID:  <48F2B3ED.5060103@tinisi.com>

next in thread | raw e-mail | index | archive | help
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





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