summaryrefslogtreecommitdiff
path: root/dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-19 01:57:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-19 01:57:29 +0100
commit84a400be40cf32d9e536ae34ebf14ad06ad6b8d6 (patch)
tree96ec24229ee5d9a7ed293011d39fa5a6438cab2d /dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch
parentd1262423b614597cd55d30370eb8de6bfa8f0899 (diff)
gentoo auto-resync : 19:10:2022 - 01:57:29
Diffstat (limited to 'dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch')
-rw-r--r--dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch b/dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch
new file mode 100644
index 000000000000..6b4f8516b65a
--- /dev/null
+++ b/dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch
@@ -0,0 +1,15 @@
+From 38a37394194794217371d1213424646a77674ce6 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 18 Oct 2022 21:26:25 +0100
+Subject: [PATCH] Add missing include for strlen
+
+--- a/tinlink.c
++++ b/tinlink.c
+@@ -33,6 +33,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ #define DEFAULT_START (unsigned char *)(0x8000000+sizeof(Elf32_Ehdr)-8+sizeof(Elf32_Phdr)-2)
+ #define DEFAULT_OUTPUT "a.out"