<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/46dbf3a817d477803fdc3e2650c014bf9f86a125">https://github.com/macports/macports-ports/commit/46dbf3a817d477803fdc3e2650c014bf9f86a125</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 46dbf3a817d stellarium: add patch to disable limiting OSX_ARCHITECURES
</span>46dbf3a817d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 46dbf3a817d477803fdc3e2650c014bf9f86a125
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu Sep 30 11:57:29 2021 -0400

<span style='display:block; white-space:pre;color:#404040;'>    stellarium: add patch to disable limiting OSX_ARCHITECURES
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    let 'port' figure this out
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/62413
</span>---
 science/stellarium/Portfile                        | 5 +++--
 science/stellarium/files/patch-CMakeLists.txt.diff | 9 +++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/stellarium/Portfile b/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1346aa4219a..c246a086fa1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/stellarium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,7 +23,7 @@ github.setup        Stellarium stellarium 0.21.1 v
</span> checksums           rmd160  c4a69f8b9bab6e9f3e1885c68139bf2ff6016130 \
                     sha256  c7893ac0f64d186f2feaebcfbb79a3306c71adf6005ef894b44c0d8a04e32f20 \
                     size    362256651
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> 
 # builds as 64-bit only, according to its top-level CMakeLists.txt file
 universal_variant   no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,7 +42,8 @@ depends_lib-append \
</span>     port:fontconfig \
     port:freetype
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# fix the install prefix for MP use only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# (1) fix the install prefix for MP use only;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# (2) disable limiting OSX_ARCHITECURES, let 'port' figure this out.
</span> patchfiles-append patch-CMakeLists.txt.diff
 
 compiler.c_standard   2011
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/stellarium/files/patch-CMakeLists.txt.diff b/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index bcb835b38b9..2a3f4c4f38d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/stellarium/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,14 @@
</span> --- CMakeLists.txt.orig
 +++ CMakeLists.txt
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -294,7 +294,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-common -Wall -Wextra -Wno-unused-parameter")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+      # We support only 64 bits MacOSX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-     SET(CMAKE_OSX_ARCHITECTURES "x86_64")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++     # SET(CMAKE_OSX_ARCHITECTURES "x86_64")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENDIF()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This activates Link Time Optimization on recent GCC
</span> @@ -626,7 +626,7 @@
  ########### Set some global variables ###########
  IF(UNIX AND NOT WIN32)
</pre><pre style='margin:0'>

</pre>