Re: octave-3.6.4-13 and octave-3.8.2-4

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
On Oct 27, 2014, at 6:19 AM, Jack Howarth <[email protected]> wrote:

> Alexander,
>      The linkage problems on Yosemite can be solved in the octave-3.6.4 and octave-3.8.2 packages with the following perl edit lines to adjust configure rather than appending to the respective patches. Can you commit this to 10.7 tree?
>        Thanks in advance.
>                Jack
> 
> --- octave-3.6.4.info.orig	2014-10-25 23:13:45.000000000 -0400
> +++ octave-3.6.4.info	2014-10-27 01:17:15.000000000 -0400
> @@ -2,7 +2,7 @@
>  Package: octave%type_pkg[-blas]%type_pkg[-x11]
>  Type: -blas (. -atlas -ref), oct (3.6.4), gcc (4.9), -x11 (boolean), lapack (3.5.0)
>  Version: 3.6.4
> -Revision: 12
> +Revision: 13
>  Maintainer: Alexander Hansen <[email protected]>
>  
>  BuildDepends: <<
> @@ -178,6 +178,9 @@
>  
>  	# instead of using flag-sort, ensure that the right sysdep.h is used
>  	grep -lr '#include "sysdep.h"' * | xargs perl -pi.orig -e 's,sysdep.h,%b/src/sysdep.h,'
> +
> +	# Patch configure to not link like Puma on Yosemite
> +	perl -pi.bak -e 's|10\.\[012\]\*\)|10\.\[012\]\[\,\.\]\*\)|g' configure
>  <<
>  
>  GCC: 4.0
> 
> 
> 
> --- octave-3.8.2.info.orig	2014-10-26 11:58:44.000000000 -0400
> +++ octave-3.8.2.info	2014-10-27 01:18:27.000000000 -0400
> @@ -2,7 +2,7 @@
>  Package: octave%type_pkg[-blas]%type_pkg[-x11]%type_pkg[-qtui]
>  Type: -blas (. -atlas -ref), oct (3.8.2), gcc (4.9), -x11 (boolean), lapack (3.5.0), java (1.6), -qtui (. -qtmac -qtx11)
>  Version: 3.8.2
> -Revision: 3
> +Revision: 4
>  
>  Description: MATLAB-like language for computations
>  Maintainer: Alexander Hansen <[email protected]>
> @@ -147,6 +147,9 @@
>  	if [ $osversion -ge 13 ] ; then
>  		patch -p1 < %{PatchFile3}
>  	fi
> +
> +	# Patch configure to not link like Puma on Yosemite
> +	perl -pi.bak -e 's|10\.\[012\]\*\)|10\.\[012\]\[\,\.\]\*\)|g' configure
>  <<
>  
>  GCC: 4.0
> 

Sounds good.  I’ve got another fix that I need to integrate into octave382 on Yosemite, so I’m just waiting for a build to finish successfully and I’ll do these at the same time as mine.

------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.