make fails with: depbase=`echo diff-eix.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ i686-apple-darwin9-g++ -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=nocona -MT diff-eix.o -MD -MP -MF $depbase.Tpo -c -o diff-eix.o diff-eix.cc &&\ mv -f $depbase.Tpo $depbase.Po diff-eix.cc: In function 'void load_db(const char*, DBHeader*, PackageTree*)': diff-eix.cc:130: error: 'uint' was not declared in this scope diff-eix.cc: In function 'int run_diff_eix(int, char**)': diff-eix.cc:409: error: 'uint' was not declared in this scope make[2]: *** [diff-eix.o] Error 1 make[2]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/app-portage/eix-0.12.1/work/eix-0.12.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Volumes/Gentoo/var/tmp/portage/app-portage/eix-0.12.1/work/eix-0.12.1' make: *** [all] Error 2
weird, I just compiled this without any problem....
(In reply to comment #1) > weird, I just compiled this without any problem.... It doesn't work for me (I'm using Mac OS X 10.5.2). uint seems to be defined in sys/types.h and diff-eix.cc doesn't include it explicitly. Maybe some other header file includes it on your system, but not on mine?
ohw, I should say that on Tiger (10.4.11) it does work. So I should test/fix on Leopard...
Created attachment 147190 [details, diff] patch adding #include <sys/types.h> This patch makes eix compile for me (on Leopard).
eix-0.12.2 works (it no longer uses uint) and references this bug in the ChangeLog.
in the tree, fixzed. Thanks.