[fink:package-submissions] #4922 fix gcc6_6.3.0-1 for builds against Xcode 9

Hanspeter Niederstrasser via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4922/9466a4aee16aaaa85ea75c1c76fc8e2ba756f8d1.package-submissions@fink.p.sourceforge.net>
The complaining headers are just a warning, not fatal. f-p-p will complain about any found header outside the directory tree it was called from. Since f-p-p is called from %b/../darwin_objdir, then anything in %b will be flagged. Fixing this is just silencing a warning and is not necessary (just cleaner).

What about the headers found from file-dev? I built gcc6 w/ and w/out file-dev installed and the binaries differed (by file size check). Have not checked for where the magic.h header is going into the build.


---

** [package-submissions:#4922] fix gcc6_6.3.0-1 for builds against Xcode 9**

**Status:** open
**Group:** Awaiting_Update_from_Submitter
**Labels:** languages Updated Revision of Existing 
**Created:** Thu Jun 08, 2017 08:31 PM UTC by Jack Howarth
**Last Updated:** Fri Jun 09, 2017 06:03 PM UTC
**Owner:** nobody


Apply the upstream fix for building gcc6-6.3.0-1 from gcc-6-branch

https://github.com/gcc-mirror/gcc/commit/76661a6d0a07f93730ff1f94887703b1df8f1c5b

with the Info file change...

~~~
Index: gcc6.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/languages/gcc6.info,v
retrieving revision 1.7
diff -u -r1.7 gcc6.info
--- gcc6.info	22 Dec 2016 06:13:16 -0000	1.7
+++ gcc6.info	8 Jun 2017 20:26:58 -0000
@@ -12,6 +12,8 @@
 # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848#c11
 PatchFile2: %n-boehmgc-hack.patch
 PatchFile2-MD5: 52fa69b98d5a657b7a6d8c26e39b4e28
+PatchFile3: %n-xcode9-fix.patch
+PatchFile3-MD5: c01f090afc34b17d17467fc974f1140a 
 PatchScript: <<
 	%{default_script}
 	# autoconf2.6ish patch for modern XQuartz paths
@@ -319,6 +321,7 @@
  PR71767 4/4 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00540.html
  PR57438 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00541.html
  PR67710 https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00545.html
+ https://gcc.gnu.org/ml/gcc-patches/2017-01/msg00053.html for Xcode 9
 <<
 Homepage: http://gcc.gnu.org/
 Maintainer: None <[email protected]>
~~~

and the attached gcc6-xcode9-fix.patch. Tested on 10.12 with Xcode 9 beta using 'fink -m'.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.