Hi, I would be willing to try this but in spite of not being a C programmer I think this is not the full patch... or is it? Can you provide me with a file newpatch.c? Or do you expect me to merge this with the old c patch? this is too much for a fortran programmer...
> > > > http://www.jail.se/p7010/1280patch-845g-855gm-865g.c > > --- 1280patch-845g-855gm-865g.c Thu Jul 20 19:07:45 2006 > +++ 1280patch-845g-855gm-865g.c Wed Dec 13 16:15:05 2006 > @@ -28,11 +28,11 @@ > > #include <stdio.h> > #include <stdlib.h> > -#if !defined(__FreeBSD__) && !defined(__NetBSD__) > +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) > #include <sys/io.h> > #endif > #include <unistd.h> > -#if !defined(__FreeBSD__) && !defined(__NetBSD__) > +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) > #define __USE_GNU > #endif > #include <string.h> > @@ -42,7 +42,7 @@ > #include <machine/cpufunc.h> > #define OUTB(a,b) outb(b,a) > #define OUTL(a,b) outl(b,a) > -#elif defined(__NetBSD__) > +#elif defined(__NetBSD__) || defined(__OpenBSD__) > #include <sys/types.h> > #include <machine/pio.h> > #include <machine/sysarch.h> > @@ -273,7 +273,7 @@ > #if defined(__FreeBSD__) > int deviofd; > #endif > -#if defined(__FreeBSD__) || defined(__NetBSD__) > +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) > const char *vbios_sign = CFG_SIGNATURE; > #endif > > @@ -295,7 +295,7 @@ > open_bios(); > > /* Find the configuration area of the BIOS */ > -#if defined(__FreeBSD__) || defined(__NetBSD__) > +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) > for (bioscfg = bios; > memcmp(bioscfg, vbios_sign, strlen(vbios_sign)) != 0;) > { > > Try this patch. I have NOT tested it because I don't have such a > laptop. However it compiles fine now. If it works, you can also send > it to the author of the small program. > > Disclaimer: I am NOT responsible if this busts your machine. I did > not put evil code in it, but I am also not familiar with what it does. > > I'm trying to launch the internet; so I open a terminal and go > "percent sign 'Internet'" at the prompt and it doesn't work. What > gives??!! -- random troll > _______________________________________________ Openbsd-newbies mailing list [email protected] http://mailman.theapt.org/listinfo/openbsd-newbies
