I've gotten duma to merge but it doesn't seem to work. If I compile this program pipping@quicksand $ cat bar.c #include <stdio.h> #include <stdlib.h> size_t const max_index = 200; int * test_alloc() { int * const tmp = calloc(100, sizeof(int)); if (!tmp) { fprintf(stderr, "couldn't allocate memory"); exit(EXIT_FAILURE); } return (tmp); } int main() { int * const ptr = test_alloc(); size_t i; for (i = 0; i < max_index; ++i) ptr[i] = 7; free(ptr); return (0); } pipping@quicksand $ gcc -Wall -Wextra bar.c -o bar pipping@quicksand $ nothing happens. pipping@quicksand $ duma ./bar pipping@quicksand $ Well it certainly should yell at me. Anyway, I've gotten the package this far and I'm attaching the patches that were needed.
Created attachment 167972 [details, diff] patch against the ebuild
Created attachment 167974 [details, diff] patch to make the target 'test' work
Created attachment 167976 [details, diff] patch to add a missing include
Created attachment 167978 [details, diff] patch to make the wrapper run
false alarm. all is well. attaching new versions of the patches in a second.
Created attachment 167992 [details, diff] new diff against the ebuild
Created attachment 167994 [details, diff] prefix patch
(In reply to comment #6) > Created an attachment (id=167992) [edit] > new diff against the ebuild > Latest duma is 2.5.13 and this patch does not apply against it =/
A working 2.5.13 is now in my overlay. The diff against the clean ecopy is http://repo.or.cz/w/portage-prefix-bleeding-edge-ebuilds.git?a=commit;h=7ac5ac74e4d03533ae08c2df9ca499d98a0cac81
(In reply to comment #8) > (In reply to comment #6) > > Created an attachment (id=167992) [edit] > > new diff against the ebuild > > > > Latest duma is 2.5.13 and this patch does not apply against it =/ > Took pipping's work from his overlay and put it into the Prefix tree.