Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 22:24:00 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mmendez@energyhq.be
Subject:   ports/105758: [PATCH] emulators/basiliskII: fix build
Message-ID:  <20061122212400.48A9D39DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611222140.kAMLeINM006779@freefall.freebsd.org>

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

>Number:         105758
>Category:       ports
>Synopsis:       [PATCH] emulators/basiliskII: fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 22 21:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Try to work around the configure problem, hardcoding the proper option instead
of letting ./configure to figure it out.

http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.5.2006100420/basiliskII-1.0_3.log.bz2

(Honestly, i have no idea why that fails.  I was unable to reproduce it.)

Also, update master site.

Added file(s):
- files/patch-src-Unix-configure

Port maintainer (mmendez@energyhq.be) is cc'd.

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

--- basiliskII-1.0_3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/basiliskII/Makefile /home/trasz/basiliskII/Makefile
--- /usr/ports/emulators/basiliskII/Makefile	Wed Sep 27 14:46:41 2006
+++ /home/trasz/basiliskII/Makefile	Wed Nov 22 22:19:39 2006
@@ -9,16 +9,12 @@
 PORTVERSION=	1.0
 PORTREVISION=	3
 CATEGORIES=	emulators
-MASTER_SITES=	http://www.gibix.net/projects/basilisk2/files/
+MASTER_SITES=	http://gwenole.beauchesne.info/projects/basilisk2/files/
 MASTER_SITE_SUBDIR=	basilisk
 DISTNAME=	BasiliskII_src_01052006
 
 MAINTAINER=	mmendez@energyhq.be
 COMMENT=	A free, portable, Open Source 68k Mac emulator
-
-#BROKEN=		Does not compile
-#DEPRECATED=	${BROKEN}
-#EXPIRATION_DATE=2006-12-01
 
 WRKSRC=		${WRKDIR}/BasiliskII-${PORTVERSION}/src/Unix
 
diff -ruN --exclude=CVS /usr/ports/emulators/basiliskII/files/patch-src-Unix-configure /home/trasz/basiliskII/files/patch-src-Unix-configure
--- /usr/ports/emulators/basiliskII/files/patch-src-Unix-configure	Thu Jan  1 01:00:00 1970
+++ /home/trasz/basiliskII/files/patch-src-Unix-configure	Wed Nov 22 22:19:39 2006
@@ -0,0 +1,131 @@
+--- configure.orig	Mon May  1 15:31:31 2006
++++ configure	Wed Nov 22 22:08:45 2006
+@@ -23521,69 +23521,69 @@
+ if [ -z "$sigsegv_recovery" ]; then
+   echo "$as_me:$LINENO: checking whether your system supports extended signal handlers" >&5
+ echo $ECHO_N "checking whether your system supports extended signal handlers... $ECHO_C" >&6
+-if test "${ac_cv_have_extended_signals+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-
+-
+-
+-    ac_ext=cc
+-ac_cpp='$CXXCPP $CPPFLAGS'
+-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+-
+-    if test "$cross_compiling" = yes; then
+-      ac_cv_have_extended_signals=no
+-
+-else
+-  cat >conftest.$ac_ext <<_ACEOF
+-/* confdefs.h.  */
+-_ACEOF
+-cat confdefs.h >>conftest.$ac_ext
+-cat >>conftest.$ac_ext <<_ACEOF
+-/* end confdefs.h.  */
+-
+-      #define HAVE_SIGINFO_T 1
+-      #define CONFIGURE_TEST_SIGSEGV_RECOVERY
+-      #include "vm_alloc.cpp"
+-      #include "sigsegv.cpp"
+-
+-_ACEOF
+-rm -f conftest$ac_exeext
+-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+-  (eval $ac_link) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+-  (eval $ac_try) 2>&5
+-  ac_status=$?
+-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+-  (exit $ac_status); }; }; then
++#if test "${ac_cv_have_extended_signals+set}" = set; then
++#  echo $ECHO_N "(cached) $ECHO_C" >&6
++#else
++#
++#
++#
++#    ac_ext=cc
++#ac_cpp='$CXXCPP $CPPFLAGS'
++#ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++#ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++#ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
++#
++#    if test "$cross_compiling" = yes; then
++#      ac_cv_have_extended_signals=no
++#
++#else
++#  cat >conftest.$ac_ext <<_ACEOF
++#/* confdefs.h.  */
++#_ACEOF
++#cat confdefs.h >>conftest.$ac_ext
++#cat >>conftest.$ac_ext <<_ACEOF
++#/* end confdefs.h.  */
++#
++#      #define HAVE_SIGINFO_T 1
++#      #define CONFIGURE_TEST_SIGSEGV_RECOVERY
++#      #include "vm_alloc.cpp"
++#      #include "sigsegv.cpp"
++#
++#_ACEOF
++#rm -f conftest$ac_exeext
++#if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++#  (eval $ac_link) 2>&5
++#  ac_status=$?
++#  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++#  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
++#  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++#  (eval $ac_try) 2>&5
++#  ac_status=$?
++#  echo "$as_me:$LINENO: \$? = $ac_status" >&5
++#  (exit $ac_status); }; }; then
+ 
+     sigsegv_recovery=siginfo
+     ac_cv_have_extended_signals=yes
+ 
+-else
+-  echo "$as_me: program exited with status $ac_status" >&5
+-echo "$as_me: failed program was:" >&5
+-sed 's/^/| /' conftest.$ac_ext >&5
+-
+-( exit $ac_status )
+-ac_cv_have_extended_signals=no
+-fi
+-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+-fi
+-    ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+-
+-
+-
+-fi
++#else
++#  echo "$as_me: program exited with status $ac_status" >&5
++#echo "$as_me: failed program was:" >&5
++#sed 's/^/| /' conftest.$ac_ext >&5
++#
++#( exit $ac_status )
++#ac_cv_have_extended_signals=no
++#fi
++#rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
++#fi
++#    ac_ext=c
++#ac_cpp='$CPP $CPPFLAGS'
++#ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++#ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++#ac_compiler_gnu=$ac_cv_c_compiler_gnu
++#
++#
++#
++#fi
+ echo "$as_me:$LINENO: result: $ac_cv_have_extended_signals" >&5
+ echo "${ECHO_T}$ac_cv_have_extended_signals" >&6
+ 
diff -ruN --exclude=CVS /usr/ports/emulators/basiliskII/pkg-descr /home/trasz/basiliskII/pkg-descr
--- /usr/ports/emulators/basiliskII/pkg-descr	Thu Nov 24 17:45:43 2005
+++ /home/trasz/basiliskII/pkg-descr	Wed Nov 22 22:19:39 2006
@@ -1,4 +1,4 @@
 Basilisk II is a free, portable, Open Source 68k Mac emulator. It requires a
 copy of a 512K or 1MB Mac ROM and a copy of MacOS 7.x or 8.x to run.
 
-WWW: http://www.gibix.net/projects/basilisk2/
+WWW: http://gwenole.beauchesne.info/projects/basilisk2/
--- basiliskII-1.0_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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