Patch for SVGALib 1.4.3

Jim Gifford lfs at jg555.com
Fri Apr 30 08:27:37 PDT 2004


I use svgalib under 2.6, I didn't need this patch at all.

----- Original Message ----- 
From: "Ryan Egesdahl" <deriamis at earthlink.net>
To: <patches at linuxfromscratch.org>
Sent: Friday, April 30, 2004 1:45 AM
Subject: Patch for SVGALib 1.4.3


> This patch corrects a problem I had compiling SVGALib under the 2.6
> kernel - I think, however, it may be more global. In any case, the fix
> is fairly generic, so it should work for anyone.
>


----------------------------------------------------------------------------
----


> Submitted By: Ryan Egesdahl (deriamis at earthlink dot net)
> Date: 2004-04-30
> Initial Package Version: 1.4.3
> Upstream Status: Unknown, but should probably be fixed permanently.
> Origin: Trial and error
> Description: Fixes an include file which mistakenly includes
>              <sys/types.h> instead of <linux/types.h> and also adds a
supporting
>              typedef to make it work.
>
> diff -Naur svgalib-1.4.3.orig/src/et6000.c svgalib-1.4.3/src/et6000.c
> --- svgalib-1.4.3.orig/src/et6000.c 2000-07-07 12:49:10.000000000 +0000
> +++ svgalib-1.4.3/src/et6000.c 2004-04-30 07:41:53.372287927 +0000
> @@ -6,7 +6,12 @@
>  #include <stdarg.h>
>  #include <errno.h>
>  #include <fcntl.h>
> -#include <sys/types.h>
> +
> +/* #include <sys/types.h> */
> +#include <linux/types.h>
> +
> +typedef unsigned long kernel_ulong_t;
> +
>  #include "vga.h"
>  #include "libvga.h"
>  #include "driver.h"
>


----------------------------------------------------------------------------
----


> -- 
> http://linuxfromscratch.org/mailman/listinfo/patches
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>




More information about the patches mailing list