freebsd-ports/graphics/nomacs
Raphael Kubo da Costa 9280ab52f2 Add a patch to drop CMake calls to QT5_WRAP_CPP().
cmake/Utils.cmake already sets CMAKE_AUTOMOC to on.

Calling QT5_WRAP_CPP() used to be just redundant, as QUAZIP_MOC_SRC and
LIBQPSD_MOC_SRC were never actually added as source dependencies in
MacBuildTarget.cmake and UnixBuildTarget.cmake. In other words, CMake's own
automoc infrastructure was actually being used and the moc invocations from
QT5_WRAP_CPP() were not being made at all.

Starting with Qt 5.9.4, calling QT5_WRAP_CPP() disables the AUTOMOC property on
the macro's input files, which means neither CMake's automoc infrastructure not
QT5_WRAP_CPP()'s code were being used and we ended up with several 'undefined
reference to vtable' errors when linking.

Sent upstream: https://github.com/nomacs/nomacs/pull/187

PR:		225436
2018-01-29 11:45:43 +00:00
..
files Add a patch to drop CMake calls to QT5_WRAP_CPP(). 2018-01-29 11:45:43 +00:00
distinfo Update nomacs to 3.6.1. 2017-09-15 18:31:22 +00:00
Makefile Update nomacs to 3.6.1. 2017-09-15 18:31:22 +00:00
pkg-descr
pkg-plist Update nomacs to 3.6.1. 2017-09-15 18:31:22 +00:00