pkgsrc-Bugs archive

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

Re: pkg/47252: upgrade pkgsrc/lang/gcc47 to 4.7.2



Le 27/11/12 07:50, richard.palo%baou.fr@localhost a écrit :

-proc.c will not compile with inline-functions (implied by -O3)
-so add -fno-inline-functions to it's cflags.
-
-

sorry, i guess the original commentary should not disappear, here is a correction:

Index: patch-libgo_Makefile.in
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc47/patches/patch-libgo_Makefile.in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-libgo_Makefile.in
--- patch-libgo_Makefile.in     16 Apr 2012 04:27:18 -0000      1.1.1.1
+++ patch-libgo_Makefile.in     27 Nov 2012 07:01:08 -0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-libgo_Makefile.in,v 1.1.1.1 2012/04/16 04:27:18 sbd Exp $
+$NetBSD$

 proc.c will not compile with inline-functions (implied by -O3)
 so add -fno-inline-functions to it's cflags.


---- libgo/Makefile.in.orig     2012-03-10 19:03:09.000000000 +0000
+--- libgo/Makefile.in.orig     2012-08-06 14:34:27.000000000 +0000
 +++ libgo/Makefile.in
-@@ -3028,7 +3028,7 @@ msize.lo: runtime/msize.c
- @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o msize.lo `test -f 'runtime/msize.c' || echo '$(srcdir)/'`runtime/msize.c
+@@ -3051,7 +3051,7 @@ print.lo: runtime/print.c
+ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o print.lo `test -f 'runtime/print.c' || echo '$(srcdir)/'`runtime/print.c

  proc.lo: runtime/proc.c
-@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT proc.lo -MD -MP -MF $(DEPDIR)/proc.Tpo -c -o proc.lo `test -f 'runtime/proc.c' || echo '$(srcdir)/'`runtime/proc.c




Home | Main Index | Thread Index | Old Index