From trasz@pin.if.uz.zgora.pl  Thu Dec 14 12:20:53 2006
Return-Path: <trasz@pin.if.uz.zgora.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9DF0F16A50E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Dec 2006 12:20:52 +0000 (UTC)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BB96C43DD8
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Dec 2006 12:14:41 +0000 (GMT)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001)
	id EE25A39DBA; Thu, 14 Dec 2006 13:19:19 +0100 (CET)
Message-Id: <20061214121919.EE25A39DBA@pin.if.uz.zgora.pl>
Date: Thu, 14 Dec 2006 13:19:19 +0100 (CET)
From: trasz <trasz@pin.if.uz.zgora.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] net/gnu-finger: fix build with gcc41
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106716
>Category:       ports
>Synopsis:       [PATCH] net/gnu-finger: fix build with gcc41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 14 12:30:16 GMT 2006
>Closed-Date:    Thu Dec 14 22:18:53 GMT 2006
>Last-Modified:  Thu Dec 14 22:30:33 GMT 2006
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Fix build with gcc41.

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/gnu-finger-1.37_1.log

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gnu-finger-1.37_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/gnu-finger/files/patch-ab /home/trasz/gnu-finger/files/patch-ab
--- /usr/ports/net/gnu-finger/files/patch-ab	Mon Jan  6 15:09:34 1997
+++ /home/trasz/gnu-finger/files/patch-ab	Thu Dec 14 13:18:33 2006
@@ -1,5 +1,5 @@
---- lib/os.c.orig	Mon Jan  6 22:09:06 1997
-+++ lib/os.c	Mon Jan  6 22:08:34 1997
+--- lib/os.c.orig	Thu Oct 22 22:01:10 1992
++++ lib/os.c	Thu Dec 14 13:02:56 2006
 @@ -26,6 +26,8 @@
  #include <sys/acct.h>
  #include <time.h>
@@ -9,7 +9,7 @@
  
  #ifdef HAVE_UTMPX_H
  #include <utmpx.h>
-@@ -70,8 +72,12 @@
+@@ -70,13 +72,18 @@
  
  /* Where the utmp file is located. */
  #ifndef HAVE_GETUTENT
@@ -22,7 +22,13 @@
  
  /* A non-null value is the address of the utmp entry which contains the
     information for the user using the console. */
-@@ -288,6 +294,21 @@
+ UTMP *console_user;
+ 
++long get_last_access(char *);
+ 
+ /* **************************************************************** */
+ /*                                                                  */
+@@ -288,6 +295,21 @@
      {
        idle = current_time - get_last_access (utmplist[i]->ut_line);
  
@@ -44,7 +50,7 @@
        if (idle < 0)
  	idle = 0;
  
-@@ -485,6 +506,7 @@
+@@ -485,6 +507,7 @@
  
    UTMP **result;
    int result_size = 0;
@@ -52,7 +58,7 @@
  
  #ifndef HAVE_GETUTENT
    file = open (UTMP_FILE, O_RDONLY);
-@@ -528,6 +550,26 @@
+@@ -528,6 +551,26 @@
        if (!UT (entry, ut_name)[0])
  	continue;
  #endif /* sun */
--- gnu-finger-1.37_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 14 12:30:35 UTC 2006 
Responsible-Changed-Why:  
miwi@ wants this PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106716 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Dec 14 22:18:51 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106716: commit references a PR
Date: Thu, 14 Dec 2006 22:20:49 +0000 (UTC)

 miwi        2006-12-14 22:19:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/gnu-finger/files patch-ab 
   Log:
   - Fix gcc 4.1 build
   
   PR:             ports/106716
   Submitted by:   trasz
   
   Revision  Changes    Path
   1.4       +12 -6     ports/net/gnu-finger/files/patch-ab
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
