tags 686402 - patch
thanks

On 24/12/12 00:54, Steven Chamberlain wrote:
> --- kfreebsd-9-9.0.orig/sys/sys/filedesc.h      2011-08-11 13:30:23.000000000 
> +0100
> +++ kfreebsd-9-9.0/sys/sys/filedesc.h   2012-12-24 00:48:21.750672610 +0000
> @@ -48,2 +48,2 @@
>   * This structure is used for the management of descriptors.  It may be
>   * shared by multiple processes.
>   */
> -#define NDSLOTTYPE     u_long
> +#define NDSLOTTYPE     __u_long

Actually no... this breaks kernel compilation:

> clang -c -O2 -frename-registers -pipe -fno-strict-aliasing -O1  -std=c99  
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
> -Wmissing-prototypes -Wpointer-arith -Win
> line -Wcast-qual  -Wundef -Wno-pointer-sign   -Wmissing-include-dirs 
> -fdiagnostics-show-option -nostdinc  -I. -I../../.. -I../../../contrib/altq 
> -D_KERNEL -DHAVE_KERNEL_OPTION_H
> EADERS -include opt_global.h  -fno-omit-frame-pointer -mno-aes -mno-avx 
> -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding   ../
> ../../dev/syscons/scvidctl.c
> In file included from ../../../dev/syscons/scvidctl.c:44:
> ../../../sys/filedesc.h:57:2: error: unknown type name '__u_long'; did you 
> mean 'u_long'?
>         NDSLOTTYPE *fd_map;             /* bitmap of free fds */
>         ^~~~~~~~~~
>         u_long
> ../../../sys/filedesc.h:48:20: note: expanded from macro 'NDSLOTTYPE'
> #define NDSLOTTYPE      __u_long
>                         ^
> ../../../sys/types.h:53:23: note: 'u_long' declared here
> typedef unsigned long   u_long;
>                         ^

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to