I checked out the latest CVS release of cdrdao today,
and noticed that if your system uses an alternate
malloc (i.e. one not in malloc.h) lec.cc fails to
build. So I modifed the configure.in to check for a
_working malloc_ and if there is a working malloc,
lec.cc uses this:
To include the file if necessary. I know that my Mac OS
X machine, for example, uses an alternate malloc
declared elsewhere, and I imagine other POSIX machines
may do so as well. The change has no effect on Linux or
other systems with a malloc.h, but it'll make the CVS
version compile out of the box.
(The patch was made with 'cvs diff' so you can apply it
with "patch -p0 -E < [patchfile])
Log in to post a comment.