[136817] trunk/dports/science/Gyoto

thibaut at macports.org thibaut at macports.org
Wed May 27 12:10:59 PDT 2015


Revision: 136817
          https://trac.macports.org/changeset/136817
Author:   thibaut at macports.org
Date:     2015-05-27 12:10:59 -0700 (Wed, 27 May 2015)
Log Message:
-----------
Gyoto: build-depend on doxygen to fix py*-gyoto build failure, patch GyotoScreen.h to fix build failure with earlier compilers

Modified Paths:
--------------
    trunk/dports/science/Gyoto/Portfile

Added Paths:
-----------
    trunk/dports/science/Gyoto/files/patch-include-GyotoScreen.h

Removed Paths:
-------------
    trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff

Modified: trunk/dports/science/Gyoto/Portfile
===================================================================
--- trunk/dports/science/Gyoto/Portfile	2015-05-27 17:52:38 UTC (rev 136816)
+++ trunk/dports/science/Gyoto/Portfile	2015-05-27 19:10:59 UTC (rev 136817)
@@ -21,6 +21,8 @@
 checksums           rmd160  773c9fe40ea2a17b5fad0b75a0f1376d28927d94 \
                     sha256  643c1955fdef5ec8747cd42a4fe075ddaeb822e924f9f49ba895a6f0d8832cb1
 
+depends_build       port:doxygen
+
 depends_lib         port:cfitsio \
                     port:xercesc3 \
                     port:udunits2 \
@@ -32,6 +34,9 @@
 # yorick is not universal
 universal_variant   no
 
+patchfiles          patch-include-GyotoScreen.h
+patch.pre_args      -p1
+
 configure.args      --with-yorick=${prefix}/bin/yorick \
                     --without-lorene \
                     --with-xerces \

Added: trunk/dports/science/Gyoto/files/patch-include-GyotoScreen.h
===================================================================
--- trunk/dports/science/Gyoto/files/patch-include-GyotoScreen.h	                        (rev 0)
+++ trunk/dports/science/Gyoto/files/patch-include-GyotoScreen.h	2015-05-27 19:10:59 UTC (rev 136817)
@@ -0,0 +1,13 @@
+diff --git a/include/GyotoScreen.h b/include/GyotoScreen.h
+index d32c4cb..2ed3140 100644
+--- a/include/GyotoScreen.h
++++ b/include/GyotoScreen.h
+@@ -37,7 +37,7 @@ template <typename T, size_t sz> class GYOTO_ARRAY {
+  private:
+   T buf[sz];
+  public:
+-  T& operator[](size_t c) { throwError("toto"); return buf[c] ; }
++  T& operator[](size_t c) { return buf[c] ; }
+ };
+ #endif
+ 

Deleted: trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff
===================================================================
--- trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff	2015-05-27 17:52:38 UTC (rev 136816)
+++ trunk/dports/science/Gyoto/files/patch-yorick-Makefile.in.diff	2015-05-27 19:10:59 UTC (rev 136817)
@@ -1,11 +0,0 @@
---- yorick/Makefile.in.orig	2014-10-21 07:15:34.000000000 -0500
-+++ yorick/Makefile.in	2014-10-31 05:15:45.000000000 -0500
-@@ -9,7 +9,7 @@
- # ----------------------------------------------------- optimization flags
- 
- # options for make command line, e.g.-   make COPT=-g TGT=exe
--COPT=$(COPT_DEFAULT) -L../lib -I../include
-+COPT=$(COPT_DEFAULT) -L../lib/.libs -I../include
- TGT=$(DEFAULT_TGT)
- 
- # ------------------------------------------------ macros for this package
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150527/11b4e1d8/attachment.html>


More information about the macports-changes mailing list