On 10/26/07, Nagy Gabor <ngaba@bibl.u-szeged.hu> wrote:
Hm. I dunno why I said package.c; probably there was a glitch in my brain. Due to your wish I resubmit this trivial change too:
Note that to compile with --enable-debug, I had to make the following additional patch. Please make sure you test future patches with this option enabled (it makes gcc fail on all errors and warnings).
-Dan Hm. Thanks for the info. Just a question (a bit off): To tell the truth, I thought that I should use (char *)k->data, but I saw that alpm_splitdep(k->data) is used everywhere, and gcc is not so strict there. Why? Because of const char*? -- because when I changed the alpm_splitdep definition to "pmdepend_t *alpm_splitdep(const char *depstring);", pacman failed to compile with --enable-debug (incompatible pointer type warning). Note: The patch is malformed (linebreaks), but I could easily fix it to apply. Bye, ngaba