mingw-w64-libgcc (Re: pkgsrc NetBSD 6.0/x86_64 2013-01-22 00:08

Makoto Fujiwara <[email protected]> Sat, 09 Feb 2013 22:10:26 +0900
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <yfmobft63b1.wl%[email protected]>
| Subject: pkgsrc NetBSD 6.0/x86_64 2013-01-22 00:08
| Date: Thu, 24 Jan 2013 22:55:23 +0100 (CET)
> pkgsrc bulk build report
> ========================
> NetBSD 6.0/x86_64
> Compiler: gcc
> Build start: 2013-01-22 00:08

> wip/mingw-w64-libgcc                         [email protected]

I think the attached patch will fix the problem.
(1) Can anybody explain why we need this (to fill the comment line) ?
(2) Shall I commit anyway ?

Thanks a lot,
---
Makoto Fujiwara, 
[email protected]

Index: mingw-w64-gcc/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/mingw-w64-gcc/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- mingw-w64-gcc/distinfo	11 Aug 2010 14:33:10 -0000	1.1.1.1
+++ mingw-w64-gcc/distinfo	9 Feb 2013 12:48:20 -0000
@@ -4,4 +4,4 @@
 RMD160 (gcc-4.5.1.tar.bz2) = 848c254dafa3e432cca2814aa8bf450db38bbb14
 Size (gcc-4.5.1.tar.bz2) = 66121821 bytes
 SHA1 (patch-aa) = 0ee94e3191573f351b9d1c3c5a39055270dc9f65
-SHA1 (patch-ab) = 38f8e44676b2dc9414e8051109e70490f45715eb
+SHA1 (patch-ab) = a91d0dbc437c7267d98e7ef427fcdd33fbdcdbd9
Index: mingw-w64-gcc/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/mingw-w64-gcc/patches/patch-ab,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-ab
--- mingw-w64-gcc/patches/patch-ab	11 Aug 2010 14:33:10 -0000	1.1.1.1
+++ mingw-w64-gcc/patches/patch-ab	9 Feb 2013 12:48:20 -0000
@@ -1,7 +1,16 @@
 $NetBSD$
 
 --- libstdc++-v3/configure.orig	2010-08-11 13:44:56.000000000 +0000
-+++ libstdc++-v3/configure
++++ ./libstdc++-v3/configure	2013-02-09 21:13:19.000000000 +0900
+@@ -1878,7 +1878,7 @@ if { as_var=$3; eval "test \"\${$as_var+
+   $as_echo_n "(cached) " >&6
+ else
+   if test x$gcc_no_link = xyes; then
+-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
++#  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+ fi
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
 @@ -50878,7 +50878,7 @@ $as_echo "$glibcxx_gnu_ld_version" >&6; 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
  $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb