From owner-freebsd-ports@FreeBSD.ORG Mon Oct 13 02:52:20 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460C0106564A; Mon, 13 Oct 2008 02:52:20 +0000 (UTC) (envelope-from jason@tinisi.com) Received: from mail.onholyground.com (altar.onholyground.com [216.165.189.195]) by mx1.freebsd.org (Postfix) with ESMTP id E4BA68FC0C; Mon, 13 Oct 2008 02:52:19 +0000 (UTC) (envelope-from jason@tinisi.com) Received: from [192.168.0.25] (h69-129-203-80.mdsnwi.broadband.dynamic.tds.net [69.129.203.80]) (authenticated bits=0) by mail.onholyground.com (8.13.6/8.13.1) with ESMTP id m9D2ZRZx015742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Oct 2008 21:35:27 -0500 Message-ID: <48F2B3ED.5060103@tinisi.com> Date: Sun, 12 Oct 2008 21:35:25 -0500 From: Jason User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: nork@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 216.165.189.196 Cc: ports@FreeBSD.org Subject: FreeBSD Port: DarwinStreamingServer-6.0.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jason@tinisi.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 02:52:20 -0000 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 #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 + #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