From trasz@pin.if.uz.zgora.pl  Thu Sep 28 16:33:10 2006
Return-Path: <trasz@pin.if.uz.zgora.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 95AFD16A40F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Sep 2006 16:33:10 +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 347BC43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Sep 2006 16:33:05 +0000 (GMT)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001)
	id D32B439DB8; Thu, 28 Sep 2006 18:34:23 +0200 (CEST)
Message-Id: <20060928163423.D32B439DB8@pin.if.uz.zgora.pl>
Date: Thu, 28 Sep 2006 18:34:23 +0200 (CEST)
From: trasz <trasz@pin.if.uz.zgora.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: kstailey@yahoo.com
Subject: [PATCH] emulators/klh10: fix build with gcc41
X-Send-Pr-Version: 3.113
X-GNATS-Notify: kstailey@yahoo.com

>Number:         103765
>Category:       ports
>Synopsis:       [PATCH] emulators/klh10: 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 Sep 28 16:40:27 GMT 2006
>Closed-Date:    Tue Oct 31 08:11:29 GMT 2006
>Last-Modified:  Tue Oct 31 08:20:15 GMT 2006
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun  3 01:12:10 CEST
>Description:

Fix build with gcc41, see
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006092721/klh10-2.0a.log.
Also fix makefile to respect $CC.

Added file(s):
- files/patch-src-Makefile.mk
- files/patch-src-kn10ops.c

Port maintainer (kstailey@yahoo.com) is cc'd.

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

--- klh10-2.0a.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/klh10/files/patch-src-Makefile.mk /home/trasz/klh10/files/patch-src-Makefile.mk
--- /usr/ports/emulators/klh10/files/patch-src-Makefile.mk	Thu Jan  1 01:00:00 1970
+++ /home/trasz/klh10/files/patch-src-Makefile.mk	Thu Sep 28 18:28:22 2006
@@ -0,0 +1,10 @@
+--- src/Makefile.mk.orig	Thu Sep 28 18:05:30 2006
++++ src/Makefile.mk	Thu Sep 28 18:05:41 2006
+@@ -44,7 +44,6 @@
+ 
+ # Generic compile/link flags
+ #	Suitable for plain vanilla Unix but normally overridden.
+-CC = cc
+ CFLAGS = -c -I. -I$(SRC)
+ CFLAGS_AUX =
+ CFLAGS_LINT =
diff -ruN --exclude=CVS /usr/ports/emulators/klh10/files/patch-src-kn10ops.c /home/trasz/klh10/files/patch-src-kn10ops.c
--- /usr/ports/emulators/klh10/files/patch-src-kn10ops.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/klh10/files/patch-src-kn10ops.c	Thu Sep 28 18:28:22 2006
@@ -0,0 +1,11 @@
+--- src/kn10ops.c.orig	Thu Sep 28 17:58:10 2006
++++ src/kn10ops.c	Thu Sep 28 17:59:21 2006
+@@ -3238,7 +3238,7 @@
+ 		    register dw10_t d,
+ 		    register int nmagbits)
+ {
+-    register qw10_t qw;
++    qw10_t qw;
+     dw10_t quot;
+     register int qbit;
+ 
--- klh10-2.0a.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Sep 28 16:40:34 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103765 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Oct 5 08:44:40 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103765 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Oct 31 08:11:27 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103765: commit references a PR
Date: Tue, 31 Oct 2006 08:11:23 +0000 (UTC)

 miwi        2006-10-31 08:11:17 UTC
 
   FreeBSD ports repository
 
   Added files:
     emulators/klh10/files patch-src-Makefile.mk 
                           patch-src-kn10ops.c 
   Log:
   - Fix build with gcc4.1
   
   PR:             ports/103765
   Submitted by:   trasz <trasz@pin.if.uz.zgora.pl>
   
   Revision  Changes    Path
   1.1       +10 -0     ports/emulators/klh10/files/patch-src-Makefile.mk (new)
   1.1       +11 -0     ports/emulators/klh10/files/patch-src-kn10ops.c (new)
 _______________________________________________
 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:
