Created attachment 352988 [details, diff] heimdal-1.5.3-db6.patch libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 -DHDB_DB_DIR=\"/var/heimdal\" -I./../krb5 -I/usr/include -I/usr/include/db6.0 -I/usr/include/et -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -march=barcelona -mtune=barcelona -O2 -pipe -fno-strict-aliasing -c db3.c -fPIC -DPIC -o .libs/db3.o db3.c: In function 'DB_open': db3.c:282:5: warning: passing argument 2 of 'd->open' from incompatible pointer type [enabled by default] db3.c:282:5: note: expected 'struct DB_TXN *' but argument is of type 'char *' db3.c:282:5: warning: passing argument 4 of 'd->open' makes pointer from integer without a cast [enabled by default] db3.c:282:5: note: expected 'const char *' but argument is of type 'int' db3.c:282:5: error: too few arguments to function 'd->open' db3.c:292:5: warning: passing argument 2 of 'd->open' from incompatible pointer type [enabled by default] db3.c:292:5: note: expected 'struct DB_TXN *' but argument is of type 'char *' db3.c:292:5: warning: passing argument 4 of 'd->open' makes pointer from integer without a cast [enabled by default] db3.c:292:5: note: expected 'const char *' but argument is of type 'int' db3.c:292:5: error: too few arguments to function 'd->open' db3.c: In function 'DB_rename': db3.c:159:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] db3.c:160:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] db3.c: In function 'DB_open': db3.c:267:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] make[3]: *** [db3.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib/hdb' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib/hdb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib' make: *** [all-recursive] Error 1 * ERROR: app-crypt/heimdal-1.5.3 failed (compile phase): * emake failed The attached patch (which replaces the heimdal_db5.patch file) fixes this problem.
Created attachment 353598 [details, diff] heimdal-1.5.3-db6.patch Official upstream fix.
+*heimdal-1.5.3-r1 (19 Jul 2013) + + 19 Jul 2013; Eray Aslan <eras@gentoo.org> +files/heimdal_db6.patch, + +heimdal-1.5.3-r1.ebuild: + Add support for db-6 thanks to Lars Wendler bug #476362 +