[MacPorts] #57663: mpv at 0.29.1_1: failed to apply patch on SnowLeopard

MacPorts noreply at macports.org
Sat Jan 26 00:42:16 UTC 2019


#57663: mpv at 0.29.1_1: failed to apply patch on SnowLeopard
----------------------+---------------------------------------
  Reporter:  mrkapqa  |      Owner:  Ionic
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:  snowleopard leopard tiger
      Port:  mpv      |
----------------------+---------------------------------------

Comment (by kencu):

 In `./build/config.log`:
 {{{
 Checking for dynamic loader
 ==>
 #include <dlfcn.h>
 int main(int argc, char **argv)
 { dlopen("", 0); return 0; }
 <==
 [1/2] Compiling build/.conf_check_2467306bb4c40273d33afb00f51310ee/test.c

 ['/usr/bin/gcc-4.2', '-pipe', '-Os', '-I/opt/local/include/LegacySupport',
 '-I/opt/local/include/LegacySupport', '-arch', 'x86_64',
 '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE',
 '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall',
 '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-
 declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-
 optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror
 =format-security', '-Wno-redundant-decls', '-Wall', '-Wundef', '-Wmissing-
 prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-
 arith', '-Wno-pointer-sign', '-Wno-unused-result',
 '-DDEFAULT_DVD_DEVICE="/dev/rdiskN"',
 '-DDEFAULT_CDROM_DEVICE="/dev/disk1"', '-DHAVE_GPL=1', '-DHAVE_LIBAF=1',
 '-DHAVE_CPLAYER=1', '-DHAVE_BUILD_DATE=1', '-DHAVE_OPTIMIZE=1',
 '../test.c', '-c',
 '-o/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/build/.conf_check_2467306bb4c40273d33afb00f51310ee/testbuild/test.c.1.o',
 '-isystem/opt/local/include', '-I/opt/local/include/LegacySupport',
 '-I/opt/local/include/LegacySupport']
 err: cc1: error: unrecognized command line option "-Wno-unused-result"
 }}}

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


More information about the macports-tickets mailing list