From chris@e-easy.com.au  Mon Aug 16 06:50:37 2004
Return-Path: <chris@e-easy.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id C392016A4CE; Mon, 16 Aug 2004 06:50:37 +0000 (GMT)
Received: from postoffice.e-easy.com.au (eth0.lnk.aims.net.au [203.31.73.253])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id E304F43D45; Mon, 16 Aug 2004 06:50:36 +0000 (GMT)
	(envelope-from chris@e-easy.com.au)
Received: from e-easy.com.au (eet03s01.corp.e-easy.com.au [192.168.10.3] (may be forged))
	by postoffice.e-easy.com.au  with ESMTP id i7G6oXhS098005;
	Mon, 16 Aug 2004 16:50:33 +1000 (EST)
	(envelope-from chris@e-easy.com.au)
Received: from pws500a.corp.e-easy.com.au by e-easy.com.au
	(MDaemon.PRO.v7.1.2.R)
	with ESMTP id md50000230203.msg;
	Mon, 16 Aug 2004 16:49:19 +1000
Received: from pws500a.corp.e-easy.com.au (localhost [127.0.0.1])
	by pws500a.corp.e-easy.com.au (8.13.1/8.13.1) with ESMTP id i7G6nFWS066198;
	Mon, 16 Aug 2004 16:49:15 +1000 (EST)
	(envelope-from chris@e-easy.com.au)
Received: (from root@localhost)
	by pws500a.corp.e-easy.com.au (8.13.1/8.13.1/Submit) id i7G6nEna066189;
	Mon, 16 Aug 2004 16:49:14 +1000 (EST)
	(envelope-from chris@e-easy.com.au)
Message-Id: <200408160649.i7G6nEna066189@pws500a.corp.e-easy.com.au>
Date: Mon, 16 Aug 2004 16:49:14 +1000 (EST)
From: Chris Knight <chris@e-easy.com.au>
Reply-To: Chris Knight <chris@e-easy.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc: chris@e-easy.com.au, dfr@freebsd.org
Subject: [PATCH] Fix Alpha Build
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ru

>Number:         70518
>Category:       alpha
>Synopsis:       [PATCH] Fix Alpha Build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dfr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 16 07:00:42 GMT 2004
>Closed-Date:    Mon Aug 16 08:13:12 GMT 2004
>Last-Modified:  Mon Aug 16 08:13:12 GMT 2004
>Originator:     Chris Knight
>Release:        FreeBSD 5.2-CURRENT alpha
>Organization:
E-Easy
>Environment:
System: FreeBSD pws500a.corp.e-easy.com.au 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Aug 13 18:19:19 EST 2004 chris@pws500a.corp.e-easy.com.au:/usr/obj/usr/src/sys/MIATA alpha

>Description:
stdint.h doesn't define u_int64_t, but sys/types.h does.

>How-To-Repeat:
>Fix:

Index: lib/libc/alpha/gen/_set_tp.c
===================================================================
RCS file: /home/ncvs/src/lib/libc/alpha/gen/_set_tp.c,v
retrieving revision 1.1
diff -u -r1.1 _set_tp.c
--- lib/libc/alpha/gen/_set_tp.c	15 Aug 2004 16:18:02 -0000	1.1
+++ lib/libc/alpha/gen/_set_tp.c	16 Aug 2004 06:45:05 -0000
@@ -26,7 +26,7 @@
  *	$FreeBSD: src/lib/libc/alpha/gen/_set_tp.c,v 1.1 2004/08/15 16:18:02 dfr Exp $
  */
 
-#include <stdint.h>
+#include <sys/types.h>
 #include <machine/alpha_cpu.h>
 
 void

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-alpha->dfr 
Responsible-Changed-By: ru 
Responsible-Changed-When: Mon Aug 16 07:09:46 GMT 2004 
Responsible-Changed-Why:  
Over to a responsible party. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70518 

From: "Chris Knight" <chris@e-easy.com.au>
To: <freebsd-gnats-submit@FreeBSD.org>, <chris@e-easy.com.au>
Cc:  
Subject: Re: alpha/70518: [PATCH] Fix Alpha Build
Date: Mon, 16 Aug 2004 17:29:07 +1000

 Howdy,
 
 Sorry, I was a bit terse in the PR.
 The compiler errors out in alpha_cpu.h due to u_int64_t not being
 declared. stdint.h only declares uint64_t. sys/types.h declares
 both.
 Also, the following patch brings _set_tp.c into line with the
 other .c files in this folder.
 
 --- _set_tp.c.orig	Mon Aug 16 17:23:41 2004
 +++ _set_tp.c	Mon Aug 16 17:23:08 2004
 @@ -26,7 +26,10 @@
   *	$FreeBSD: src/lib/libc/alpha/gen/_set_tp.c,v 1.1 2004/08/15 16:18:02
 dfr Exp $
   */
 
 -#include <stdint.h>
 +#include <sys/cdefs.h>
 +__FBSDID("$FreeBSD$");
 +
 +#include <sys/types.h>
  #include <machine/alpha_cpu.h>
 
  void
 
 Regards,
 Chris Knight
 Systems Administrator
 E-Easy
 Tel: +61 3 6334 9995  Fax: +61 3 6331 7032  Mob: +61 419 528 795
 Web: http://www.e-easy.com.au
 
 
State-Changed-From-To: open->closed 
State-Changed-By: dfr 
State-Changed-When: Mon Aug 16 08:12:44 GMT 2004 
State-Changed-Why:  
Patch committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70518 
>Unformatted:
