Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 16:35:25 +0400 (MSD)
From:      Maxim Maximov <mcsi@agava.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43858: fix configure of games/asc
Message-ID:  <200210091235.g99CZPm7007904@ultra.domain>

next in thread | raw e-mail | index | archive | help

>Number:         43858
>Category:       ports
>Synopsis:       fix configure of games/asc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 05:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210091235.g99CZPm7007904>