#41890: dar: update to 2.4.11 and fix build on Mavericks ---------------------+-------------------------- Reporter: jan@… | Owner: ryandesign@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: dar | ---------------------+-------------------------- Comment (by ryandesign@…): It failed to build on the Snow Leopard buildslave (which uses gcc-4.2; the newer buildslaves use clang): {{{ mask_list.hpp:80: error: invalid pure specifier (only `= 0' is allowed) before ‘;’ token mask_list.hpp:80: error: initializer specified for non-virtual method ‘libdar::mask_list::my_char::my_char()’ }}} I could reproduce this on Mavericks by changing the compiler to either macports-llvm-gcc-4.2 or apple-gcc-4.2: {{{ sudo port install llvm-gcc42 sudo port install dar configure.compiler=macports-llvm-gcc-4.2 }}} {{{ sudo port install apple-gcc42 sudo port install dar configure.compiler=apple-gcc-4.2 }}} In r115111 I changed the port to only use the clang compatibility patch when the compiler is clang, but a better patch that works regardless of compiler is needed. -- Ticket URL: <https://trac.macports.org/ticket/41890#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X