From mcsi@agava.com  Wed Oct  9 05:33:50 2002
Return-Path: <mcsi@agava.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1EC1D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Oct 2002 05:33:50 -0700 (PDT)
Received: from relay2.agava.net.ru (ofc.agava.net [195.161.118.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1640F43E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Oct 2002 05:33:49 -0700 (PDT)
	(envelope-from mcsi@agava.com)
Received: from ultra.domain (ultra.domain [192.168.1.58])
	by relay2.agava.net.ru (Postfix) with ESMTP id 2F1764772A7
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Oct 2002 16:33:47 +0400 (MSD)
Received: from ultra.domain (localhost [127.0.0.1])
	by ultra.domain (8.12.6/8.12.5) with ESMTP id g99CZPXP007905
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 9 Oct 2002 16:35:25 +0400 (MSD)
	(envelope-from mcsi@ultra.domain)
Received: (from root@localhost)
	by ultra.domain (8.12.6/8.12.6/Submit) id g99CZPm7007904;
	Wed, 9 Oct 2002 16:35:25 +0400 (MSD)
Message-Id: <200210091235.g99CZPm7007904@ultra.domain>
Date: Wed, 9 Oct 2002 16:35:25 +0400 (MSD)
From: Maxim Maximov <mcsi@agava.com>
Reply-To: Maxim Maximov <mcsi@agava.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fix configure of games/asc
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43858
>Category:       ports
>Synopsis:       fix configure of games/asc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 05:40:01 PDT 2002
>Closed-Date:    Sat Oct 19 02:14:15 PDT 2002
>Last-Modified:  Sat Oct 19 02:14:15 PDT 2002
>Originator:     Maxim Maximov
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD ultra.domain 4.7-RC FreeBSD 4.7-RC #9: Fri Oct 4 12:38:44 MSD 2002 mcsi@ultra.domain:/usr/obj/usr/src/sys/ULTRA i386


	
>Description:
fix configure of games/asc by removing of the declaration of exit() in configure. this patch is cumulative, only last chunk fixes the problem.
	
>How-To-Repeat:
	
>Fix:

--- configure.orig	Wed Oct  9 16:27:27 2002
+++ configure	Wed Oct  9 16:29:05 2002
@@ -1709,7 +1709,7 @@
 
 
 
-                game_datadir="$datadir/games/$PACKAGE"
+                game_datadir="$datadir/$PACKAGE"
                 game_datadir=`(
                      test "x$prefix" = xNONE && prefix="$ac_default_prefix"
                      test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
@@ -1729,16 +1729,16 @@
 fi
 
 
-ac_safe=`echo "SDL/SDL.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for SDL/SDL.h""... $ac_c" 1>&6
-echo "configure:1735: checking for SDL/SDL.h" >&5
+ac_safe=`echo "SDL.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for SDL.h""... $ac_c" 1>&6
+echo "configure:1735: checking for SDL.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
 #line 1740 "configure"
 #include "confdefs.h"
-#include <SDL/SDL.h>
+#include <SDL.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:1745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2479,9 +2479,6 @@
   cat > conftest.$ac_ext <<EOF
 #line 2481 "configure"
 #include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int) throw();
-#endif
 
 #include <cstdio>
 #include <cstring>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->sobomax 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Fri Oct 11 19:04:46 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43858 
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Sat Oct 19 02:13:33 PDT 2002 
State-Changed-Why:  
The fix was committed as a part of the upgrade to 1.10.2. Thank you very much 
for submission! 

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