Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241232 - new ebuild: dev-util/duma
Summary: new ebuild: dev-util/duma
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 05:06 UTC by Elias Pipping
Modified: 2008-12-09 21:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against the ebuild (duma-ebuild.patch,1.82 KB, patch)
2008-10-11 05:06 UTC, Elias Pipping
Details | Diff
patch to make the target 'test' work (duma-2.5.8-check.patch,358 bytes, patch)
2008-10-11 05:07 UTC, Elias Pipping
Details | Diff
patch to add a missing include (duma-2.5.8-includes.patch,224 bytes, patch)
2008-10-11 05:07 UTC, Elias Pipping
Details | Diff
patch to make the wrapper run (duma-2.5.8-wrapper.patch,437 bytes, patch)
2008-10-11 05:07 UTC, Elias Pipping
Details | Diff
new diff against the ebuild (duma-ebuild.patch,1.94 KB, patch)
2008-10-11 10:36 UTC, Elias Pipping
Details | Diff
prefix patch (duma-2.5.8-prefix.patch,155 bytes, patch)
2008-10-11 10:37 UTC, Elias Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Pipping 2008-10-11 05:06:08 UTC
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.
Comment 1 Elias Pipping 2008-10-11 05:06:27 UTC
Created attachment 167972 [details, diff]
patch against the ebuild
Comment 2 Elias Pipping 2008-10-11 05:07:03 UTC
Created attachment 167974 [details, diff]
patch to make the target 'test' work
Comment 3 Elias Pipping 2008-10-11 05:07:24 UTC
Created attachment 167976 [details, diff]
patch to add a missing include
Comment 4 Elias Pipping 2008-10-11 05:07:46 UTC
Created attachment 167978 [details, diff]
patch to make the wrapper run
Comment 5 Elias Pipping 2008-10-11 10:34:09 UTC
false alarm. all is well. attaching new versions of the patches in a second.
Comment 6 Elias Pipping 2008-10-11 10:36:18 UTC
Created attachment 167992 [details, diff]
new diff against the ebuild
Comment 7 Elias Pipping 2008-10-11 10:37:12 UTC
Created attachment 167994 [details, diff]
prefix patch
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-02 19:59:28 UTC
(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 =/
Comment 9 Elias Pipping 2008-12-09 21:16:19 UTC
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
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-09 21:17:45 UTC
(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.