amarok-1.4.5-r1 compilation fails, due to wrong #includes directives, with the following error: In file included from fts1.c:23: /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>" A quick look throughout the sources reveals that, in src/sqlite, there are three files which include malloc.h : fts1.c - fts1_porter.c - fts1_tokenizer1.c The suggested fix is simple: #include <stdlib.h> instead of <malloc.h> on g/fbsd systems. The attached patch is based on the one included in the fbsd port.
Created attachment 111143 [details, diff] mallo/stdlin includes patch for g/fbsd
This should probably be filed upstream w/ sqlite, Amarok bundles a copy of sqlite libs so its their problem.
This is fixed in 1.4.6_pre version.