pkgsrc/lang/gauche/patches/patch-gc_configure
enami ddbb25bb86 Update gauche to 0.9.3.3. Also, take over maintainership from uebayashi.
Changes are:
+ Bug fixes:
    o If DESTDIR was set and the platform didn't have previous Gauche
      installed, make install failed saying something like
      "libgauche-0.9.so.0.3: cannot open shared object file: No such file
      or directory". The order of installation was adjusted to avoid it.
    o On FreeBSD, a bug in signal setup routine caused memory corruption.
    o every with more than one argument list didn't return the last
      return value of the predicate when all the arguments satisfied it,
      as specified in srfi-1 (it returned #t instead). It was also the
      case in stream-every. Both are fixed.
    o On MinGW, info command didn't work.
    o On MinGW, when you used non-console version gosh-noconsole.exe and
      tried to spawn a child process to communicate via pipes,
      gosh-noconsole.exe just died.
+ Improvements:
    o New procedure: string-scan-right
    o GC is now 7.2b
2012-05-30 02:50:11 +00:00

45 lines
1.4 KiB
Text

$NetBSD: patch-gc_configure,v 1.1 2012/05/30 02:50:11 enami Exp $
Copied from devel/boehm-gc/patches/patch-ab.
--- gc/configure.orig 2012-05-28 16:01:24.000000000 +0000
+++ gc/configure
@@ -5228,7 +5228,7 @@ $as_echo "#define DARWIN_DONT_PARSE_STAC
fi
-if test "$GCC" == yes; then
+if test "$GCC" = yes; then
# Disable aliasing optimization unless forced to.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports -fno-strict-aliasing" >&5
$as_echo_n "checking whether gcc supports -fno-strict-aliasing... " >&6; }
@@ -5436,8 +5436,8 @@ esac
$as_echo "$enable_shared" >&6; }
# Compile with GC_DLL defined unless building static libraries.
-if test "${enable_shared}" == yes; then
- if test "${enable_static}" == no; then
+if test "${enable_shared}" = yes; then
+ if test "${enable_static}" = no; then
$as_echo "#define GC_DLL 1" >>confdefs.h
# FIXME: Also pass -fvisibility=hidden option if GCC v4+ and not Win32.
@@ -5491,6 +5491,9 @@ $as_echo "#define SOLARIS25_PROC_VDB_BUG
sparc*-*-openbsd*)
machdep="mach_dep.lo sparc_mach_dep.lo"
;;
+ sparc64-*-netbsd*)
+ machdep="mach_dep.lo sparc_mach_dep.lo"
+ ;;
sparc-sun-solaris2.3)
machdep="mach_dep.lo sparc_mach_dep.lo"
@@ -16422,7 +16425,7 @@ $as_echo "#define SMALL_CONFIG 1" >>conf
fi
-if test "$enable_gc_debug" == "no"; then
+if test "$enable_gc_debug" = "no"; then
$as_echo "#define NO_DEBUGGING 1" >>confdefs.h