diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-editors/ee | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'app-editors/ee')
| -rw-r--r-- | app-editors/ee/Manifest | 1 | ||||
| -rw-r--r-- | app-editors/ee/ee-1.5.2-r1.ebuild | 60 | ||||
| -rw-r--r-- | app-editors/ee/files/ee-Wformat-security.patch | 28 | ||||
| -rw-r--r-- | app-editors/ee/files/ee-gcc-10.patch | 22 | ||||
| -rw-r--r-- | app-editors/ee/files/ee-init-location.patch | 40 | ||||
| -rw-r--r-- | app-editors/ee/files/ee-signal.patch | 11 | ||||
| -rw-r--r-- | app-editors/ee/metadata.xml | 7 |
7 files changed, 169 insertions, 0 deletions
diff --git a/app-editors/ee/Manifest b/app-editors/ee/Manifest new file mode 100644 index 000000000000..a784e9819820 --- /dev/null +++ b/app-editors/ee/Manifest @@ -0,0 +1 @@ +DIST ee-1.5.2.src.tgz 69651 BLAKE2B 2d79b889ad5c97d4f2e134acec235f8f1dfbf0c697936de326be448e0bb193f06cbaeadf5a99050fc47f0526bbeb571522513f363695190c1801c62aee1594f2 SHA512 9ca0e82d65971b0bce38e09c365b6eb8b81ca6ff5b244107ae254322e47e841e7f5345bf242a0a9dd66b731d46cead6f442016b9e070a1298e1a5319b1d7b97a diff --git a/app-editors/ee/ee-1.5.2-r1.ebuild b/app-editors/ee/ee-1.5.2-r1.ebuild new file mode 100644 index 000000000000..ff2bd712b24d --- /dev/null +++ b/app-editors/ee/ee-1.5.2-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit toolchain-funcs + +DESCRIPTION="An easy to use text editor. A subset of aee" +#HOMEPAGE="http://mahon.cwx.net/ http://www.users.uswest.net/~hmahon/" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.src.tgz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~mips ppc ppc64 ~riscv ~sparc x86" +IUSE="" + +RDEPEND=" + !app-editors/ersatz-emacs + sys-libs/ncurses:= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/easyedit-${PV}" + +PATCHES=( + "${FILESDIR}"/${PN}-init-location.patch + "${FILESDIR}"/${PN}-signal.patch + "${FILESDIR}"/${PN}-Wformat-security.patch + "${FILESDIR}"/${PN}-gcc-10.patch +) +DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg ) + +src_prepare() { + sed -i \ + -e "s/make -/\$(MAKE) -/g" \ + -e "/^buildee/s/$/ localmake/" \ + Makefile + + sed -i \ + -e "s/\tcc /\t\\\\\$(CC) /" \ + -e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ + -e "/other_cflag/s/ *-s//" \ + -e "s/-lcurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \ + create.make + + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + einstalldocs + keepdir /usr/share/${PN} +} diff --git a/app-editors/ee/files/ee-Wformat-security.patch b/app-editors/ee/files/ee-Wformat-security.patch new file mode 100644 index 000000000000..6db64188347a --- /dev/null +++ b/app-editors/ee/files/ee-Wformat-security.patch @@ -0,0 +1,28 @@ +--- a/ee.c ++++ b/ee.c +@@ -2105,11 +2105,11 @@ + } + else if (!strcmp("-?", buff)) + { +- fprintf(stderr, usage0, arguments[0]); +- fprintf(stderr, usage1); +- fprintf(stderr, usage2); +- fprintf(stderr, usage3); +- fprintf(stderr, usage4); ++ fprintf(stderr, "%s", usage0, arguments[0]); ++ fprintf(stderr, "%s", usage1); ++ fprintf(stderr, "%s", usage2); ++ fprintf(stderr, "%s", usage3); ++ fprintf(stderr, "%s", usage4); + exit(1); + } + else if ((*buff == '+') && (start_at_line == NULL)) +@@ -3243,7 +3243,7 @@ + } + if (shell_fork) + { +- printf(continue_msg); ++ printf("%s", continue_msg); + fflush(stdout); + while ((in = getchar()) != '\n') + ; diff --git a/app-editors/ee/files/ee-gcc-10.patch b/app-editors/ee/files/ee-gcc-10.patch new file mode 100644 index 000000000000..2577d76f25f6 --- /dev/null +++ b/app-editors/ee/files/ee-gcc-10.patch @@ -0,0 +1,22 @@ +--- a/new_curse.c ++++ b/new_curse.c +@@ -83,6 +83,8 @@ + #endif + + ++struct _line *top_of_win; ++ + WINDOW *curscr; + static WINDOW *virtual_scr; + WINDOW *stdscr; +--- a/new_curse.h ++++ b/new_curse.h +@@ -161,7 +161,7 @@ + int number; + }; + +-struct _line *top_of_win; ++extern struct _line *top_of_win; + + typedef struct WIND { + int SR; /* starting row */ diff --git a/app-editors/ee/files/ee-init-location.patch b/app-editors/ee/files/ee-init-location.patch new file mode 100644 index 000000000000..5ac1e47ae962 --- /dev/null +++ b/app-editors/ee/files/ee-init-location.patch @@ -0,0 +1,40 @@ +--- a/ee.1 ++++ b/ee.1 +@@ -406,7 +406,7 @@ + .PP + Since different users have different preferences, \fIee\fR allows some + slight configurability. There are three possible locations for an +-initialization file for ee: the file \fI/usr/local/lib/init.ee\fR, the ++initialization file for ee: the file \fI/usr/share/ee/init.ee\fR, the + file \fI.init.ee\fR in the user's home directory, or the file \fI.init.ee\fR + in the current directory (if different from the home + directory). This allows system administrators to set some preferences for +@@ -414,7 +414,7 @@ + and the user to customize settings for particular directories (like one + for correspondence, and a different directory for programming). + .PP +-The file \fI\/usr/local/lib/init.ee\fR is read first, then ++The file \fI\/usr/share/ee/init.ee\fR is read first, then + \fI$HOME/.init.ee\fR, then \fI.init.ee\fR, with the settings specified by the + most recent file read taking precedence. + .PP +@@ -521,7 +521,7 @@ + may be too slow for slower systems. + .SH FILES + .PP +-.I /usr/local/lib/init.ee ++.I /usr/share/ee/init.ee + .br + .I $HOME/.init.ee + .br +--- a/ee.c ++++ b/ee.c +@@ -4124,7 +4124,7 @@ + } + + unsigned char *init_name[3] = { +- "/usr/local/lib/init.ee", ++ "/usr/share/ee/init.ee", + NULL, + ".init.ee" + }; diff --git a/app-editors/ee/files/ee-signal.patch b/app-editors/ee/files/ee-signal.patch new file mode 100644 index 000000000000..41cfa4013068 --- /dev/null +++ b/app-editors/ee/files/ee-signal.patch @@ -0,0 +1,11 @@ +--- a/ee.c ++++ b/ee.c +@@ -552,7 +552,7 @@ + { + int counter; + +- for (counter = 1; counter < SIGUNUSED; counter++) ++ for (counter = 1; counter < SIGSYS; counter++) + signal(counter, SIG_IGN); + + signal(SIGCHLD, SIG_DFL); diff --git a/app-editors/ee/metadata.xml b/app-editors/ee/metadata.xml new file mode 100644 index 000000000000..9a97f3478d31 --- /dev/null +++ b/app-editors/ee/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hattya@gentoo.org</email> + </maintainer> +</pkgmetadata> |
