[128372] trunk/dports/lang/gcc47/files

larryv at macports.org larryv at macports.org
Wed Nov 19 21:18:39 PST 2014


Revision: 128372
          https://trac.macports.org/changeset/128372
Author:   larryv at macports.org
Date:     2014-11-19 21:18:39 -0800 (Wed, 19 Nov 2014)
Log Message:
-----------
gcc47: Remove unused patches

Removed Paths:
-------------
    trunk/dports/lang/gcc47/files/enable_libstdcxx_time_yes.patch
    trunk/dports/lang/gcc47/files/gcc-PR-53453.patch

Deleted: trunk/dports/lang/gcc47/files/enable_libstdcxx_time_yes.patch
===================================================================
--- trunk/dports/lang/gcc47/files/enable_libstdcxx_time_yes.patch	2014-11-20 04:56:58 UTC (rev 128371)
+++ trunk/dports/lang/gcc47/files/enable_libstdcxx_time_yes.patch	2014-11-20 05:18:39 UTC (rev 128372)
@@ -1,12 +0,0 @@
---- libstdc++-v3/config/os/bsd/darwin/os_defines.h.orig	2012-10-11 20:46:07.000000000 -0400
-+++ libstdc++-v3/config/os/bsd/darwin/os_defines.h	2012-10-11 20:46:18.000000000 -0400
-@@ -42,4 +42,9 @@
- // Static initializer macro is buggy in darwin, see libstdc++/51906
- #define _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC
- 
-+// Configure checks for nanosleep fail on Darwin, but nanosleep and
-+// sched_yield are always available, so use them.
-+#define _GLIBCXX_USE_NANOSLEEP 1
-+#define _GLIBCXX_USE_SCHED_YIELD 1
-+
- #endif

Deleted: trunk/dports/lang/gcc47/files/gcc-PR-53453.patch
===================================================================
--- trunk/dports/lang/gcc47/files/gcc-PR-53453.patch	2014-11-20 04:56:58 UTC (rev 128371)
+++ trunk/dports/lang/gcc47/files/gcc-PR-53453.patch	2014-11-20 05:18:39 UTC (rev 128372)
@@ -1,90 +0,0 @@
-http://gcc.gnu.org/ml/gcc-patches/2012-06/msg01181.html
-http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53453
-
-diff -uNr gcc/config/darwin.h gcc/config/darwin.h
---- gcc/config/darwin.h	2012-02-16 03:21:46.000000000 -0500
-+++ gcc/config/darwin.h	2012-06-08 08:54:25.000000000 -0400
-@@ -356,7 +356,9 @@
-      %{!Zbundle:%{pg:%{static:-lgcrt0.o}				    \
-                      %{!static:%{object:-lgcrt0.o}			    \
-                                %{!object:%{preload:-lgcrt0.o}		    \
--                                 %{!preload:-lgcrt1.o %(darwin_crt2)}}}}    \
-+                                 %{!preload:-lgcrt1.o                       \
-+                                 %:version-compare(>= 10.8 mmacosx-version-min= -no_new_main) \
-+                                 %(darwin_crt2)}}}}    \
-                 %{!pg:%{static:-lcrt0.o}				    \
-                       %{!static:%{object:-lcrt0.o}			    \
-                                 %{!object:%{preload:-lcrt0.o}		    \
-@@ -379,7 +381,7 @@
- #define DARWIN_CRT1_SPEC						\
-   "%:version-compare(!> 10.5 mmacosx-version-min= -lcrt1.o)		\
-    %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lcrt1.10.5.o)	\
--   %:version-compare(>= 10.6 mmacosx-version-min= -lcrt1.10.6.o)	\
-+   %:version-compare(>< 10.6 10.8 mmacosx-version-min= -lcrt1.10.6.o)	\
-    %{fgnu-tm: -lcrttms.o}"
- 
- /* Default Darwin ASM_SPEC, very simple.  */
-@@ -414,6 +416,8 @@
- 
- #define TARGET_WANT_DEBUG_PUB_SECTIONS true
- 
-+#define TARGET_FORCE_AT_COMP_DIR true
-+
- /* When generating stabs debugging, use N_BINCL entries.  */
- 
- #define DBX_USE_BINCL
-diff -uNr gcc/doc/tm.texi gcc/doc/tm.texi
---- gcc/doc/tm.texi	2012-01-26 16:48:27.000000000 -0500
-+++ gcc/doc/tm.texi	2012-06-08 08:54:25.000000000 -0400
-@@ -9487,6 +9487,10 @@
- True if the @code{.debug_pubtypes} and @code{.debug_pubnames} sections should be emitted.  These sections are not used on most platforms, and in particular GDB does not use them.
- @end deftypevr
- 
-+ at deftypevr {Target Hook} bool TARGET_FORCE_AT_COMP_DIR
-+True if the @code{DW_AT_comp_dir} attribute should be emitted for each  compilation unit.  This attribute is required for the darwin linker  to emit debug information.
-+ at end deftypevr
-+
- @deftypevr {Target Hook} bool TARGET_DELAY_SCHED2
- True if sched2 is not to be run at its normal place.  This usually means it will be run as part of machine-specific reorg.
- @end deftypevr
-diff -uNr gcc/doc/tm.texi.in gcc/doc/tm.texi.in
---- gcc/doc/tm.texi.in	2012-01-26 16:48:27.000000000 -0500
-+++ gcc/doc/tm.texi.in	2012-06-08 08:54:25.000000000 -0400
-@@ -9386,6 +9386,8 @@
- 
- @hook TARGET_WANT_DEBUG_PUB_SECTIONS
- 
-+ at hook TARGET_FORCE_AT_COMP_DIR
-+
- @hook TARGET_DELAY_SCHED2
- 
- @hook TARGET_DELAY_VARTRACK
-diff -uNr gcc/dwarf2out.c gcc/dwarf2out.c
---- gcc/dwarf2out.c	2012-06-04 09:24:24.000000000 -0400
-+++ gcc/dwarf2out.c	2012-06-08 08:54:25.000000000 -0400
-@@ -22501,7 +22501,7 @@
-   /* Add the name for the main input file now.  We delayed this from
-      dwarf2out_init to avoid complications with PCH.  */
-   add_name_attribute (comp_unit_die (), remap_debug_filename (filename));
--  if (!IS_ABSOLUTE_PATH (filename))
-+  if (!IS_ABSOLUTE_PATH (filename) || targetm.force_at_comp_dir)
-     add_comp_dir_attribute (comp_unit_die ());
-   else if (get_AT (comp_unit_die (), DW_AT_comp_dir) == NULL)
-     {
-diff -uNr gcc/target.def gcc/target.def
---- gcc/target.def	2012-01-26 16:48:27.000000000 -0500
-+++ gcc/target.def	2012-06-08 08:54:25.000000000 -0400
-@@ -2748,6 +2748,13 @@
-  bool, false)
- 
- DEFHOOKPOD
-+(force_at_comp_dir,
-+ "True if the @code{DW_AT_comp_dir} attribute should be emitted for each \
-+ compilation unit.  This attribute is required for the darwin linker \
-+ to emit debug information.",
-+ bool, false)
-+
-+DEFHOOKPOD
- (delay_sched2, "True if sched2 is not to be run at its normal place.  \
- This usually means it will be run as part of machine-specific reorg.",
- bool, false)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141119/8a3a1f4b/attachment.html>


More information about the macports-changes mailing list