From trish@trish.dyn.magenet.com  Tue Jun  4 08:14:13 2002
Return-Path: <trish@trish.dyn.magenet.com>
Received: from femme.listmistress.org (bgp01560565bgs.gambrl01.md.comcast.net [68.50.32.109])
	by hub.freebsd.org (Postfix) with ESMTP id 0DEF337B410
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Jun 2002 08:14:10 -0700 (PDT)
Received: from femme.listmistress.org (trish@localhost [127.0.0.1])
	by femme.listmistress.org (8.12.3/8.12.1) with ESMTP id g54FE3Ml002115
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 Jun 2002 11:14:05 -0400 (EDT)
Received: (from trish@localhost)
	by femme.listmistress.org (8.12.3/8.12.3/Submit) id g54FE2r9002114;
	Tue, 4 Jun 2002 11:14:02 -0400 (EDT)
Message-Id: <200206041514.g54FE2r9002114@femme.listmistress.org>
Date: Tue, 4 Jun 2002 11:14:02 -0400 (EDT)
From: Trish Lynch <trish@bsdunix.net>
Reply-To: Trish Lynch <trish@bsdunix.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: *MAINTAINER == ports@* soundcard.h fix for games/miscom
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         38895
>Category:       ports
>Synopsis:       *MAINTAINER == ports@* soundcard.h fix for games/miscom
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 04 08:20:02 PDT 2002
>Closed-Date:    Thu Jun 06 17:13:00 PDT 2002
>Last-Modified:  Thu Jun 06 17:13:00 PDT 2002
>Originator:     Trish Lynch
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD femme.listmistress.org 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Tue Jun 4 07:06:15 EDT 2002 trish@femme.listmistress.org:/admins/obj/admins/src/sys/FEMME i386


	
>Description:
	games/miscom does not compile on -current due to removal of 
	machine/soundcard.h symlink
>How-To-Repeat:
	build games/miscom on recent -current system
>Fix:

apply patch at http://www.bsdunix.net/ports/games-miscom-port.patch

it should be safe enough since it was a symlink to sys/soundcard.h anyway.

diff -ruN miscom/files/patch-af miscom.old/files/patch-af
--- miscom/files/patch-af	Tue Jun  4 11:07:48 2002
+++ miscom.old/files/patch-af	Tue Jun  4 10:44:33 2002
@@ -4,7 +4,7 @@
  #include <stdlib.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#if __FreeBSD__ <= 4
++#ifdef __FreeBSD__
 +#include <machine/soundcard.h>
 +#else
  #include <sys/soundcard.h>




>Release-Note:
>Audit-Trail:

From: Trish Lynch <trish@bsdunix.net>
To: Trish Lynch <trish@bsdunix.net>
Cc: <FreeBSD-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/38895: *MAINTAINER == ports@* soundcard.h fix for games/miscom
Date: Tue, 4 Jun 2002 11:23:55 -0400 (EDT)

 I screwed up the patch order, its at the same URL, but changed to this:
 
 diff -ruN miscom.old/files/patch-af miscom/files/patch-af
 --- miscom.old/files/patch-af   Tue Jun  4 10:44:33 2002
 +++ miscom/files/patch-af       Tue Jun  4 11:07:48 2002
 @@ -4,7 +4,7 @@
   #include <stdlib.h>
   #include <fcntl.h>
   #include <unistd.h>
 -+#ifdef __FreeBSD__
 ++#if __FreeBSD__ <= 4
  +#include <machine/soundcard.h>
  +#else
   #include <sys/soundcard.h>
 
 
 
 --
 Trish Lynch					trish@bsdunix.net
 FreeBSD						The Power to Serve
 Ecartis Core Team				trish@listmistress.org
                    http://www.freebsd.org
 
 
State-Changed-From-To: open->closed 
State-Changed-By: petef 
State-Changed-When: Thu Jun 6 17:12:48 PDT 2002 
State-Changed-Why:  
Committed, thanks!  I just removed patch-af completely. 

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