[115518] trunk/dports/science/libANN
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 3 15:49:57 PST 2014
Revision: 115518
https://trac.macports.org/changeset/115518
Author: ryandesign at macports.org
Date: 2014-01-03 15:49:57 -0800 (Fri, 03 Jan 2014)
Log Message:
-----------
libANN: fix compile failure when g++ is clang++ (#41099)
Modified Paths:
--------------
trunk/dports/science/libANN/Portfile
Added Paths:
-----------
trunk/dports/science/libANN/files/
trunk/dports/science/libANN/files/patch-ann2fig-ann2fig.cpp.diff
Modified: trunk/dports/science/libANN/Portfile
===================================================================
--- trunk/dports/science/libANN/Portfile 2014-01-03 23:35:44 UTC (rev 115517)
+++ trunk/dports/science/libANN/Portfile 2014-01-03 23:49:57 UTC (rev 115518)
@@ -24,6 +24,8 @@
sha1 27ec04d55e244380ade3706a9b71c3d631e2ff1a \
rmd160 1b76b2f5c25c83c6d52a1a1e19e5b058ccf929d0
+patchfiles patch-ann2fig-ann2fig.cpp.diff
+
use_configure no
build.target macosx-g++
Added: trunk/dports/science/libANN/files/patch-ann2fig-ann2fig.cpp.diff
===================================================================
--- trunk/dports/science/libANN/files/patch-ann2fig-ann2fig.cpp.diff (rev 0)
+++ trunk/dports/science/libANN/files/patch-ann2fig-ann2fig.cpp.diff 2014-01-03 23:49:57 UTC (rev 115518)
@@ -0,0 +1,13 @@
+--- ann2fig/ann2fig.cpp.orig 2010-01-27 22:40:01.000000000 -0600
++++ ann2fig/ann2fig.cpp 2014-01-03 17:48:22.000000000 -0600
+@@ -580,8 +580,10 @@
+ // procedure.
+ //----------------------------------------------------------------------
+
++int
+ main(int argc, char **argv)
+ {
+ getArgs(argc, argv); // get input arguments
+ readANN(); // read the dump file
++ return 0;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140103/64bad32d/attachment.html>
More information about the macports-changes
mailing list