[fink:package-submissions] #5014 fix image-oct-2.2.1-3 to build against Xcode 9
Alexander Hansen via Fink-tracker <[email protected]> Tue, 10 Oct 2017 16:35:02 +0000
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/5014/f3f32fc29794f186b1ea4922185607b2029e3736.package-submissions@fink.p.sourceforge.net> |
- **status**: open --> closed
- **Group**: Undergoing_Validation --> Added_to_Fink
---
** [package-submissions:#5014] fix image-oct-2.2.1-3 to build against Xcode 9**
**Status:** closed
**Group:** Added_to_Fink
**Created:** Sat Sep 23, 2017 04:39 AM UTC by Jack Howarth
**Last Updated:** Sat Sep 23, 2017 04:40 AM UTC
**Owner:** Alexander Hansen
The attached info file contains the change...
~~~
Index: image-oct.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/libs/octmods/image-oct.info,v
retrieving revision 1.2
diff -u -r1.2 image-oct.info
--- image-oct.info 2 Nov 2015 23:30:07 -0000 1.2
+++ image-oct.info 23 Sep 2017 04:31:29 -0000
@@ -176,6 +176,8 @@
UseMaxBuildJobs: false
BuildAsNobody: false
+PatchScript: perl -pi -e 's|pow \(2|std\:\:pow \(2|g' src/bwdist.cc
+
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/opt/texinfo-legacy/bin:$PATH
~~~
required to eliminate the compile error...
~~~
bwdist.cc:541:20: error: call to 'pow' is ambiguous
if (numel >= pow (2, 32))
^~~
~~~
using Xcode 9 on 10.13. Tested with '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