pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solved: ld problem with linux - patch for devel/kbuild


okay, i do some linux testings to create some packages.
So, I send my patches to the mailing list.

I hope, it's right/okay.


Kamil Rytarowski wrote:
On 29.11.2018 07:21, Andreas Beck wrote:

here a linux-patch for devel/kbuild or ld will fail.

.if ${OPSYS} == "Linux"
--- src/kmk/glob/glob.c~        2018-11-29 06:55:49.000000000 +0100
+++ src/kmk/glob/glob.c 2018-11-29 06:59:18.542248329 +0100
@@ -209,7 +209,7 @@ my_realloc (p, n)
  #endif /* __GNU_LIBRARY__ || __DJGPP__ */

-#if !defined __alloca && !defined __GNU_LIBRARY__
+#if !defined __alloca && defined __GNU_LIBRARY__

  # ifdef        __GNUC__
  #  undef alloca

Best regards,
We were already fixing gmake in src/ and we probably shall pull-up a fix
from its repo. I recall that this proposed here fix was wrong.

Home | Main Index | Thread Index | Old Index