* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtecla/files/, dev-libs/libtecla/
@ 2022-12-07 14:34 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-12-07 14:34 UTC (permalink / raw
To: gentoo-commits
commit: 9ccc798ee0f285317f413cdb3ea4e9cd1eb2b874
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 7 14:30:43 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 7 14:30:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccc798e
dev-libs/libtecla: EAPI 8, fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libtecla/files/libtecla-1.6.3-configure-clang16.patch | 12 ++++++++++++
.../{libtecla-1.6.3.ebuild => libtecla-1.6.3-r1.ebuild} | 6 +++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-configure-clang16.patch b/dev-libs/libtecla/files/libtecla-1.6.3-configure-clang16.patch
new file mode 100644
index 000000000000..9a8a67df6f96
--- /dev/null
+++ b/dev-libs/libtecla/files/libtecla-1.6.3-configure-clang16.patch
@@ -0,0 +1,12 @@
+--- a/configure.in
++++ b/configure.in
+@@ -94,6 +94,9 @@ dnl statement.
+
+ AC_CANONICAL_SYSTEM
+
++dnl Needed for ptsname and friends.
++AC_USE_SYSTEM_EXTENSIONS
++
+ dnl In early versions of Solaris, some libraries are in /usr/ccs/lib,
+ dnl where gcc doesn't look. The tests below for the curses library
+ dnl would thus fail without this directory being added to the search
diff --git a/dev-libs/libtecla/libtecla-1.6.3.ebuild b/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
similarity index 92%
rename from dev-libs/libtecla/libtecla-1.6.3.ebuild
rename to dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
index 11d293e3468f..4487a6f6dfe6 100644
--- a/dev-libs/libtecla/libtecla-1.6.3.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="Tecla command-line editing library"
HOMEPAGE="https://www.astro.caltech.edu/~mcs/tecla/"
SRC_URI="https://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
+S="${WORKDIR}"/libtecla
LICENSE="icu"
SLOT="0"
@@ -17,8 +18,6 @@ IUSE="static-libs"
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
-S=${WORKDIR}/libtecla
-
PATCHES=(
"${FILESDIR}"/${PN}-1.6.1-install.patch
"${FILESDIR}"/${PN}-1.6.1-no-strip.patch
@@ -27,6 +26,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.6.1-prll-install.patch
"${FILESDIR}"/${PN}-1.6.3-static-libs.patch
"${FILESDIR}"/${PN}-1.6.3-secure-runpath.patch
+ "${FILESDIR}"/${PN}-1.6.3-configure-clang16.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtecla/files/, dev-libs/libtecla/
@ 2023-03-19 17:14 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2023-03-19 17:14 UTC (permalink / raw
To: gentoo-commits
commit: 8c02bac95717d67ba193b228a0c8202df9d949a3
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 17:13:58 2023 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 17:13:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c02bac9
dev-libs/libtecla: clean up ebuild
Closes: https://bugs.gentoo.org/891767
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-libs/libtecla/files/libtecla-1.6.1-install.patch | 5 ++---
dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch | 5 ++---
dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch | 2 --
dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch | 8 ++++----
dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch | 4 ++--
dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch | 4 ++--
dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch | 4 ++--
dev-libs/libtecla/libtecla-1.6.3-r1.ebuild | 10 ++--------
8 files changed, 16 insertions(+), 26 deletions(-)
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-install.patch b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch
index 999d46c58185..769b98c6abb5 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.1-install.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-install.patch
@@ -1,6 +1,5 @@
-diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in
---- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500
-+++ libtecla.new/Makefile.in 2008-06-03 08:59:27.000000000 -0400
+--- a/Makefile.in
++++ b/Makefile.in
@@ -15,10 +15,10 @@
prefix=@prefix@
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch
index 1935c3894f76..7c6461bb5060 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch
@@ -1,8 +1,7 @@
# prevent build system from stripping files (bug #239877).
-diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in
---- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500
-+++ libtecla.new/Makefile.in 2008-10-07 06:17:22.000000000 -0400
+--- a/Makefile.in
++++ b/Makefile.in
@@ -260,7 +260,7 @@
install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R)
progs="$(PROGRAMS) $(PROGRAMS_R)"; \
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch b/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch
index 1815f8571566..467cde20c2de 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.1-prll-install.patch
@@ -1,8 +1,6 @@
Makefile.in | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
-diff --git a/Makefile.in b/Makefile.in
-index a44371a..dfd44b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -217,7 +217,7 @@ install_inc: $(INCDIR)
diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch b/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch
index 68c9e947b987..67dcb3e71daa 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.3-ldflags.patch
@@ -1,5 +1,5 @@
---- libtecla/Makefile.rules.orig 2014-11-10 00:36:53.000000000 +0300
-+++ libtecla/Makefile.rules 2016-04-13 10:37:36.234418914 +0300
+--- a/Makefile.rules
++++ b/Makefile.rules
@@ -54,19 +54,19 @@
demos: $(DEMO_PROGS)
@@ -24,8 +24,8 @@
$(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS)
#-----------------------------------------------------------------------
---- libtecla/configure.in.orig 2014-11-10 01:15:29.000000000 +0300
-+++ libtecla/configure.in 2016-04-13 10:32:25.916263565 +0300
+--- a/configure.in
++++ b/configure.in
@@ -490,7 +490,7 @@
VERSION_OPT=''
fi
diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch b/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch
index 89f30a6ea31a..41e7b628b359 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.3-prll-build.patch
@@ -1,5 +1,5 @@
---- libtecla/Makefile.rules.orig 2016-04-13 11:13:10.000000000 +0300
-+++ libtecla/Makefile.rules 2016-04-13 11:17:45.628234106 +0300
+--- a/Makefile.rules
++++ b/Makefile.rules
@@ -165,5 +165,5 @@
# Include file dependencies.
#-----------------------------------------------------------------------
diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch b/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch
index b62104ae1d35..01552220e24a 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.3-secure-runpath.patch
@@ -1,5 +1,5 @@
---- libtecla/Makefile.rules.orig 2014-11-10 00:36:53.000000000 +0300
-+++ libtecla/Makefile.rules 2016-04-13 10:37:36.234418914 +0300
+--- a/Makefile.rules
++++ b/Makefile.rules
@@ -54,19 +54,19 @@
demos: $(DEMO_PROGS)
diff --git a/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch b/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch
index b88940e49b8b..0d7c14b6c172 100644
--- a/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch
+++ b/dev-libs/libtecla/files/libtecla-1.6.3-static-libs.patch
@@ -1,5 +1,5 @@
---- libtecla/configure.in.orig 2016-04-13 11:12:15.000000000 +0300
-+++ libtecla/configure.in 2016-04-13 11:43:05.632287268 +0300
+--- a/configure.in
++++ b/configure.in
@@ -426,6 +426,9 @@
AC_ARG_WITH(file-system, AC_HELP_STRING([--with-file-system], [Does the target have a filesystem (default=yes)]),
AC_DEFINE(WITHOUT_FILE_SYSTEM), )
diff --git a/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild b/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
index 4487a6f6dfe6..d0214a052aab 100644
--- a/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,12 +8,11 @@ inherit autotools flag-o-matic
DESCRIPTION="Tecla command-line editing library"
HOMEPAGE="https://www.astro.caltech.edu/~mcs/tecla/"
SRC_URI="https://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
-S="${WORKDIR}"/libtecla
+S="${WORKDIR}/libtecla"
LICENSE="icu"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ~riscv x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
@@ -31,14 +30,9 @@ PATCHES=(
src_prepare() {
default
- mv configure.in configure.ac || die
eautoreconf
}
-src_configure() {
- econf $(use_enable static-libs)
-}
-
src_compile() {
emake \
OPT="" \
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-19 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-07 14:34 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtecla/files/, dev-libs/libtecla/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-03-19 17:14 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox