[fink:package-submissions] #4921 fix doxgen-1.8.3.1-1 build for Xcode 9
Hanspeter Niederstrasser via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/4921/59eae439f134aaa34934aa42ccb4ff0108ce77fc.package-submissions@fink.p.sourceforge.net> |
- **labels**: --> devel, update
- **status**: open --> closed-fixed
- **Group**: Undergoing_Validation --> Added_to_Fink
---
** [package-submissions:#4921] fix doxgen-1.8.3.1-1 build for Xcode 9**
**Status:** closed-fixed
**Group:** Added_to_Fink
**Labels:** devel update
**Created:** Wed Jun 07, 2017 04:25 PM UTC by Jack Howarth
**Last Updated:** Wed Jun 07, 2017 04:26 PM UTC
**Owner:** nobody
The doxygen incorrectly passes -D__FreeBSD__=6 on darwin, according to Jeremy Huddleston Sequoia, which causes the build to fail with....
~~~
In file included from ./qcstring.h:46:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h:88:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__config:163:11: fatal error: 'sys/endian.h' file not found
# include <sys/endian.h>
^~~~~~~~~~~~~~
1 warning and 1 error generated.
~~~
This is because the Xcode 9 release adds a new /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdlib.h file including...
~~~
#include <__config>
~~~
which tickles the include of the non-existant sys/endian.h header.
The trivial fix is the Info file change...
~~~
Index: doxygen.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/devel/doxygen.info,v
retrieving revision 1.2
diff -u -r1.2 doxygen.info
--- doxygen.info 11 Oct 2016 12:16:52 -0000 1.2
+++ doxygen.info 7 Jun 2017 16:24:58 -0000
@@ -18,6 +18,7 @@
PatchScript: <<
sed -e 's|@PREFIX@|%p|g' \
-e 's|@FINK_ARCH@|%m|g' <%{PatchFile} | patch -p1
+ perl -pi -e 's|-D__FreeBSD__=6||g' tmake/lib/macosx-c++/tmake.conf
<<
GCC: 4.0
CompileScript: <<
~~~
which passes 'fink -m' against Xcode 9 beta on 10.12.
---
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