[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OSKit mach w/St Pats
From: |
Derek L Davies |
Subject: |
Re: OSKit mach w/St Pats |
Date: |
21 Aug 2002 09:46:01 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
Ognyan Kulev <ogi@fmi.uni-sofia.bg> writes:
> Derek L Davies wrote:
> > Jeff Bailey <jbailey@nisa.net> writes:
> >>There are two patches required to make it build. I recommend just
> >>apt-get source'ing oskit and working from there.
> >
> > Can I get these patches? Are they against OSKit, OSKit/Mach or both?
>
> The patches are only for OSKit. If you don't work with Debian you have
> to download
> ftp://ftp.debian.org/debian/pool/main/o/oskit/oskit_0.97.20020317-0.1.tar.gz
> (preferrably from some Debian mirror) and look in debian/patches. The
> bad news is that this file is around 10M.
>
> Regards
> --
> Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
>
Thanks Ognyan.
Here are the patches:
diff -urN oskit-20020317/diskpart/find_blkio.c
oskit-20020317.new/diskpart/find_blkio.c
--- oskit-20020317/diskpart/find_blkio.c Sat Feb 3 01:15:06 2001
+++ oskit-20020317.new/diskpart/find_blkio.c Mon Apr 15 22:08:09 2002
@@ -37,7 +37,7 @@
oskit_size_t nbytes;
blksize = oskit_blkio_getblocksize(b);
- err = oskit_blkio_read(b, buf, start * blksize, blksize, &nbytes);
+ err = oskit_blkio_read(b, buf, (oskit_off_t)start * blksize, blksize,
&nbytes);
if (err)
return err;
diff -urN oskit-20020317/unix/linux/sbrk-hack.c
oskit-20020317.new/unix/linux/sbrk-hack.c
--- oskit-20020317/unix/linux/sbrk-hack.c Sat Mar 4 19:38:55 2000
+++ oskit-20020317.new/unix/linux/sbrk-hack.c Mon Apr 15 22:13:46 2002
@@ -17,4 +17,4 @@
/* This is needed to prevent the horrifying `init-first.o'
being linked in from libc.a on Linux/glibc. */
-int __libc_multiple_libcs = 0;
+/* int __libc_multiple_libcs = 0; */
--