[MacPorts] #40737: FLAC build OSX 10.9

MacPorts noreply at macports.org
Fri Oct 11 01:51:12 PDT 2013


#40737: FLAC build OSX 10.9
--------------------------------+--------------------------------
 Reporter:  mattbrocklehurst@…  |      Owner:  macports-tickets@…
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.2.99
 Keywords:                      |       Port:  flac
--------------------------------+--------------------------------
 FLAC won't build out of the box due to differences in the compiler receive
 a lot of duplicate symbol errors

 To fix

 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/flac/Portfile

 {{{
 patchfiles      patch-nasm.h.diff \
                 not89.patch \
                 patch-build_lib.mk.diff \
                 autoconf-no-xmms.patch
 }}}

 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/flac/files/not89.patch

 {{{
 --- configure.ac.original       2013-05-27 12:08:57.000000000 +0400
 +++ configure.ac           2013-10-10 00:42:58.000000000 +0400
 @@ -388,7 +388,11 @@
                 fi

         if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
 -               XIPH_ADD_CFLAGS([-fgnu89-inline])
 +               if $CC --version 2>&1| grep -q clang ; then
 +                   true
 +               else
 +                   XIPH_ADD_CFLAGS([-fgnu89-inline])
 +                   fi
                 fi
         fi

 }}}

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


More information about the macports-tickets mailing list