From miwi@miwi.homeunix.com  Tue Oct  2 17:05:47 2007
Return-Path: <miwi@miwi.homeunix.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0017516A468
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Oct 2007 17:05:46 +0000 (UTC)
	(envelope-from miwi@miwi.homeunix.com)
Received: from miwi.homeunix.com (dslb-082-083-155-037.pools.arcor-ip.net [82.83.155.37])
	by mx1.freebsd.org (Postfix) with ESMTP id A3AE713C468
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 Oct 2007 17:05:46 +0000 (UTC)
	(envelope-from miwi@miwi.homeunix.com)
Received: by miwi.homeunix.com (Postfix, from userid 1010)
	id 1B4992E114; Tue,  2 Oct 2007 19:05:46 +0200 (CEST)
Message-Id: <20071002170546.1B4992E114@miwi.homeunix.com>
Date: Tue,  2 Oct 2007 19:05:46 +0200 (CEST)
From: Martin Wilke <miwi@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: sbahra@gwu.edu
Subject: [PATCH] devel/z80-asm: Fix build with gcc 4.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify: sbahra@gwu.edu

>Number:         116836
>Category:       ports
>Synopsis:       [PATCH] devel/z80-asm: Fix build with gcc 4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 02 17:10:06 GMT 2007
>Closed-Date:    Tue Oct 02 22:49:49 GMT 2007
>Last-Modified:  Tue Oct  2 22:50:01 GMT 2007
>Originator:     Martin Wilke
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007
>Description:
- Unbreak
- Fix build with gcc 4.2

Tindy tested:
i386
http://head.miwibox.org/tb/index.php?action=describe_port&id=2165
amd64
http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1606

Added file(s):
- files/patch-instr.h
- files/patch-regs.h

Port maintainer (sbahra@gwu.edu) is cc'd.

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

--- z80-asm-0.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/z80-asm/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	2 Oct 2007 05:56:42 -0000	1.7
+++ Makefile	2 Oct 2007 16:52:20 -0000
@@ -21,10 +21,4 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: files/patch-instr.h
===================================================================
RCS file: files/patch-instr.h
diff -N files/patch-instr.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-instr.h	2 Oct 2007 16:57:18 -0000
@@ -0,0 +1,11 @@
+--- instr.h.orig	2007-10-02 18:55:31.000000000 +0200
++++ instr.h	2007-10-02 18:55:46.000000000 +0200
+@@ -3,6 +3,8 @@
+ #ifndef __INSTR_H
+ #define __INSTR_H
+ 
++#include "z80-asm.h"
++
+ #define I_DEFS 71
+ #define I_DEFW 70
+ #define I_DEFB 69
Index: files/patch-regs.h
===================================================================
RCS file: files/patch-regs.h
diff -N files/patch-regs.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-regs.h	2 Oct 2007 16:54:53 -0000
@@ -0,0 +1,11 @@
+--- regs.h.orig	2007-10-02 18:53:19.000000000 +0200
++++ regs.h	2007-10-02 18:53:55.000000000 +0200
+@@ -3,6 +3,8 @@
+ #ifndef __REGS_H
+ #define __REGS_H
+ 
++#include "z80-asm.h"
++
+ #define R_EMPTY 0
+ #define R_A 1
+ #define R_B 2
--- z80-asm-0.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 2 17:10:16 UTC 2007 
Responsible-Changed-Why:  
Submitter has GNATS access 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116836 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Oct 2 17:10:26 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: "Samy Al Bahra" <sbahra@kerneled.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/116836: [PATCH] devel/z80-asm: Fix build with gcc 4.2
Date: Tue, 2 Oct 2007 17:57:07 -0400

 Looks good. Mind removing my port maintainer status? I no longer do
 z80 development.
 
 On 10/2/07, Edwin Groothuis <edwin@freebsd.org> wrote:
 > Maintainer of devel/z80-asm,
 >
 > Please note that PR ports/116836 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116836
 >
 > --
 > Edwin Groothuis
 > edwin@FreeBSD.org
 >
 
 
 -- 
 Samy Al Bahra [http://kerneled.org]
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Tue Oct 2 22:49:47 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116836: commit references a PR
Date: Tue,  2 Oct 2007 22:49:25 +0000 (UTC)

 miwi        2007-10-02 22:49:20 UTC
 
   FreeBSD ports repository
 
   Added files:
     devel/z80-asm/files  patch-instr.h patch-regs.h 
   Log:
   - Unbreak
   - Fix build with gcc 4.2
   - Reset maintainer to ports@
   
   PR:             116836
   Submitted by:   miwi
   Approved by:    Samy Al Bahra <sbahra@kerneled.org> (maintainer)
   
   Revision  Changes    Path
   1.1       +11 -0     ports/devel/z80-asm/files/patch-instr.h (new)
   1.1       +11 -0     ports/devel/z80-asm/files/patch-regs.h (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:
