[MacPorts] #41155: Preparing for new Octave release

MacPorts noreply at macports.org
Tue Jun 10 18:02:09 PDT 2014


#41155: Preparing for new Octave release
----------------------------+-------------------------
  Reporter:  kingcrimson@…  |      Owner:  michaelld@…
      Type:  update         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:  octave         |
----------------------------+-------------------------

Comment (by bpabbott@…):

 For future reference, I'm able to build the 3.8.2 release using Macports
 for dependencies, but needed to make two modifications.

 (1) Use the same gcc to build GraphicsMagick and Octave. For Octave, I
 used gcc-4.7, so I installed GraphicsMagick and instructed configure to
 use gcc-4.7 as well.
 {{{
 sudo port install GraphicsMagick +q32 configure.compiler=macports-gcc-4.7
 }}}
 The +q32 variant is also needed.

 (2) Edit libgnu/stdio.in.h and remove the lines below.
 {{{
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning; besides, C11
    removed it.  */
 #undef gets
 #if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41155#comment:46>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list