[22323] trunk/dports/math/octave

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 26 00:32:15 PST 2007


Revision: 22323
          http://trac.macosforge.org/projects/macports/changeset/22323
Author:   stechert at macports.org
Date:     2007-02-26 00:32:14 -0800 (Mon, 26 Feb 2007)

Log Message:
-----------
Commit Daniel Oberhoff's patch that fixes loading of mex files compiled with leading _'s in their function names

Modified Paths:
--------------
    trunk/dports/math/octave/Portfile

Added Paths:
-----------
    trunk/dports/math/octave/files/patch-dynamic-ld-cc

Modified: trunk/dports/math/octave/Portfile
===================================================================
--- trunk/dports/math/octave/Portfile	2007-02-26 08:07:53 UTC (rev 22322)
+++ trunk/dports/math/octave/Portfile	2007-02-26 08:32:14 UTC (rev 22323)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name		octave
 version		2.9.9
-revision	0
+revision	1
 categories	math science
 maintainers     andre at splunk.com
 platforms	darwin
@@ -23,7 +23,7 @@
 checksums	md5 a76a6d88f414285472896a63e4282b7f
 
 patch.args	-p1
-patchfiles	patch-configure
+patchfiles	patch-configure patch-dynamic-ld-cc
 
 depends_build   bin:texinfo:texinfo	\
 		bin:tex:teTeX \

Added: trunk/dports/math/octave/files/patch-dynamic-ld-cc
===================================================================
--- trunk/dports/math/octave/files/patch-dynamic-ld-cc	                        (rev 0)
+++ trunk/dports/math/octave/files/patch-dynamic-ld-cc	2007-02-26 08:32:14 UTC (rev 22323)
@@ -0,0 +1,14 @@
+--- octave-2.9.9.orig/src/dynamic-ld.cc	2007-02-25 19:16:09.000000000 +0100
++++ octave-2.9.9/src/dynamic-ld.cc	2007-02-25 18:44:29.000000000 +0100
+@@ -406,7 +406,11 @@
+ 	    {
+ 	      octave_mex_file_list::append (mex_file);
+ 
++#if defined (CXX_PREPENDS_UNDERSCORE)
++	      function = mex_file.search ("_mexFunction");
++#else
+ 	      function = mex_file.search ("mexFunction");
++#endif
+ 
+ 	      if (! function)
+ 		{

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070226/bf5f6d0b/attachment.html


More information about the macports-changes mailing list