On Mon, 29 Apr 2002, Tony Finch wrote:

> The current version of XFree86 from the CVS repo doesn't compile on
> FreeBSD-STABLE because of a couple of errors in imake -- imake doesn't
> even compile and it doesn't deal with gcc properly.

> --- imake.c   2002/04/14 22:01:27     3.52
> +++ imake.c   2002/04/29 15:39:01
> @@ -1131,7 +1131,7 @@
>    FILE *objprog = NULL;
>    int iself = 0;
>    char buf[10];
> -  char cmd[MAX_PATH];
> +  char cmd[PATH_MAX];
>
>    mib[0] = CTL_KERN;
>    mib[1] = KERN_OSRELDATE;
> @@ -1254,7 +1254,7 @@
>  {
>    struct stat sb;
>      static char* gcc_path[] = {
> -# if defined(linux) || defined(__NetBSD__) || defined(__OpenBSD__) || defined 
>(__GNU__)
> +# if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || 
>defined(__OpenBSD__) || defined (__GNU__)
>       "/usr/bin/cc",  /* for Linux PostIncDir */
>  # endif
>       "/usr/local/bin/gcc",

I've just committed this.  Thanks.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to