[MacPorts] #25942: aacgain 1.9 update

MacPorts noreply at macports.org
Fri Apr 13 17:48:33 UTC 2018


#25942: aacgain 1.9 update
-------------------------+--------------------------------
  Reporter:  ryandesign  |      Owner:  macports-tickets@…
      Type:  update      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  1.9.1
Resolution:              |   Keywords:
      Port:  aacgain     |
-------------------------+--------------------------------

Comment (by RichieB2B):

 You will need to run "configure" and "make" inside the faad2 and mp4v2
 subdirs before building aacgain itself. Doing so I ran into this:

 {{{
 /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
 -I./include -I./include -I. -I.  -Wall -Wformat -g -O2 -fvisibility=hidden
 -c -o src/bmff/typebmff.lo src/bmff/typebmff.cpp
 mkdir src/bmff/.libs
  g++ -DHAVE_CONFIG_H -I./include -I./include -I. -I. -Wall -Wformat -g -O2
 -fvisibility=hidden -c src/bmff/typebmff.cpp  -fno-common -DPIC -o
 src/bmff/.libs/typebmff.o
 src/bmff/typebmff.cpp:38:49: error: cannot define or redeclare 'data' here
 because namespace 'bmff' does not enclose namespace
 'Enum<mp4v2::impl::bmff::LanguageCode,
       mp4v2::impl::bmff::LanguageCode::ILC_UNDEFINED>'
 const EnumLanguageCode::Entry EnumLanguageCode::data[] = {
                               ~~~~~~~~~~~~~~~~~~^
 1 error generated.
 make: *** [src/bmff/typebmff.lo] Error 1
 }}}

 This can be fixed by adding these lines to mp4v2/src/src.h
 {{{
 #define _MSC_VER 2000
 #define strnicmp(x,y,z) strncasecmp(x,y,z)
 }}}

 After this aacgain is build just fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/25942#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list