Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19657
Modified Files: gcc46.patch Log Message: update to 4.6.4 Index: gcc46.patch =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/gcc46.patch,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- gcc46.patch 22 Feb 2013 16:49:23 -0000 1.5 +++ gcc46.patch 13 Apr 2013 00:17:10 -0000 1.6 @@ -120,273 +120,3 @@ foreach p $additional_prunes { if { [string length $p] > 0 } { # Following regexp matches a complete line containing $p. -diff -uNr gcc-4.6.3.orig/boehm-gc/configure gcc-4.6.3/boehm-gc/configure ---- gcc-4.6.3.orig/boehm-gc/configure 2012-02-24 11:16:46.000000000 -0500 -+++ gcc-4.6.3/boehm-gc/configure 2012-02-24 11:31:21.000000000 -0500 -@@ -15246,6 +15246,17 @@ - fi - done - -+for ac_func in pthread_get_stackaddr_np -+do : -+ ac_fn_c_check_func "$LINENO" "pthread_get_stackaddr_np" "ac_cv_func_pthread_get_stackaddr_np" -+if test "x$ac_cv_func_pthread_get_stackaddr_np" = x""yes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_PTHREAD_GET_STACKADDR_NP 1 -+_ACEOF -+ -+fi -+done -+ - LIBS="$oldLIBS" - - # Configuration of machine-dependent code -diff -uNr gcc-4.6.3.orig/boehm-gc/configure.ac gcc-4.6.3/boehm-gc/configure.ac ---- gcc-4.6.3.orig/boehm-gc/configure.ac 2012-02-24 11:16:46.000000000 -0500 -+++ gcc-4.6.3/boehm-gc/configure.ac 2012-02-24 11:31:21.000000000 -0500 -@@ -392,6 +392,7 @@ - oldLIBS="$LIBS" - LIBS="$LIBS $THREADLIBS" - AC_CHECK_FUNCS([pthread_getattr_np]) -+AC_CHECK_FUNCS([pthread_get_stackaddr_np]) - LIBS="$oldLIBS" - - # Configuration of machine-dependent code -diff -uNr gcc-4.6.3.orig/boehm-gc/include/gc_config.h.in gcc-4.6.3/boehm-gc/include/gc_config.h.in ---- gcc-4.6.3.orig/boehm-gc/include/gc_config.h.in 2012-02-24 11:16:46.000000000 -0500 -+++ gcc-4.6.3/boehm-gc/include/gc_config.h.in 2012-02-24 11:31:21.000000000 -0500 -@@ -87,6 +87,9 @@ - /* Define to 1 if you have the `pthread_getattr_np' function. */ - #undef HAVE_PTHREAD_GETATTR_NP - -+/* Define to 1 if you have the `pthread_get_stackaddr_np_np' function. */ -+#undef HAVE_PTHREAD_GET_STACKADDR_NP -+ - /* Define to 1 if you have the <stdint.h> header file. */ - #undef HAVE_STDINT_H - -diff -uNr gcc-4.6.3.orig/boehm-gc/include/private/gcconfig.h gcc-4.6.3/boehm-gc/include/private/gcconfig.h ---- gcc-4.6.3.orig/boehm-gc/include/private/gcconfig.h 2012-02-24 11:16:46.000000000 -0500 -+++ gcc-4.6.3/boehm-gc/include/private/gcconfig.h 2012-02-24 11:31:21.000000000 -0500 -@@ -1331,7 +1331,11 @@ - These aren't used when dyld support is enabled (it is by default) */ - # define DATASTART ((ptr_t) get_etext()) - # define DATAEND ((ptr_t) get_end()) --# define STACKBOTTOM ((ptr_t) 0xc0000000) -+# ifdef HAVE_PTHREAD_GET_STACKADDR_NP -+# define STACKBOTTOM (ptr_t)pthread_get_stackaddr_np(pthread_self()) -+# else -+# define STACKBOTTOM ((ptr_t) 0xc0000000) -+# endif - # define USE_MMAP - # define USE_MMAP_ANON - # define USE_ASM_PUSH_REGS -@@ -2011,7 +2015,11 @@ - These aren't used when dyld support is enabled (it is by default) */ - # define DATASTART ((ptr_t) get_etext()) - # define DATAEND ((ptr_t) get_end()) --# define STACKBOTTOM ((ptr_t) 0x7fff5fc00000) -+# ifdef HAVE_PTHREAD_GET_STACKADDR_NP -+# define STACKBOTTOM (ptr_t)pthread_get_stackaddr_np(pthread_self()) -+# else -+# define STACKBOTTOM ((ptr_t) 0x7fff5fc00000) -+# endif - # define USE_MMAP - # define USE_MMAP_ANON - # ifdef GC_DARWIN_THREADS -diff -uNr gcc-4.6.3.orig/libjava/configure gcc-4.6.3/libjava/configure ---- gcc-4.6.3.orig/libjava/configure 2012-02-24 11:34:47.000000000 -0500 -+++ gcc-4.6.3/libjava/configure 2012-02-24 11:31:21.000000000 -0500 -@@ -19787,14 +19787,9 @@ - SYSTEMSPEC="-lunicows $SYSTEMSPEC" - fi - ;; -- *-*-darwin9*) -+ *-*-darwin[912]*) - SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" - ;; -- *-*-darwin[12]*) -- # Something is incompatible with pie, would be nice to fix it and -- # remove -no_pie. PR49461 -- SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" -- ;; - *) - SYSTEMSPEC= - ;; -diff -uNr gcc-4.6.3.orig/libjava/configure.ac gcc-4.6.3/libjava/configure.ac ---- gcc-4.6.3.orig/libjava/configure.ac 2012-02-24 11:34:47.000000000 -0500 -+++ gcc-4.6.3/libjava/configure.ac 2012-02-24 11:31:21.000000000 -0500 -@@ -893,14 +893,9 @@ - SYSTEMSPEC="-lunicows $SYSTEMSPEC" - fi - ;; -- *-*-darwin9*) -+ *-*-darwin[[912]]*) - SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" - ;; -- *-*-darwin[[12]]*) -- # Something is incompatible with pie, would be nice to fix it and -- # remove -no_pie. PR49461 -- SYSTEMSPEC="-no_pie %{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}" -- ;; - *) - SYSTEMSPEC= - ;; -diff -uNr gcc-4.6.3/gcc/ada/gnat-style.texi gcc-4.6.3.texinfo/gcc/ada/gnat-style.texi ---- gcc-4.6.3/gcc/ada/gnat-style.texi 2010-06-13 10:36:24.000000000 -0400 -+++ gcc-4.6.3.texinfo/gcc/ada/gnat-style.texi 2013-02-22 10:50:17.000000000 -0500 -@@ -42,7 +42,7 @@ - @titlepage - @titlefont{GNAT Coding Style:} - @sp 1 --@title @hfill A Guide for GNAT Developers -+@title A Guide for GNAT Developers - @subtitle GNAT, The GNU Ada Compiler - @versionsubtitle - @author Ada Core Technologies, Inc. -diff -uNr gcc-4.6.3/gcc/ada/projects.texi gcc-4.6.3.texinfo/gcc/ada/projects.texi ---- gcc-4.6.3/gcc/ada/projects.texi 2010-12-20 02:26:57.000000000 -0500 -+++ gcc-4.6.3.texinfo/gcc/ada/projects.texi 2013-02-22 10:50:19.000000000 -0500 -@@ -45,8 +45,7 @@ - @item Source file naming conventions; you can specify these either globally or for - individual compilation units (@pxref{Naming Schemes}). - @item Change any of the above settings depending on external values, thus enabling -- the reuse of the projects in various @b{scenarios} (@pxref{Scenarios -- in Projects}). -+ the reuse of the projects in various @b{scenarios} (@pxref{Scenarios in Projects}). - @item Automatically build libraries as part of the build process - (@pxref{Library Projects}). - -@@ -350,8 +349,8 @@ - - @item For various reasons, it is sometimes useful to have a project with no - sources (most of the time because the attributes defined in the project -- file will be reused in other projects, as explained in @pxref{Organizing -- Projects into Subsystems}. To do this, the attribute -+ file will be reused in other projects, as explained in -+ @pxref{Organizing Projects into Subsystems}. To do this, the attribute - @emph{Source_Files} is set to the empty list, i.e. @code{()}. Alternatively, - @emph{Source_Dirs} can be set to the empty list, with the same - result. -@@ -378,8 +377,9 @@ - This can be done thanks to the attribute @b{Excluded_Source_Files} - (or its synonym @b{Locally_Removed_Files}). - Its value is the list of file names that should not be taken into account. -- This attribute is often used when extending a project, @xref{Project -- Extension}. A similar attribute @b{Excluded_Source_List_File} plays the same -+ This attribute is often used when extending a project, -+ @xref{Project Extension}. A similar attribute -+ @b{Excluded_Source_List_File} plays the same - role but takes the name of file containing file names similarly to - @code{Source_List_File}. - -diff -uNr gcc-4.6.3/gcc/doc/cppopts.texi gcc-4.6.3.texinfo/gcc/doc/cppopts.texi ---- gcc-4.6.3/gcc/doc/cppopts.texi 2010-12-20 02:26:12.000000000 -0500 -+++ gcc-4.6.3.texinfo/gcc/doc/cppopts.texi 2013-02-22 10:50:48.000000000 -0500 -@@ -769,7 +769,7 @@ - Enable special code to work around file systems which only permit very - short file names, such as MS-DOS@. - --@itemx --help -+@item --help - @itemx --target-help - @opindex help - @opindex target-help -diff -uNr gcc-4.6.3/gcc/doc/generic.texi gcc-4.6.3.texinfo/gcc/doc/generic.texi ---- gcc-4.6.3/gcc/doc/generic.texi 2011-01-01 20:30:55.000000000 -0500 -+++ gcc-4.6.3.texinfo/gcc/doc/generic.texi 2013-02-22 10:50:48.000000000 -0500 -@@ -1415,13 +1415,13 @@ - not matter. The type of the operands and that of the result are - always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. - --@itemx POINTER_PLUS_EXPR -+@item POINTER_PLUS_EXPR - This node represents pointer arithmetic. The first operand is always - a pointer/reference type. The second operand is always an unsigned - integer type compatible with sizetype. This is the only binary - arithmetic operand that can operate on pointer types. - --@itemx PLUS_EXPR -+@item PLUS_EXPR - @itemx MINUS_EXPR - @itemx MULT_EXPR - These nodes represent various binary arithmetic operations. -diff -uNr gcc-4.6.3/gcc/doc/invoke.texi gcc-4.6.3.texinfo/gcc/doc/invoke.texi ---- gcc-4.6.3/gcc/doc/invoke.texi 2012-01-03 11:43:38.000000000 -0500 -+++ gcc-4.6.3.texinfo/gcc/doc/invoke.texi 2013-02-22 10:50:48.000000000 -0500 -@@ -165,7 +165,7 @@ - -pipe -pass-exit-codes @gol - -x @var{language} -v -### --help@r{[}=@var{class}@r{[},@dots{}@r{]]} --target-help @gol - --version -wrapper @@@var{file} -fplugin=@var{file} -fplugin-arg-@var{name}=@var{arg} @gol ---fdump-ada-spec@r{[}-slim@r{]}} -fdump-go-spec=@var{file} -+-fdump-ada-spec@r{[}-slim@r{]} -fdump-go-spec=@var{file}} - - @item C Language Options - @xref{C Dialect Options,,Options Controlling C Dialect}. -@@ -5085,11 +5085,11 @@ - @option{-fdump-rtl-ce3} enable dumping after the three - if conversion passes. - --@itemx -fdump-rtl-cprop_hardreg -+@item -fdump-rtl-cprop_hardreg - @opindex fdump-rtl-cprop_hardreg - Dump after hard register copy propagation. - --@itemx -fdump-rtl-csa -+@item -fdump-rtl-csa - @opindex fdump-rtl-csa - Dump after combining stack adjustments. - -@@ -5100,11 +5100,11 @@ - @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after - the two common sub-expression elimination passes. - --@itemx -fdump-rtl-dce -+@item -fdump-rtl-dce - @opindex fdump-rtl-dce - Dump after the standalone dead code elimination passes. - --@itemx -fdump-rtl-dbr -+@item -fdump-rtl-dbr - @opindex fdump-rtl-dbr - Dump after delayed branch scheduling. - -@@ -5149,7 +5149,7 @@ - @opindex fdump-rtl-initvals - Dump after the computation of the initial value sets. - --@itemx -fdump-rtl-into_cfglayout -+@item -fdump-rtl-into_cfglayout - @opindex fdump-rtl-into_cfglayout - Dump after converting to cfglayout mode. - -@@ -5179,7 +5179,7 @@ - @opindex fdump-rtl-rnreg - Dump after register renumbering. - --@itemx -fdump-rtl-outof_cfglayout -+@item -fdump-rtl-outof_cfglayout - @opindex fdump-rtl-outof_cfglayout - Dump after converting from cfglayout mode. - -@@ -5191,7 +5191,7 @@ - @opindex fdump-rtl-postreload - Dump after post-reload optimizations. - --@itemx -fdump-rtl-pro_and_epilogue -+@item -fdump-rtl-pro_and_epilogue - @opindex fdump-rtl-pro_and_epilogue - Dump after generating the function pro and epilogues. - -diff -uNr gcc-4.6.3/libjava/classpath/doc/cp-tools.texinfo gcc-4.6.3.texinfo/libjava/classpath/doc/cp-tools.texinfo ---- gcc-4.6.3/libjava/classpath/doc/cp-tools.texinfo 2008-10-21 13:55:01.000000000 -0400 -+++ gcc-4.6.3.texinfo/libjava/classpath/doc/cp-tools.texinfo 2013-02-22 10:50:25.000000000 -0500 -@@ -2022,7 +2022,7 @@ - - @item Virtual Machine Options - @xref{Virtual Machine Options,,Options Controlling Gjdoc Behavior}. --@gccoptlist{-classpath} @gccoptlist{-bootclasspath} @gccoptlist{-J}@var{vmopt} -+@gccoptlist{-classpath -bootclasspath -J @var{vmopt}} - - @end table - ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs