pkgsrc-Users archive

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

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



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


Home | Main Index | Thread Index | Old Index