Bug#833667: freemat: FTBFS with LLVM 3.8

Graham Inggs ginggs at debian.org
Sun Aug 7 16:39:29 UTC 2016


Source: freemat
Version: 4.2+dfsg1-1
Severity: wishlist
Tags: patch


Hi Maintainer

Freemat currently FTBFS with LLVM 3.8, although LLVM 3.8 is not yet
the default in Sid.
I made the following minor changes:

In libs/libMatC/CJitFuncClang.cpp, include llvm/Config/llvm-config.h
instead of llvm/Config/config.h and remove the second include of
llvm/Config/config.h.

In CMakeLists.txt, link with clangTidyReadabilityModule instead of
clangTidyReadability.

I attempted to produce a patch against
debian/patches/12_update_clang_deps.patch but the result was not very
clear and the differing line endings made it difficult.  Attached is a
patch that should be applied after applying
debian/patches/12_update_clang_deps.patch.

Not being familiar with freemat, I was not able to do extensive
testing, but the package built and installed and I was able to open
the freemat gui and perform some basic operations.

LLVM 3.8 is already the default in Ubuntu and I would like to apply
this patch there, but I would appreciate it if you would please review
it first.

Regards
Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-build-with-LLVM3.8.patch
Type: application/x-patch
Size: 2052 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160807/11428a68/attachment.bin>


More information about the debian-science-maintainers mailing list