Files
gentoo/dev-libs/bglibs/files/bglibs-2.04-prefix.patch
Alexey Sokolov 897f1c0224 dev-libs/bglibs: fix build with gcc 14
Closes: https://bugs.gentoo.org/938087
Closes: https://bugs.gentoo.org/944233
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-22 16:49:13 +00:00

15 lines
440 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -863,9 +863,8 @@ path/mktemp.lo path/mktemp.o: ltcompile path/mktemp.c systime.h include/bglibs/p
./ltcompile path/mktemp.c
perl-head.pl:
- ( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$$PATH"; export PATH; \
- perl=`which perl`; \
- echo "#! $$perl"; \
+ ( set -e; \
+ echo "#!/usr/bin/env perl"; \
echo "# WARNING: This file was auto-generated. Do not edit!"; \
echo ) >perl-head.pl