summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-05-20 14:55:25 +0200
committerJohannes Huber <johu@gentoo.org>2018-05-20 14:55:41 +0200
commit2b89b6d67d33d4362507574864d6ca811941d386 (patch)
tree20901613471e356df9789b999b80b6bdef701e9e /dev-embedded
parentdev-embedded/gputils: Remove 0.13.6-r1 (diff)
downloadgentoo-2b89b6d67d33d4362507574864d6ca811941d386.tar.gz
gentoo-2b89b6d67d33d4362507574864d6ca811941d386.tar.bz2
gentoo-2b89b6d67d33d4362507574864d6ca811941d386.zip
dev-embedded/gputils: Remove 0.13.7
Uses deprecated EAPI 2 and overshadowed by 1.5.0. Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/gputils/Manifest1
-rw-r--r--dev-embedded/gputils/files/gputils-0.13.7-strncat.patch94
-rw-r--r--dev-embedded/gputils/gputils-0.13.7.ebuild26
3 files changed, 0 insertions, 121 deletions
diff --git a/dev-embedded/gputils/Manifest b/dev-embedded/gputils/Manifest
index 6095093be79c..4e70dc3807a5 100644
--- a/dev-embedded/gputils/Manifest
+++ b/dev-embedded/gputils/Manifest
@@ -1,4 +1,3 @@
-DIST gputils-0.13.7.tar.gz 2670129 BLAKE2B df1978105d679d930b5d1707b9db5b833baea83d196ae1861c08b89726bebafe9f14521233634561f5beb72cc05fc4670faeff4353e518b40877c63b85075303 SHA512 4133a0281c125abb964d2451bfff422444f9816ebb4c17dcc8faa88829e7a84d6cb542cfb9acda397ef9f14a1979644fbcf29aa489cdf94fb6e26c99b2ee901b
DIST gputils-0.14.0.tar.gz 2802791 BLAKE2B 34c5da263a3a3bc1e24b85e03c9169e8e563742583eb34becd62bd9934a44238ff41ac95cb7c05bc552ee2b23110c178c5e87db4adc929e85699a471bfa07d5b SHA512 ca50c95fc81043f8672db0d5101831de65a536ce8e5061aabedfa340f821bc7eb6db7bea6f8923b239167ed65a17b1fe7d32d40e10e69b92d351ba408535f1d4
DIST gputils-0.14.1.tar.gz 3233430 BLAKE2B 16e9442636f525c936f81a02537732833184100d120ec9bff509fa362fb48753f3fbfd33053504e48b1933a701cd4a00129ced77c740bb83bdfc667db765ff5d SHA512 e32b7628377390a491b3455a7c5c89cf29b8dd4928f450c879d4d9de4416536265198346ba5b5fad073ac03c33af879ab8acc0a6d6d4713d5ef8c3ea94a4c4dd
DIST gputils-0.14.2.tar.gz 3257391 BLAKE2B 61a837bc90dea10867070ddb6422657ea69f1bc8a7e8992174043db1d443841ad6573db81d29ed453f80b4a8a51956d75ae70e85dd2f1b24ae5779832e72caa9 SHA512 80e3d488a043e6915e297951190fec2dfb8d073bee793a64e2574aa6c88ad3c180f6e541b71c3dc8f5b844766236293b7c37abd1461593f5d827fdb84cf65a6c
diff --git a/dev-embedded/gputils/files/gputils-0.13.7-strncat.patch b/dev-embedded/gputils/files/gputils-0.13.7-strncat.patch
deleted file mode 100644
index 577a4bf0328f..000000000000
--- a/dev-embedded/gputils/files/gputils-0.13.7-strncat.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-https://sourceforge.net/tracker/?func=detail&aid=3081197&group_id=41924&atid=431665
-https://sourceforge.net/tracker/?func=detail&aid=3081206&group_id=41924&atid=431665
-
---- a/gpasm/scan.c
-+++ b/gpasm/scan.c
-@@ -461,9 +461,7 @@ search_pathes(struct source_context *new, char *name)
- int i;
-
- for(i = 0; i < state.path_num; i++) {
-- strncpy(tryname, state.paths[i], sizeof(tryname));
-- strncat(tryname, COPY_CHAR, sizeof(tryname));
-- strncat(tryname, name, sizeof(tryname));
-+ snprintf(tryname, sizeof(tryname), "%s%s%s", state.paths[i], COPY_CHAR, name);
- new->f = fopen(tryname, "rt");
- if(new->f) {
- new->name = strdup(tryname);
---- a/gplink/gplink.c
-+++ b/gplink/gplink.c
-@@ -340,9 +340,7 @@ void gplink_open_coff(char *name)
- int i;
-
- for(i = 0; i < state.numpaths; i++) {
-- strncpy(file_name, state.paths[i], sizeof(file_name));
-- strncat(file_name, COPY_CHAR, sizeof(file_name));
-- strncat(file_name, name, sizeof(file_name));
-+ snprintf(file_name, sizeof(file_name), "%s%s%s", state.paths[i], COPY_CHAR, name);
- coff = fopen(file_name, "rb");
- if (coff != NULL) {
- break;
-@@ -695,9 +693,7 @@ linker(void)
- gp_error("linker script not specified and can't determine default script");
- return EXIT_FAILURE;
- }
-- strncpy(file_name, gp_lkr_path, sizeof(file_name));
-- strncat(file_name, COPY_CHAR, sizeof(file_name));
-- strncat(file_name, script_name, sizeof(file_name));
-+ snprintf(file_name, sizeof(file_name), "%s%s%s", gp_lkr_path, COPY_CHAR, script_name);
- gp_message("using default linker script \"%s\"", file_name);
- open_src(file_name, 0);
- yyparse();
---- a/gplink/scan.c
-+++ b/gplink/scan.c
-@@ -115,9 +115,7 @@ void open_src(char *name, int isinclude)
- int i;
-
- for(i = 0; i < state.numpaths; i++) {
-- strncpy(tryname, state.paths[i], sizeof(tryname));
-- strncat(tryname, COPY_CHAR, sizeof(tryname));
-- strncat(tryname, name, sizeof(tryname));
-+ snprintf(tryname, sizeof(tryname), "%s%s%s", state.paths[i], COPY_CHAR, name);
- new->f = fopen(tryname, "rt");
- if(new->f) {
- new->name = strdup(tryname);
---- a/gpasm/lst.c
-+++ b/gpasm/lst.c
-@@ -149,22 +149,23 @@ void lst_memory_map(MemBlock *m)
- }
-
- if(row_used) {
-- snprintf(buf, sizeof(buf), "%08x :", (i + base) << _16bit_core);
-+ int len = sizeof(buf);
-+ len -= snprintf(buf, len, "%08x :", (i + base) << _16bit_core);
- for (j = 0; j < num_per_line; j++) {
- if ((j % num_per_block) == 0) {
-- strncat(buf, " ", sizeof(buf));
-+ strncat(buf, " ", len--);
- }
- if (m->memory[i + j] & MEM_USED_MASK) {
-- strncat(buf, "X", sizeof(buf));
-+ strncat(buf, "X", len--);
- if (_16bit_core) {
- /* each word has two bytes */
-- strncat(buf, "X", sizeof(buf));
-+ strncat(buf, "X", len--);
- }
- } else {
-- strncat(buf, "-", sizeof(buf));
-+ strncat(buf, "-", len--);
- if (_16bit_core) {
- /* each word has two bytes */
-- strncat(buf, "-", sizeof(buf));
-+ strncat(buf, "-", len--);
- }
- }
- }
-@@ -404,7 +405,7 @@ void lst_format_line(char *src_line, int value)
- } else {
- snprintf(buf, sizeof(buf), " M ");
- }
-- strncat(m, buf, sizeof(m));
-+ strncat(m, buf, sizeof(m) - strlen(m));
-
- /* Now copy 'l' to 'e', expanding tabs as required */
- {
diff --git a/dev-embedded/gputils/gputils-0.13.7.ebuild b/dev-embedded/gputils/gputils-0.13.7.ebuild
deleted file mode 100644
index 9d12d799263e..000000000000
--- a/dev-embedded/gputils/gputils-0.13.7.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils
-
-DESCRIPTION="Tools including assembler, linker and librarian for PIC microcontrollers"
-HOMEPAGE="http://gputils.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-strncat.patch
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO doc/gputils.ps
- insinto /usr/share/doc/${PF}
- doins doc/gputils.pdf || die
-}