This is the output when i try to emerge dev-util/indent-2.2.9-r2 In file included from texinfo2man.c:2: /usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>" gmake[2]: *** [texinfo2man.o] Error 1 gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 !!! ERROR: dev-util/indent-2.2.9-r2 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. This is the output of emerge info Portage 2.0.51.22 (!/usr/local/portage/profiles/default-bsd/fbsd/5.4/x86, gcc-, freebsd-lib-5.4-r2, 5.4-RELEASE i386) ================================================================= System uname: 5.4-RELEASE i386 i386 Gentoo/FreeBSD: FreeBSD version 5.4-RELEASE; Gentoo base version 0.7 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15, 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 5.4 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd5.4" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -m3dnow -msse -mmmx" CHOST="i686-gentoo-freebsd5.4" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -m3dnow -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="candy distlocks" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd 3dnow 3dnowext X a52 aac arts bash-completion browserplugin crypt dvd dvdr estraier ffmpeg flac freetype gstreamer gtk gtk2 jpeg kde kdeenablefinal matroska moznocompose moznoirc moznomail moznoxft mozsvg mp3 mpeg nocxx offensive ogg oggvorbis opengl oss pam perl png python qt quicktime readline real slang spell ssl symlink tiff truetype truetype-fonts type1-fonts unicode visualization vorbis win32codecs wxwindows xine xml2 xscreensaver xv xvid zlib userland_BSD kernel_FreeBSD elibc_FreeBSD" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 64671 [details, diff] Fix the wrong malloc.h include
I've fixed this with a slight different approach.