Opened 6 years ago

Closed 6 years ago

#55606 closed defect (fixed)

avidemux fails to build on high sierra

Reported by: rkupke Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: avidemux

Description

verify_noerr is an undefined symbol in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_avidemux/avidemux/work/avidemux_2.6.20/avidemux_plugins/ADM_audioDevices/AudioCore/ADM_deviceAudioCore.cpp

After some googling I found that Apple no longer provides the verify_noerr macro, but they replaced it with __Verify_noErr.

I changed the source file and got the port to build.

<https://github.com/WeAreROLI/JUCE/commit/d2967de994099b0a834d2d539745f10c258ae352> suggests a better fix:

#ifndef verify_noerr
#define verify_noerr(errorCode)  __Verify_noErr(errorCode)
#endif

Change History (2)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: rkupke@… removed

As reporter, you do not need to Cc yourself.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 2d1b40f52d21b07f9d98b209ab7edc7680866698/macports-ports:

avidemux: Fix build on High Sierra and later

Closes: #55606

Note: See TracTickets for help on using tickets.