[fink:package-submissions] #5015 fix signal-oct-1.3.0-1 to build against Xcode 9

Alexander Hansen via Fink-tracker <[email protected]> Tue, 10 Oct 2017 16:20:52 +0000
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/5015/132fd070cddff08eb6bb91d21076b3fa9a3ee53d.package-submissions@fink.p.sourceforge.net>
- **status**: open --> closed
- **Group**: Undergoing_Validation --> Added_to_Fink



---

** [package-submissions:#5015] fix signal-oct-1.3.0-1 to build against Xcode 9**

**Status:** closed
**Group:** Added_to_Fink
**Created:** Sat Sep 23, 2017 04:43 AM UTC by Jack Howarth
**Last Updated:** Sat Sep 23, 2017 04:44 AM UTC
**Owner:** Alexander Hansen


The attached info file contains the change...

~~~
Index: signal-oct.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/libs/octmods/signal-oct.info,v
retrieving revision 1.1
diff -u -r1.1 signal-oct.info
--- signal-oct.info	11 Sep 2015 16:31:37 -0000	1.1
+++ signal-oct.info	23 Sep 2017 04:31:29 -0000
@@ -209,6 +209,8 @@
 UseMaxBuildJobs: false
 BuildAsNobody: false
 
+PatchScript: perl -pi -e 's|pow\(10|std\:\:pow\(10|g' src/__ultrwin__.cc
+
 CompileScript: <<
 #!/bin/sh -ev
 
~~~

required to eliminate the compile error...

~~~
__ultrwin__.cc:204:29: error: call to 'pow' is ambiguous
      else xmu = cosh(acosh(pow(10, par/20))/(n-1)); /* Cheby 1st kind */
                            ^~~
~~~

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