pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/BasiliskII Fix infinite loop in configure on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ea074c1d855
branches:  trunk
changeset: 529895:5ea074c1d855
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 12 12:51:07 2007 +0000

description:
Fix infinite loop in configure on DragonFly and FreeBSD 4.
Fix dependencies for modular Xorg by adding Xxf86vm and Xxf86dga.
Bump revision.

diffstat:

 emulators/BasiliskII/Makefile         |   5 ++++-
 emulators/BasiliskII/distinfo         |   4 ++--
 emulators/BasiliskII/options.mk       |   4 +++-
 emulators/BasiliskII/patches/patch-ag |  13 ++++++++++---
 4 files changed, 19 insertions(+), 7 deletions(-)

diffs (90 lines):

diff -r d9b01ef3e09f -r 5ea074c1d855 emulators/BasiliskII/Makefile
--- a/emulators/BasiliskII/Makefile     Tue Jun 12 11:34:29 2007 +0000
+++ b/emulators/BasiliskII/Makefile     Tue Jun 12 12:51:07 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2007/05/20 17:23:16 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2007/06/12 12:51:07 joerg Exp $
 
 DISTNAME=      BasiliskII_src_01052006
 PKGNAME=       BasiliskII-1.0.20060501
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  http://gwenole.beauchesne.info/projects/basilisk2/files/
 EXTRACT_SUFX=  .tar.bz2
@@ -22,6 +23,8 @@
 
 .include "options.mk"
 
+CXXFLAGS+=-g -O0
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BasiliskII
        ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/BasiliskII/
diff -r d9b01ef3e09f -r 5ea074c1d855 emulators/BasiliskII/distinfo
--- a/emulators/BasiliskII/distinfo     Tue Jun 12 11:34:29 2007 +0000
+++ b/emulators/BasiliskII/distinfo     Tue Jun 12 12:51:07 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2006/05/13 20:52:35 adam Exp $
+$NetBSD: distinfo,v 1.15 2007/06/12 12:51:07 joerg Exp $
 
 SHA1 (BasiliskII_src_01052006.tar.bz2) = 6373b33adf6caec53c5d1ed46a00adcac89ad3bb
 RMD160 (BasiliskII_src_01052006.tar.bz2) = bb1a061c504bd7d28b869e0eec2806cf8a79cf8d
@@ -9,7 +9,7 @@
 SHA1 (patch-ad) = 6a215532e891848fe449ef5fe4307793c34bb9d6
 SHA1 (patch-ae) = dcac9287614535fa72fe9c8b0e3c516575e40887
 SHA1 (patch-af) = 2087a41aeda1fcab49408428decf1e5082fc8896
-SHA1 (patch-ag) = 079a62bc2e193fe4a8de1862c1e5334ee657ecf4
+SHA1 (patch-ag) = 081471cf25f0b11a9ef449e48fd7ce8ea3367f0d
 SHA1 (patch-ah) = 0f67eed6f59e6c381c1a6fbeb98261cad4697760
 SHA1 (patch-ai) = fc527be478576f157bffbd6a91eb1bdc85903fb1
 SHA1 (patch-aj) = c331aa7080b330cf58f58c72456b91b0e5a2156f
diff -r d9b01ef3e09f -r 5ea074c1d855 emulators/BasiliskII/options.mk
--- a/emulators/BasiliskII/options.mk   Tue Jun 12 11:34:29 2007 +0000
+++ b/emulators/BasiliskII/options.mk   Tue Jun 12 12:51:07 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2007/02/06 18:16:02 joerg Exp $
+# $NetBSD: options.mk,v 1.5 2007/06/12 12:51:07 joerg Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.BasiliskII
 PKG_SUPPORTED_OPTIONS= esound gtk sdl
@@ -31,5 +31,7 @@
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXxf86dga/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"
 .endif
diff -r d9b01ef3e09f -r 5ea074c1d855 emulators/BasiliskII/patches/patch-ag
--- a/emulators/BasiliskII/patches/patch-ag     Tue Jun 12 11:34:29 2007 +0000
+++ b/emulators/BasiliskII/patches/patch-ag     Tue Jun 12 12:51:07 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.3 2006/05/13 20:52:35 adam Exp $
+$NetBSD: patch-ag,v 1.4 2007/06/12 12:51:08 joerg Exp $
 
---- src/Unix/sigsegv.cpp.orig  2006-03-31 00:45:49.000000000 +0200
+--- src/Unix/sigsegv.cpp.orig  2006-03-30 22:45:49.000000000 +0000
 +++ src/Unix/sigsegv.cpp
 @@ -226,7 +226,7 @@ static void powerpc_decode_instruction(i
  
@@ -29,7 +29,7 @@
  #if (defined(i386) || defined(__i386__))
  #define SIGSEGV_ALL_SIGNALS                           FAULT_HANDLER(SIGBUS)
  #define SIGSEGV_FAULT_HANDLER_ARGLIST int sig, int code, struct sigcontext *scp, char *addr
-@@ -721,7 +721,7 @@ enum {
+@@ -721,10 +721,14 @@ enum {
  #endif
  };
  #endif
@@ -37,4 +37,11 @@
 +#if defined(__FreeBSD__) || defined(__DragonFly__)
  enum {
  #if (defined(i386) || defined(__i386__))
++#  if (defined(__FreeBSD__) && __FreeBSD_version >= 500000)
        X86_REG_EIP = 10,
++#else
++      X86_REG_EIP = 11,
++#endif
+       X86_REG_EAX = 7,
+       X86_REG_ECX = 6,
+       X86_REG_EDX = 5,



Home | Main Index | Thread Index | Old Index