[fink:package-submissions] #5007 octave-3.8.2-12 to add patch for builds with Xcode 9
Jack Howarth via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/5007/9d50bde90f0ca325b2403003b6dafa42f7120a38.package-submissions@fink.p.sourceforge.net> |
Also opened radar://34482137 "10.13 only quarantines subpackages in JavaForOSX.pkg and not main package itself" about the confusing state of the Apple Java installer under 10.13 which currently leaves the user with the impression that Apple Java is being installed unless they know to examine the Installer Log and look for the quarantine errors.
---
** [package-submissions:#5007] octave-3.8.2-12 to add patch for builds with Xcode 9**
**Status:** open
**Group:** Awaiting_Update_from_Submitter
**Created:** Sun Sep 17, 2017 02:40 PM UTC by Jack Howarth
**Last Updated:** Sun Sep 17, 2017 09:49 PM UTC
**Owner:** Alexander Hansen
The attached info file and new patch allows the octave-3.8.2 package to build against Xcode 9 by eliminating the compile errors...
error: call to 'pow' is ambiguous
in liboctave/numeric/lo-specfun.cc and libinterp/corefcn/graphics.cc by using std::pow() instead of pow().
~~~
Index: octave-3.8.2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/sci/octave-3.8.2.info,v
retrieving revision 1.14
diff -u -r1.14 octave-3.8.2.info
--- octave-3.8.2.info 5 Dec 2016 23:42:06 -0000 1.14
+++ octave-3.8.2.info 17 Sep 2017 14:36:02 -0000
@@ -2,7 +2,7 @@
Package: octave%type_pkg[-blas]%type_pkg[-x11]%type_pkg[-qtui]
Type: -blas (. -atlas -ref), oct (3.8.2), gcc (5), -x11 (boolean), lapack (3.5.0), java (1.6), -qtui (. -qtmac -qtx11)
Version: 3.8.2
-Revision: 11
+Revision: 12
Distribution: ( %type_raw[-x11] = -x11 ) 10.9, ( %type_raw[-x11] = -x11 ) 10.10
Description: MATLAB-like language for computations
@@ -127,8 +127,9 @@
PatchFile4-MD5: 835421dac7a1217e9bbee8437d9aae63
PatchFile5: %{ni}-%v-dont-use-included-texinfo-texmfcnf.patch
PatchFile5-MD5: a72fed2655902d004b52fd93a8fe3987
-#PatchFile6: %{ni}-%v-escape-backslash-for-texinfo-in-source.patch
-#PatchFile6-MD5: badc9ddc64ac9818a86abda9954458fc
+PatchFile6: %{ni}-%v-xcode9.patch
+PatchFile6-MD5: 4ae29343cec4dde59e19246d25c27633
+
PatchScript: <<
#!/bin/sh -ev
@@ -143,7 +144,9 @@
#Additional patches from Debian for docs
patch -p1 < %{PatchFile4}
patch -p1 < %{PatchFile5}
-# patch -p1 < %{PatchFile6}
+
+ # Patch for Xcode 9
+ patch -p1 < %{PatchFile6}
# Patch configure not to link like Puma on Yosemite
perl -pi -e 's/(10\.\[012\])\*/\1\,.\*/' configure
~~~
Tested on 10.12 with 'fink -m' against Xcode 9 GM.
---
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