Package: xbox-raincoat Severity: important Version: 0.10-3 Tags: patch
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweaks, see bellow. Thanks in advance Petr --- xbox-raincoat-0.10.orig/src/raincoat.c +++ xbox-raincoat-0.10/src/raincoat.c @@ -152,7 +152,7 @@ char szFilepathProgram[256]=""; char szFilepathReadback[256]=""; int fileMem; -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) int fileIO; #endif char szConfigFile[1024]; @@ -200,7 +200,7 @@ if (iopl (3)) #elif defined(NetBSD) if (i386_iopl (3)) -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) fileIO = open ("/dev/io", O_RDWR); if (fileIO < 0) #else @@ -570,7 +570,7 @@ munmap((void *)objectflash.m_pbMemoryMappedStartAddress, 0x1000000); close(fileMem); -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) close(fileIO); #endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]