Menu

#5014 fix image-oct-2.2.1-3 to build against Xcode 9

Added_to_Fink
closed
None
5
2017-10-10
2017-09-23
No

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'

Discussion

  • Jack Howarth

    Jack Howarth - 2017-09-23

    Info file to ix image-oct-2.2.1-3 to build against Xcode 9

     
  • Alexander Hansen

    • status: open --> closed
    • Group: Undergoing_Validation --> Added_to_Fink
     

Log in to post a comment.