Opened 11 years ago
Closed 11 years ago
#40737 closed defect (worksforme)
FLAC build OSX 10.9
Reported by: | mattbrocklehurst@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.99 |
Keywords: | mavericks haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), macports.org@… |
Port: | flac |
Description
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
Change History (8)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks haspatch added |
---|
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
flac builds fine for me on Maverics without any patches. Are you sure you followed the migration instructions and installed Xcode and the command line tools correctly?
comment:4 Changed 11 years ago by mattbrocklehurst@…
thats weird, i definitely couldn't get it to build without the above patch.... are you using the latest XCode 5 dp? i think im still on Xcode 5 DP 3 maybe they've altered the compiler build in later Xcode DP releases?
comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
No, I'm not a member of the developer program. I'm using the released versions of Mavericks 10.9 and Xcode 5.0.1 as installed from the Mac App Store.
comment:6 Changed 11 years ago by mattbrocklehurst@…
I hadn't noticed they'd released Mavericks (must of been asleep!)... i'll sort out my dev enviroment to release builds and then will try again and will let you know, cheers!
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Assuming that fixed it. Please re-open if not.
Could you point me to the upstream bug report about this issue?