* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tls/files/, dev-tcltk/tls/
@ 2020-12-25 10:23 Alfredo Tupone
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2020-12-25 10:23 UTC (permalink / raw
To: gentoo-commits
commit: f5984479313966ba68b1bc7a18e9e354ea2b5835
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 10:23:33 2020 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 10:23:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5984479
dev-tcltk/tls: do not strip shared files
Closes: https://bugs.gentoo.org/756106
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tls/files/tls-1.7.22-ldflags.patch | 13 +++++++++++++
dev-tcltk/tls/tls-1.7.22.ebuild | 9 ++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch b/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch
new file mode 100644
index 00000000000..a5d8c083d31
--- /dev/null
+++ b/dev-tcltk/tls/files/tls-1.7.22-ldflags.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac 2020-12-25 11:05:31.312433864 +0100
++++ b/configure.ac 2020-12-25 11:05:42.692248123 +0100
+@@ -247,10 +247,8 @@
+
+ dnl Enable a stable ABI
+ DC_SETUP_STABLE_API([${srcdir}/tcltls.vers], tcltls.syms)
+-if test "$tcltls_debug" = 'true'; then
+ WEAKENSYMS=':'
+ REMOVESYMS=':'
+-fi
+
+ dnl Produce output
+ AC_OUTPUT(Makefile pkgIndex.tcl tcltls.syms)
diff --git a/dev-tcltk/tls/tls-1.7.22.ebuild b/dev-tcltk/tls/tls-1.7.22.ebuild
index c4f7c36511d..3def4d43f9e 100644
--- a/dev-tcltk/tls/tls-1.7.22.ebuild
+++ b/dev-tcltk/tls/tls-1.7.22.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils
+inherit autotools
MY_P="tcl${P}"
@@ -26,6 +26,13 @@ RESTRICT="test"
S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
--with-ssl-dir="${EPREFIX}/usr" \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tls/files/, dev-tcltk/tls/
@ 2023-03-15 8:11 Alfredo Tupone
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2023-03-15 8:11 UTC (permalink / raw
To: gentoo-commits
commit: e10c9e11e5a0b20366ee97618916b59497df830a
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 08:10:02 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 08:10:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10c9e11
dev-tcltk/tls: disable FORTIFY & fix warnings
Closes: https://bugs.gentoo.org/894302
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-tcltk/tls/files/tls-1.7.22-gcc11.patch | 38 ++++++++++++++++++++++
.../{tls-1.7.22.ebuild => tls-1.7.22-r1.ebuild} | 8 +++--
2 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/dev-tcltk/tls/files/tls-1.7.22-gcc11.patch b/dev-tcltk/tls/files/tls-1.7.22-gcc11.patch
new file mode 100644
index 000000000000..be58d47a2640
--- /dev/null
+++ b/dev-tcltk/tls/files/tls-1.7.22-gcc11.patch
@@ -0,0 +1,38 @@
+--- a/tlsBIO.c 2023-03-15 08:36:55.452468839 +0100
++++ b/tlsBIO.c 2023-03-15 08:37:20.480074701 +0100
+@@ -232,8 +232,12 @@
+ case BIO_CTRL_RESET:
+ dprintf("Got BIO_CTRL_RESET");
+ num = 0;
++ ret = 0;
++ break;
+ case BIO_C_FILE_SEEK:
+ dprintf("Got BIO_C_FILE_SEEK");
++ ret = 0;
++ break;
+ case BIO_C_FILE_TELL:
+ dprintf("Got BIO_C_FILE_TELL");
+ ret = 0;
+--- a/tls.c 2023-03-15 08:39:52.491651551 +0100
++++ b/tls.c 2023-03-15 08:41:44.543863094 +0100
+@@ -1424,7 +1424,8 @@
+ channelName = Tcl_GetStringFromObj(objv[2], NULL);
+ break;
+ }
+- /* else fall... */
++ Tcl_WrongNumArgs(interp, 1, objv, "?-local? channel");
++ return TCL_ERROR;
+ default:
+ Tcl_WrongNumArgs(interp, 1, objv, "?-local? channel");
+ return TCL_ERROR;
+--- a/aclocal.m4 2023-03-15 09:05:11.853965135 +0100
++++ b/aclocal.m4 2023-03-15 09:05:49.134383835 +0100
+@@ -689,7 +689,7 @@
+ TCLTLS_SSL_LIBS="-L$openssldir -lssl -lcrypto"
+ openssldir="`AS_DIRNAME(["$openssldir"])`"
+ else
+- TCLTLS_SSL_LIBS="-L$openssldir/lib -lssl -lcrypto"
++ TCLTLS_SSL_LIBS="-lssl -lcrypto"
+ fi
+ TCLTLS_SSL_CFLAGS="-I$openssldir/include"
+ TCLTLS_SSL_CPPFLAGS="-I$openssldir/include"
diff --git a/dev-tcltk/tls/tls-1.7.22.ebuild b/dev-tcltk/tls/tls-1.7.22-r1.ebuild
similarity index 87%
rename from dev-tcltk/tls/tls-1.7.22.ebuild
rename to dev-tcltk/tls/tls-1.7.22-r1.ebuild
index 53f983e10292..a0bb6f7c4f51 100644
--- a/dev-tcltk/tls/tls-1.7.22.ebuild
+++ b/dev-tcltk/tls/tls-1.7.22-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=6
@@ -26,7 +26,10 @@ RESTRICT="test"
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${P}-gcc11.patch
+)
src_prepare() {
default
@@ -35,6 +38,7 @@ src_prepare() {
src_configure() {
econf \
+ --disable-hardening \
--with-ssl-dir="${EPREFIX}/usr" \
--with-tcl="${EPREFIX}/usr/$(get_libdir)"
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-15 8:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-25 10:23 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tls/files/, dev-tcltk/tls/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2023-03-15 8:11 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox