summaryrefslogtreecommitdiff
path: root/dev-util/tinlink
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
parentd1262423b614597cd55d30370eb8de6bfa8f0899 (diff)
gentoo auto-resync : 19:10:2022 - 01:57:29
Diffstat (limited to 'dev-util/tinlink')
-rw-r--r--dev-util/tinlink/Manifest3
-rw-r--r--dev-util/tinlink/files/tinlink-1.0.0-Add-missing-include-for-strlen.patch15
-rw-r--r--dev-util/tinlink/tinlink-1.0.0-r2.ebuild (renamed from dev-util/tinlink/tinlink-1.0.0-r1.ebuild)8
3 files changed, 23 insertions, 3 deletions
diff --git a/dev-util/tinlink/Manifest b/dev-util/tinlink/Manifest
index 3cb56bfa439f..5eaf02d2c929 100644
--- a/dev-util/tinlink/Manifest
+++ b/dev-util/tinlink/Manifest
@@ -1,3 +1,4 @@
+AUX tinlink-1.0.0-Add-missing-include-for-strlen.patch 452 BLAKE2B 6a3f787dd181efa4123d67fd5ef0239f340f4e238eb126cb49eef571d25edbf75b65ade09be7885a9114c6b5830c41f8f34c08dafece66e2792b9bec967f61eb SHA512 eb29517425eb0a17681233485f6f9b3b5900db9c12bab0baf4b0a64d247b674d82980de2f68d4a8e99e45f9450f625ef9cfa990bb3f023acba37f305d8646cb2
DIST tinlink-1.0.0.tar.gz 4726 BLAKE2B 7760043a6ee54ba8d675d3fc7b2edcc0c3ad19f73d228c3b77ca278b6b58668d302e63335ef0fa03e184f2c68b27a5822c898143912bfd1c323bc7f009e88e1f SHA512 30e81ecba9850caaedc6d295d6ae88a24b8799e1ab74158a3f98da17d68dd6b0dd23a7076f887114f695f1023e832225bff8c4c2044dc105763ef47b0111ebef
-EBUILD tinlink-1.0.0-r1.ebuild 529 BLAKE2B 54e46550e055e24dacc15ef36c1c46b5b262a999886c7405a2ad7014a854498d48c4ee17c803ee34d44895071156d99546819046658e39dba815f96fdb0d66c2 SHA512 6fd3c1178a518009e3716948e72453b51ab815d953d0981b951c5f8a1ada4d6fe646ecd7af785796a415d75d5a47503fbc5cf30e0b424fb6bb5050e1eea0cb0c
+EBUILD tinlink-1.0.0-r2.ebuild 606 BLAKE2B 16dad88b4ecda17dac2c5501a3f04e4b6dbbf1b9d77975ec44bee0b385a6d5881d3d66c9189cc4bf2f17fef680982044e577febb2c7ecbd7021d17f9e0f2e122 SHA512 4e1668ab83fc8e3d3e621e8b4e4d772ff06904c88d13c1484e247710ada89fd5d83962391554e6a1c5318e8bdccbe1808c54934af3eaeabd5f1f8508859459c4
MISC metadata.xml 257 BLAKE2B d3adc430e193b7b51e04bcaeea4720ce089f3c88a47aec8cf443a3f02bfe3c663bead6ed4ab24ae8a701ac1f63f5789d52ead301c615bce1555bf9c93393c199 SHA512 3644ae185f5b4ee916bd0c26528448022285b555db910d797bdec58ff17dc4282d08570b323ca12af451b9802c261a5f14ffe16a474bbbf269eb2edaf55a4e7e
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"
diff --git a/dev-util/tinlink/tinlink-1.0.0-r1.ebuild b/dev-util/tinlink/tinlink-1.0.0-r2.ebuild
index 2a2612b009a4..5c78fd98757c 100644
--- a/dev-util/tinlink/tinlink-1.0.0-r1.ebuild
+++ b/dev-util/tinlink/tinlink-1.0.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
@@ -13,6 +13,10 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.0-Add-missing-include-for-strlen.patch
+)
+
src_prepare() {
default
rm Makefile || die