After the kdelibs update to 4.11.30 the CMake policies used by kdelibs-based
projects got stricter.
- Fix `make configure'. The upstream git repository has a add_subdirectory(doc)
call, but the code generating the release tarball also added a
macro_optional_add_subdirectory(doc) call that was causing CMake to error out
due to the same directory being added twice to the build system.
- Fix `make build' with the MUSEPACK option. The FindMuse.cmake patch from
r346999 was hardcoding MUSE_LIBRARIES the wrong way. The find_library() call
should have been kept, otherwise the linker is passed "-lmpcdec" instead of
"/full/path/to/libmpcdec.so".
- Revert r346996 entirely
- Bypass MUSEPACK detection (hardcode it as detected) to fix that option
- Bump - This was default options change
Approved by: makc
I committed a6a2ed3 to k3b's git tree some time ago. It is a patch by
avg@ improving the file and preventing some bugs from occurring. In
his own words in KDE git review request 103293:
Main idea of the change is to improve the case where SCSI sense data
is not automatically provided and has to be explicitly requested.
Current code essentially duplicates main transport code for this
task. The proposed code recursively calls into the transport code
with MMC_REQUEST_SENSE command. This also fixes a problem with the
existing code where it re-uses a CCB of the original command for sense
fetching but doesn't ensure that all the previously used bytes are
reset to proper values. This can result in a malformed
MMC_REQUEST_SENSE CCB which can confuse certain hardware (e.g. it
hangs Optiarc DVD RW AD-7191S 1.02). Also the style of the code is
cleaned up. Because of the code re-use the code is now more compact.
Additionally some historic and useless code was dropped - the code for
setting errno. errno value is not used by the calling code and this
is an artifact of the FreeBSD-specific code having been borrowed from
a different project (as attested by Heiner Eichmann
<h.eichmann@gmx.de>).
The current patch in the port now contains both commits 4ffc589 and
a6a2ed3 squashed together.
Bump PORTREVISION accordingly.
Submitted by: avg
Import commit d8f73a5 from upstream.
The scsi_sense_data struct has changed in 9 after r225950, so compilation
failed.
Instead of accessing the struct fields manually, we now use
scsi_extract_sense, which works fine in all our supported releases (there is
no change in terms of functionality).
Bump PORTREVISION.
Aproved by: avilla (mentor, implicit)
Thanks for all contributors to this port:
Alberto Villa <avilla@>
Andriy Gapon <avg@>
Dima Panov <fluffy@>
Ganael Laplanche <ganael.laplanche at martymac.com>
Jason E. Hale <bsdkaffee at gmail.com>
Juergen Lock <nox@>
All original patches were applied upstream. The new patches handle 2 small
gcc 2.95 related issues, a post 0.12.2 detected crash [1] and a CAM related
problem.
PR: ports/83126
Submitted by: Heiner Eichmann <h.eichmann@gmx.de> (maintainer)
lofi [1]
Note: upgraders from 0.11.6 or below should note the changed topic 3C
in pkg-message.
PR: ports/67238
Submitted by: Heiner Eichmann <h.eichmann at gmx dot de> (maintainer)