diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-util/btyacc | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-util/btyacc')
| -rw-r--r-- | dev-util/btyacc/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/btyacc/btyacc-3.0-r4.ebuild | 39 | ||||
| -rw-r--r-- | dev-util/btyacc/btyacc-3.0-r5.ebuild | 40 | ||||
| -rw-r--r-- | dev-util/btyacc/files/btyacc-3.0-c99.patch | 45 | ||||
| -rw-r--r-- | dev-util/btyacc/files/btyacc-3.0-includes.patch | 10 | ||||
| -rw-r--r-- | dev-util/btyacc/files/btyacc-3.0-makefile.patch | 22 | ||||
| -rw-r--r-- | dev-util/btyacc/metadata.xml | 9 |
7 files changed, 0 insertions, 166 deletions
diff --git a/dev-util/btyacc/Manifest b/dev-util/btyacc/Manifest deleted file mode 100644 index bf4f2918a8b8..000000000000 --- a/dev-util/btyacc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST btyacc-3-0.tar.gz 74770 BLAKE2B 298d6ba020a47a8d894044c464c12efd3ed94b878cd152f4287a35fc0a8ec490186b7603909691cbf036f425fa96316c6cda8b8270b07e3c5c0cd11777d5e62b SHA512 55312e3de7cc783e1386ea98c97464d8d40bb496ce2ce36c84cc559e4c6982fbac730e76b8d44c4a44565f545ac50fb75f802bd8a1b4c926b1fc1af1a0058ef4 diff --git a/dev-util/btyacc/btyacc-3.0-r4.ebuild b/dev-util/btyacc/btyacc-3.0-r4.ebuild deleted file mode 100644 index 289a13528216..000000000000 --- a/dev-util/btyacc/btyacc-3.0-r4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -MY_P="${PN}-3-0" -DESCRIPTION="Backtracking YACC - modified from Berkeley YACC" -HOMEPAGE="https://www.siber.com/btyacc" -SRC_URI="https://www.siber.com/btyacc/${MY_P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}/${P}-includes.patch" - "${FILESDIR}/${P}-makefile.patch" -) - -src_prepare() { - cp -av Makefile{,.orig} || die - default - # fix memory issue/glibc corruption - sed -i -e "s|len + 13|len + 14|" main.c || die "Could not fix main.c" -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - dobin btyacc - dodoc README README.BYACC - newman manpage btyacc.1 -} diff --git a/dev-util/btyacc/btyacc-3.0-r5.ebuild b/dev-util/btyacc/btyacc-3.0-r5.ebuild deleted file mode 100644 index 379837fe52c8..000000000000 --- a/dev-util/btyacc/btyacc-3.0-r5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -MY_P="${PN}-3-0" -DESCRIPTION="Backtracking YACC - modified from Berkeley YACC" -HOMEPAGE="https://www.siber.com/btyacc" -SRC_URI="https://www.siber.com/btyacc/${MY_P}.tar.gz" -S="${WORKDIR}" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -PATCHES=( - "${FILESDIR}/${P}-includes.patch" - "${FILESDIR}/${P}-makefile.patch" - "${FILESDIR}/${P}-c99.patch" -) - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_test() { - local file - for file in "${S}"/test/*.y; do - "${S}"/btyacc "${file}" || die - rm y_tab.c || die - done -} - -src_install() { - dobin btyacc - dodoc README README.BYACC - newman manpage btyacc.1 -} diff --git a/dev-util/btyacc/files/btyacc-3.0-c99.patch b/dev-util/btyacc/files/btyacc-3.0-c99.patch deleted file mode 100644 index f34a78949e96..000000000000 --- a/dev-util/btyacc/files/btyacc-3.0-c99.patch +++ /dev/null @@ -1,45 +0,0 @@ -Fold sed that fixed https://bugs.gentoo.org/361013 into patch -Correct type for signal handler that ignores argument. -https://bugs.gentoo.org/880971 ---- a/defs.h -+++ b/defs.h -@@ -391,7 +391,7 @@ - - /* main.c */ - void done(int); --void onintr(void); -+void onintr(int); - void set_signals(void); - void usage(void); - void getargs(int, char **); ---- a/main.c -+++ b/main.c -@@ -76,7 +76,7 @@ - } - - --void onintr() -+void onintr(int ignored) //signal handler - { - done(1); - } -@@ -264,7 +264,7 @@ - if (tmpdir == 0) tmpdir = DEFAULT_TMPDIR; - - len = strlen(tmpdir); -- i = len + 13; -+ i = len + 14; - if (len && tmpdir[len-1] != DIR_CHAR) - ++i; - ---- a/reader.c -+++ b/reader.c -@@ -291,7 +291,7 @@ - cachec(NUL); - - if ((key = bsearch(cache, keywords, sizeof(keywords)/sizeof(*key), -- sizeof(*key), strcmp))) -+ sizeof(*key), (int (*)(const void*, const void*))strcmp))) - return key->token; - } else { - ++cptr; diff --git a/dev-util/btyacc/files/btyacc-3.0-includes.patch b/dev-util/btyacc/files/btyacc-3.0-includes.patch deleted file mode 100644 index e415574213eb..000000000000 --- a/dev-util/btyacc/files/btyacc-3.0-includes.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/mstring.c -+++ b/mstring.c -@@ -1,6 +1,7 @@ - #include <stdlib.h> - #include <stdio.h> - #include <stdarg.h> -+#include <string.h> - #include <ctype.h> - #include "mstring.h" - diff --git a/dev-util/btyacc/files/btyacc-3.0-makefile.patch b/dev-util/btyacc/files/btyacc-3.0-makefile.patch deleted file mode 100644 index d55ff4317652..000000000000 --- a/dev-util/btyacc/files/btyacc-3.0-makefile.patch +++ /dev/null @@ -1,22 +0,0 @@ -Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer - ---- a/Makefile 1999-07-15 19:40:12.000000000 +0200 -+++ b/Makefile 2009-09-04 15:27:15.000000000 +0200 -@@ -8,14 +8,13 @@ - - HDRS = defs.h mstring.h - --CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes -+CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes - --LDFLAGS = -static -+LDFLAGS += - - LIBS = - --CC = gcc --LINKER = gcc -+LINKER = $(CC) - # LINKER = cl - # CC = cl - diff --git a/dev-util/btyacc/metadata.xml b/dev-util/btyacc/metadata.xml deleted file mode 100644 index 6295db35d2b3..000000000000 --- a/dev-util/btyacc/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
