pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Fix for sysutils/entr build failure on Linux
Hi all,
entr's Makefile.linux was updated to use strlcpy() added in glibc 2.38,
but distributions like Debian don't ship that yet, leading to a build
failure.
Workaround below. OK to commit?
I've opened an upstream ticket here:
https://github.com/eradman/entr/issues/154
Sijmen
Index: sysutils/entr/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/entr/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- sysutils/entr/Makefile 11 Aug 2024 09:56:20 -0000 1.27
+++ sysutils/entr/Makefile 20 Nov 2024 18:25:55 -0000
@@ -31,4 +31,8 @@
REPLACE_BASH+= system_test.sh
.endif
+.if ${OPSYS} == "Linux" # strlcpy() on glibc <2.38
+.include "../../devel/libbsd/buildlink3.mk"
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index