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



Hello,

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.

Regards,
Andreas

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

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
.endif

Best regards,
Andreas
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