Hi, please find attached hashit-0.9.ebuild and a patch that corrects a segfault in one of the functions of this library. Hashit is a small library of generic hash table functions created by David G
Hi, please find attached hashit-0.9.ebuild and a patch that corrects a segfault in one of the functions of this library. Hashit is a small library of generic hash table functions created by David Gómez <david@pleyades.net> that I found extremely usefull in my own applications. I suggest dev-libs/hashit /Henrik H
Created attachment 33377 [details] hashit-0.9.ebuild
Created attachment 33378 [details, diff] hashit-0.9.patch Patch for hashit-0.9 which corrects a segfault in the hashit_getkeys() function, and small change to hashit.h that allows the library to be included by C++ applications.
Hmm, seams like I was too fast creating this ebuild. Sorry for this. It seams like when ebuild emerges the files from the sandbox it creates the softlink before it copies the file so the link will not created. Or something like that because the libhashit.so.0 cannot be found after an emerge even when it did print out that one was created... Running make install on the original package however does create this link.
try `make DESTDIR=${D} install` instead
Created attachment 33415 [details] hashit-0.9.ebuild Finally I got it work as it should!
Created attachment 33416 [details] hashit-0.9.ebuild Ok, I know that this is getting silly now, so I promise that this will be the last change that I do to this ebuild script now. I simply forgotten to add other arches than x86, since this is plain C code it should of course work on every arch. Really really sorry about this.
what's this ./0 in src_unpack for?
This library's author seams to like things his special way, so instead of a configure script he has a 0 script that basically does the same thing. He calls this MOBS (My Own Building System), it also uses a mobs.h file during configuration.
Created attachment 34561 [details] hashit-0.9.1.ebuild New version of the library, 0.9.1
in cvs.