Subject: Re: Compiling current kernel on sparc
To: Tamer Ziady <nero@in-design.com>
From: Andy Doran <ad@netbsd.org>
List: current-users
Date: 08/19/1999 20:18:52
On Thu, 19 Aug 1999, Tamer Ziady wrote:
> I am new to this list and this OS. Please bare with me.
Hi Tamer.
> At any rate, I installed 19990810-snapshot of netbsd on a sun4m. I am
> trying to compile a new kernel and it breaks with the following:
[..]
> ../../../../dev/rasops/rasops8.c: In function `rasops8_makestamp':
This was fixed earlier today. Applying the patch below will make it
compile.
- ad
--- rasops8.c 1999/08/13 09:45:46 1.5
+++ rasops8.c 1999/08/19 11:20:34 1.6
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops8.c,v 1.5 1999/08/13 09:45:46 ad Exp $ */
+/* $NetBSD: rasops8.c,v 1.6 1999/08/19 11:20:34 ad Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include "opt_rasops.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.5 1999/08/13 09:45:46 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops8.c,v 1.6 1999/08/19 11:20:34 ad Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -53,7 +53,7 @@
static void rasops8_putchar8 __P((void *, int, int, u_int, long attr));
static void rasops8_putchar12 __P((void *, int, int, u_int, long attr));
static void rasops8_putchar16 __P((void *, int, int, u_int, long attr));
-static void rasops8_makestamp __P((long));
+static void rasops8_makestamp __P((struct rasops_info *ri, long));
void rasops8_init __P((struct rasops_info *ri));
/*
@@ -174,7 +174,8 @@
* Recompute the 4x1 blitting stamp.
*/
static void
-rasops8_makestamp(attr)
+rasops8_makestamp(ri, attr)
+ struct rasops_info *ri;
long attr;
{
int i;
@@ -238,7 +239,7 @@
/* Recompute stamp? */
if (attr != stamp_attr)
- rasops8_makestamp(attr);
+ rasops8_makestamp(ri, attr);
rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + col*ri->ri_xscale);
height = ri->ri_font->fontheight;
@@ -312,7 +313,7 @@
/* Recompute stamp? */
if (attr != stamp_attr)
- rasops8_makestamp(attr);
+ rasops8_makestamp(ri, attr);
rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + col*ri->ri_xscale);
height = ri->ri_font->fontheight;
@@ -389,7 +390,7 @@
/* Recompute stamp? */
if (attr != stamp_attr)
- rasops8_makestamp(attr);
+ rasops8_makestamp(ri, attr);
rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + col*ri->ri_xscale);
height = ri->ri_font->fontheight;