FreeBSD Port: DarwinStreamingServer-6.0.3
Carlos A. M. dos Santos
unixmania at gmail.com
Mon Oct 13 05:28:09 UTC 2008
On Mon, Oct 13, 2008 at 12:35 AM, Jason <jason at tinisi.com> wrote:
> 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
I could not reproduce it here (FreeBSD 8.0-CURRENT + ports tree
updated yesterday):
# cd /usr/ports/net/DarwinStreamingServer/
# make patch
===> Vulnerability check disabled, database not found
=> DarwinStreamingSrvr6.0.3-Source.tar doesn't seem to exist in
/local/FreeBSD/ports-distfiles/.
=> Attempting to fetch from http://dss.macosforge.org/downloads/.
fetch: http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar:
Moved Temporarily
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/nork/.
DarwinStreamingSrvr6.0.3-Source.tar 100% of 31 MB 98 kBps 00m00s
=> dss-6.0.3.patch doesn't seem to exist in /local/FreeBSD/ports-distfiles/.
=> Attempting to fetch from http://www.abrahamsson.com/.
dss-6.0.3.patch 100% of 14 kB 17 kBps
===> Extracting for DarwinStreamingServer-6.0.3
=> MD5 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar.
=> SHA256 Checksum OK for DarwinStreamingSrvr6.0.3-Source.tar.
=> MD5 Checksum OK for dss-6.0.3.patch.
=> SHA256 Checksum OK for dss-6.0.3.patch.
===> DarwinStreamingServer-6.0.3 depends on file:
/usr/local/bin/perl5.8.8 - found
===> Patching for DarwinStreamingServer-6.0.3
===> DarwinStreamingServer-6.0.3 depends on file:
/usr/local/bin/perl5.8.8 - found
===> Applying distribution patches for DarwinStreamingServer-6.0.3
===> Applying FreeBSD patches for DarwinStreamingServer-6.0.3
#
Are you sure that your ports tree is up-to-date?
BTW, FreeBSD 6.0 was declared "end of life" a long time ago. Do you
have any particular reason to keep using it?
--
cd /usr/ports/sysutils/life
make clean
More information about the freebsd-ports
mailing list