public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2016-06-02  4:40 Austin English
  0 siblings, 0 replies; 20+ messages in thread
From: Austin English @ 2016-06-02  4:40 UTC (permalink / raw
  To: gentoo-commits

commit:     13ae730742810a428c02510c7ae5c237cf06d3a9
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 04:40:20 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 04:40:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ae7307

dev-lang/tcc: set myself as maintainer

Package-Manager: portage-2.2.26

 dev-lang/tcc/metadata.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml
index 6f49eba..56d7c44 100644
--- a/dev-lang/tcc/metadata.xml
+++ b/dev-lang/tcc/metadata.xml
@@ -1,5 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+  <maintainer type="person">
+    <email>wizardedit@gentoo.org</email>
+    <name>Austin English</name>
+  </maintainer>
+  <longdescription>
+  Tiny C compiler
+  </longdescription>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2017-12-18 21:11 Austin English
  0 siblings, 0 replies; 20+ messages in thread
From: Austin English @ 2017-12-18 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b8c9774cae106f0321bb303d7fdc712cdec6087f
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 20:38:19 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 21:06:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c9774c

dev-lang/tcc: update 9999 ebuild to EAPI 6

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-lang/tcc/tcc-9999.ebuild | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index 728ed94dbec..d55542ed7b7 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,17 +1,25 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
-
-inherit eutils toolchain-funcs git-r3
+EAPI="6"
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
 HOMEPAGE="http://bellard.org/tcc/"
-EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git"
+
+if [[ $PV == *9999* ]]; then
+	EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git"
+	KEYWORDS=""
+	SRC_URI=""
+	scm_eclass=git-r3
+else
+	KEYWORDS="~amd64 ~x86 ~amd64-linux"
+	SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+fi
+
+inherit toolchain-funcs ${scm_eclass}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS=""
 
 DEPEND="dev-lang/perl" # doc generation
 # Both tendra and tinycc install /usr/bin/tcc
@@ -32,6 +40,8 @@ src_prepare() {
 	# fix texi2html invocation
 	sed -i -e 's/-number//' Makefile || die
 	sed -i -e 's/--sections//' Makefile || die
+
+	eapply_user
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2017-12-18 21:11 Austin English
  0 siblings, 0 replies; 20+ messages in thread
From: Austin English @ 2017-12-18 21:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b4154fabf40ed0574cbb52b5d771f03ee57902fa
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 20:57:58 2017 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 21:06:08 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4154fab

dev-lang/tcc: version bump, 0.9.27

 dev-lang/tcc/Manifest          |  1 +
 dev-lang/tcc/tcc-0.9.27.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest
index 35efe36bd08..eaccaa273ef 100644
--- a/dev-lang/tcc/Manifest
+++ b/dev-lang/tcc/Manifest
@@ -1 +1,2 @@
 DIST tcc-0.9.26.tar.bz2 525906 BLAKE2B 588e387d563ddede9842ac9012df36520fb1596bd3047fda2684ab44e49f8c1a35c1560c2fee724933cfcad5d618d84df853b72e1fee144b551cb67f7af1558a SHA512 abdbe208498cf4865a2036b5426616f5888b9b0e8d5d2fda6d1dd4afab3386167f12eca87d8a5c4c9b7dc88620d983ddce3e874b7dfa9c21eceea29ffa635d53
+DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7

diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild
new file mode 100644
index 00000000000..9900cc9ea3a
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.27.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A very small C compiler for ix86/amd64"
+HOMEPAGE="http://bellard.org/tcc/"
+SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+
+DEPEND="dev-lang/perl" # doc generation
+# Both tendra and tinycc install /usr/bin/tcc
+RDEPEND="!dev-lang/tendra"
+IUSE="test"
+
+src_prepare() {
+	# Don't strip
+	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
+
+	# Fix examples
+	sed -i -e '1{
+		i#! /usr/bin/tcc -run
+		/^#!/d
+	}' examples/ex*.c || die
+	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
+
+	# Fix texi2html invocation
+	sed -i -e 's/-number//' Makefile || die
+	sed -i -e 's/--sections//' Makefile || die
+
+	eapply_user
+}
+
+src_configure() {
+	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
+					# better fixes welcome, it feels wrong to hack the env like this
+	# not autotools, so call configure directly
+	./configure --cc="$(tc-getCC)" \
+		--prefix="${EPREFIX}/usr" \
+		--libdir="${EPREFIX}/usr/$(get_libdir)" \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dodoc Changelog README TODO VERSION
+	#dohtml tcc-doc.html
+	exeinto /usr/share/doc/${PF}/examples
+	doexe examples/ex*.c
+}
+
+src_test() {
+	# this is using tcc bits that don't know as-needed etc.
+	TCCFLAGS="" emake test
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2018-05-13 19:20 Aaron Bauman
  0 siblings, 0 replies; 20+ messages in thread
From: Aaron Bauman @ 2018-05-13 19:20 UTC (permalink / raw
  To: gentoo-commits

commit:     e87ffca2fbd985a67f26249c3b270dc09b23fd66
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Mon May  7 10:41:37 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun May 13 19:18:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e87ffca2

dev-lang/tcc: use HTTPS

Closes: https://github.com/gentoo/gentoo/pull/8297

 dev-lang/tcc/tcc-0.9.26-r1.ebuild | 6 +++---
 dev-lang/tcc/tcc-0.9.26-r2.ebuild | 6 +++---
 dev-lang/tcc/tcc-0.9.26-r3.ebuild | 6 +++---
 dev-lang/tcc/tcc-0.9.27.ebuild    | 6 +++---
 dev-lang/tcc/tcc-9999.ebuild      | 8 ++++----
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.26-r1.ebuild b/dev-lang/tcc/tcc-0.9.26-r1.ebuild
index 4fbc6b2a7c0..07171a4fca7 100644
--- a/dev-lang/tcc/tcc-0.9.26-r1.ebuild
+++ b/dev-lang/tcc/tcc-0.9.26-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -6,8 +6,8 @@ EAPI="5"
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="http://bellard.org/tcc/"
-SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+HOMEPAGE="https://bellard.org/tcc/"
+SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"

diff --git a/dev-lang/tcc/tcc-0.9.26-r2.ebuild b/dev-lang/tcc/tcc-0.9.26-r2.ebuild
index 808555d4661..757cc7d58e0 100644
--- a/dev-lang/tcc/tcc-0.9.26-r2.ebuild
+++ b/dev-lang/tcc/tcc-0.9.26-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -6,8 +6,8 @@ EAPI="5"
 inherit eutils toolchain-funcs
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="http://bellard.org/tcc/"
-SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+HOMEPAGE="https://bellard.org/tcc/"
+SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"

diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
index cd260028a26..edcf65c95fd 100644
--- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild
+++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -6,8 +6,8 @@ EAPI="6"
 inherit toolchain-funcs
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="http://bellard.org/tcc/"
-SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+HOMEPAGE="https://bellard.org/tcc/"
+SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"

diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild
index 9900cc9ea3a..c9bb96edd47 100644
--- a/dev-lang/tcc/tcc-0.9.27.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -6,8 +6,8 @@ EAPI="6"
 inherit toolchain-funcs
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="http://bellard.org/tcc/"
-SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+HOMEPAGE="https://bellard.org/tcc/"
+SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 
 LICENSE="LGPL-2.1"
 SLOT="0"

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index d55542ed7b7..dbc3af48d0a 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="http://bellard.org/tcc/"
+HOMEPAGE="https://bellard.org/tcc/"
 
 if [[ $PV == *9999* ]]; then
-	EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git"
+	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"
 	KEYWORDS=""
 	SRC_URI=""
 	scm_eclass=git-r3
 else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux"
-	SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+	SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 fi
 
 inherit toolchain-funcs ${scm_eclass}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2019-04-09  3:14 Austin English
  0 siblings, 0 replies; 20+ messages in thread
From: Austin English @ 2019-04-09  3:14 UTC (permalink / raw
  To: gentoo-commits

commit:     a52a803513800b912112cbe95b343c4fc01dce82
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 02:48:20 2019 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 03:12:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52a8035

dev-lang/tcc: move my packages to maintainer-needed

Signed-off-by: Austin English <wizardedit <AT> gentoo.org>
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 dev-lang/tcc/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml
index 56d7c4404e3..91830b9b654 100644
--- a/dev-lang/tcc/metadata.xml
+++ b/dev-lang/tcc/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>wizardedit@gentoo.org</email>
-    <name>Austin English</name>
-  </maintainer>
+  <!-- maintainer-needed -->
   <longdescription>
   Tiny C compiler
   </longdescription>


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2019-04-11  4:10 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2019-04-11  4:10 UTC (permalink / raw
  To: gentoo-commits

commit:     786f85dfc4a702b112f8b9556b3ff05aff49cc82
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 04:03:32 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:06:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f85df

dev-lang/tcc: add myself to maintainer list

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/metadata.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml
index 91830b9b654..e9e27ec895b 100644
--- a/dev-lang/tcc/metadata.xml
+++ b/dev-lang/tcc/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <!-- maintainer-needed -->
-  <longdescription>
-  Tiny C compiler
-  </longdescription>
+	<maintainer type="person">
+		<email>dlan@gentoo.org</email>
+		<name>Yixun Lan</name>
+	</maintainer>
+	<longdescription>
+	Tiny C compiler
+	</longdescription>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2019-04-11  4:10 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2019-04-11  4:10 UTC (permalink / raw
  To: gentoo-commits

commit:     4d4f507034963974f35a339175819759305f0aed
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 04:07:16 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:07:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4f5070

dev-lang/tcc: drop old ebuilds

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.26-r1.ebuild | 66 ---------------------------------------
 dev-lang/tcc/tcc-0.9.26-r2.ebuild | 63 -------------------------------------
 2 files changed, 129 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.26-r1.ebuild b/dev-lang/tcc/tcc-0.9.26-r1.ebuild
deleted file mode 100644
index 07171a4fca7..00000000000
--- a/dev-lang/tcc/tcc-0.9.26-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="https://bellard.org/tcc/"
-SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
-IUSE="test"
-
-src_prepare() {
-	# Don't strip
-	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
-
-	# Fix examples
-	sed -i -e '1{
-		i#! /usr/bin/tcc -run
-		/^#!/d
-	}' examples/ex*.c || die
-	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
-
-	# fix texi2html invocation
-	sed -i -e 's/-number//' Makefile || die
-	sed -i -e 's/--sections//' Makefile || die
-}
-
-src_configure() {
-	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
-					# better fixes welcome, it feels wrong to hack the env like this
-	# not autotools, so call configure directly
-	./configure --cc="$(tc-getCC)" \
-		--bindir=/usr/bin \
-		--libdir=/usr/$(get_libdir) \
-		--tccdir=tcc \
-		--includedir=/usr/include \
-		--docdir=/usr/share/doc/${PF} \
-		--mandir=/usr/share/man
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc Changelog README TODO VERSION
-	#dohtml tcc-doc.html
-	exeinto /usr/share/doc/${PF}/examples
-	doexe examples/ex*.c
-}
-
-src_test() {
-	# this is using tcc bits that don't know as-needed etc.
-	TCCFLAGS="" emake test
-}

diff --git a/dev-lang/tcc/tcc-0.9.26-r2.ebuild b/dev-lang/tcc/tcc-0.9.26-r2.ebuild
deleted file mode 100644
index 757cc7d58e0..00000000000
--- a/dev-lang/tcc/tcc-0.9.26-r2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="https://bellard.org/tcc/"
-SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-
-DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
-IUSE="test"
-
-src_prepare() {
-	# Don't strip
-	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
-
-	# Fix examples
-	sed -i -e '1{
-		i#! /usr/bin/tcc -run
-		/^#!/d
-	}' examples/ex*.c || die
-	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
-
-	# fix texi2html invocation
-	sed -i -e 's/-number//' Makefile || die
-	sed -i -e 's/--sections//' Makefile || die
-}
-
-src_configure() {
-	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
-					# better fixes welcome, it feels wrong to hack the env like this
-	# not autotools, so call configure directly
-	./configure --cc="$(tc-getCC)" \
-		--prefix="${EPREFIX}/usr" \
-		--libdir="${EPREFIX}/usr/$(get_libdir)" \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc Changelog README TODO VERSION
-	#dohtml tcc-doc.html
-	exeinto /usr/share/doc/${PF}/examples
-	doexe examples/ex*.c
-}
-
-src_test() {
-	# this is using tcc bits that don't know as-needed etc.
-	TCCFLAGS="" emake test
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2020-02-14 22:40 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2020-02-14 22:40 UTC (permalink / raw
  To: gentoo-commits

commit:     ffb71239854e62bf0645ab14de142d8328b464cf
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 22:05:42 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 22:19:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb71239

dev-lang/tcc: QA: drop redundant long description

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml
index e9e27ec895b..4f503c94254 100644
--- a/dev-lang/tcc/metadata.xml
+++ b/dev-lang/tcc/metadata.xml
@@ -5,7 +5,4 @@
 		<email>dlan@gentoo.org</email>
 		<name>Yixun Lan</name>
 	</maintainer>
-	<longdescription>
-	Tiny C compiler
-	</longdescription>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2020-02-14 22:40 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2020-02-14 22:40 UTC (permalink / raw
  To: gentoo-commits

commit:     ba12c66a4cedacaffe949d6b91f63ec9f9185040
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 22:12:51 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 22:19:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba12c66a

dev-lang/tcc: QA: fix none existent blocker

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.26-r3.ebuild | 5 ++---
 dev-lang/tcc/tcc-0.9.27.ebuild    | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
index 9148d63ce5d..67fb6add1c2 100644
--- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild
+++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -14,8 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
 
 DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
+RDEPEND=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild
index 4fee67f37dc..7090fdeb01d 100644
--- a/dev-lang/tcc/tcc-0.9.27.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -14,8 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
 
 DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
+RDEPEND=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2021-10-25 12:35 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-10-25 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     717eba5b5cfb78b1438c348882b34c88b3dc173a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 12:34:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 12:35:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717eba5b

dev-lang/tcc: add 0.9.27_p20211022 (glibc-2.34, security fixes)

Upstream development seems to just be rolling now too.

Closes: https://bugs.gentoo.org/806511
Bug: https://bugs.gentoo.org/737092
Bug: https://bugs.gentoo.org/715428
Bug: https://bugs.gentoo.org/765652
Bug: https://bugs.gentoo.org/687114
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/Manifest                              |  1 +
 ...tcc-9999.ebuild => tcc-0.9.27_p20211022.ebuild} | 43 +++++++++++++---------
 dev-lang/tcc/tcc-9999.ebuild                       | 43 +++++++++++++---------
 3 files changed, 51 insertions(+), 36 deletions(-)

diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest
index 170ccf6bd97..fb3b05d6eec 100644
--- a/dev-lang/tcc/Manifest
+++ b/dev-lang/tcc/Manifest
@@ -1 +1,2 @@
 DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7
+DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
similarity index 75%
copy from dev-lang/tcc/tcc-9999.ebuild
copy to dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index 5aa530ef3af..f53743b5e6b 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -1,34 +1,42 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
+inherit toolchain-funcs
+
+MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
 HOMEPAGE="https://bellard.org/tcc/"
 
 if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"
-	SRC_URI=""
-	scm_eclass=git-r3
+	inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+	SRC_URI="https://repo.or.cz/tinycc.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/tinycc-1645616
 else
-	KEYWORDS="~amd64 ~x86 ~amd64-linux"
 	SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 fi
 
-inherit toolchain-funcs ${scm_eclass}
-
 LICENSE="LGPL-2.1"
 SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+	KEYWORDS="~amd64 ~x86 ~amd64-linux"
+fi
 
-DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
+BDEPEND="dev-lang/perl" # doc generation
 IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_prepare() {
+	default
+
 	# Don't strip
-	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
+	sed -i \
+		-e 's|$(INSTALL) -s|$(INSTALL)|' \
+		-e 's|STRIP_yes = -s|STRIP_yes =|' \
+		Makefile || die
 
 	# Fix examples
 	sed -i -e '1{
@@ -37,16 +45,15 @@ src_prepare() {
 	}' examples/ex*.c || die
 	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
 
-	# fix texi2html invocation
+	# Fix texi2html invocation
 	sed -i -e 's/-number//' Makefile || die
 	sed -i -e 's/--sections//' Makefile || die
-
-	eapply_user
 }
 
 src_configure() {
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
 					# better fixes welcome, it feels wrong to hack the env like this
+
 	# not autotools, so call configure directly
 	./configure --cc="$(tc-getCC)" \
 		--prefix="${EPREFIX}/usr" \
@@ -58,6 +65,11 @@ src_compile() {
 	emake AR="$(tc-getAR)"
 }
 
+src_test() {
+	# this is using tcc bits that don't know as-needed etc.
+	TCCFLAGS="" emake test
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
@@ -66,8 +78,3 @@ src_install() {
 	exeinto /usr/share/doc/${PF}/examples
 	doexe examples/ex*.c
 }
-
-src_test() {
-	# this is using tcc bits that don't know as-needed etc.
-	TCCFLAGS="" emake test
-}

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index 5aa530ef3af..f53743b5e6b 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,34 +1,42 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
+inherit toolchain-funcs
+
+MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
 HOMEPAGE="https://bellard.org/tcc/"
 
 if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"
-	SRC_URI=""
-	scm_eclass=git-r3
+	inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+	SRC_URI="https://repo.or.cz/tinycc.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/tinycc-1645616
 else
-	KEYWORDS="~amd64 ~x86 ~amd64-linux"
 	SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
 fi
 
-inherit toolchain-funcs ${scm_eclass}
-
 LICENSE="LGPL-2.1"
 SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+	KEYWORDS="~amd64 ~x86 ~amd64-linux"
+fi
 
-DEPEND="dev-lang/perl" # doc generation
-# Both tendra and tinycc install /usr/bin/tcc
-RDEPEND="!dev-lang/tendra"
+BDEPEND="dev-lang/perl" # doc generation
 IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_prepare() {
+	default
+
 	# Don't strip
-	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
+	sed -i \
+		-e 's|$(INSTALL) -s|$(INSTALL)|' \
+		-e 's|STRIP_yes = -s|STRIP_yes =|' \
+		Makefile || die
 
 	# Fix examples
 	sed -i -e '1{
@@ -37,16 +45,15 @@ src_prepare() {
 	}' examples/ex*.c || die
 	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
 
-	# fix texi2html invocation
+	# Fix texi2html invocation
 	sed -i -e 's/-number//' Makefile || die
 	sed -i -e 's/--sections//' Makefile || die
-
-	eapply_user
 }
 
 src_configure() {
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
 					# better fixes welcome, it feels wrong to hack the env like this
+
 	# not autotools, so call configure directly
 	./configure --cc="$(tc-getCC)" \
 		--prefix="${EPREFIX}/usr" \
@@ -58,6 +65,11 @@ src_compile() {
 	emake AR="$(tc-getAR)"
 }
 
+src_test() {
+	# this is using tcc bits that don't know as-needed etc.
+	TCCFLAGS="" emake test
+}
+
 src_install() {
 	emake DESTDIR="${D}" install
 
@@ -66,8 +78,3 @@ src_install() {
 	exeinto /usr/share/doc/${PF}/examples
 	doexe examples/ex*.c
 }
-
-src_test() {
-	# this is using tcc bits that don't know as-needed etc.
-	TCCFLAGS="" emake test
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2021-10-25 12:38 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-10-25 12:38 UTC (permalink / raw
  To: gentoo-commits

commit:     1adaddf5110adeaf1e3b84d1d15d42e66798c4ef
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 12:38:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 12:38:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adaddf5

dev-lang/tcc: add musl/uclibc support

Closes: https://bugs.gentoo.org/765652
Bug: https://bugs.gentoo.org/715428
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 6 ++++++
 dev-lang/tcc/tcc-9999.ebuild             | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index f53743b5e6b..3081fc06884 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -51,11 +51,17 @@ src_prepare() {
 }
 
 src_configure() {
+	local libc
+
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
 					# better fixes welcome, it feels wrong to hack the env like this
 
+	use elibc_musl && libc=musl
+	use elibc_uclibc && libc=uClibc
+
 	# not autotools, so call configure directly
 	./configure --cc="$(tc-getCC)" \
+		${libc:+--config-${libc}} \
 		--prefix="${EPREFIX}/usr" \
 		--libdir="${EPREFIX}/usr/$(get_libdir)" \
 		--docdir="${EPREFIX}/usr/share/doc/${PF}"

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index f53743b5e6b..3081fc06884 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -51,11 +51,17 @@ src_prepare() {
 }
 
 src_configure() {
+	local libc
+
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
 					# better fixes welcome, it feels wrong to hack the env like this
 
+	use elibc_musl && libc=musl
+	use elibc_uclibc && libc=uClibc
+
 	# not autotools, so call configure directly
 	./configure --cc="$(tc-getCC)" \
+		${libc:+--config-${libc}} \
 		--prefix="${EPREFIX}/usr" \
 		--libdir="${EPREFIX}/usr/$(get_libdir)" \
 		--docdir="${EPREFIX}/usr/share/doc/${PF}"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2021-10-25 13:01 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-10-25 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     fce1a7679fe7e09f4a8e930df1e692a4274346b1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 12:59:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 13:00:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce1a767

dev-lang/tcc: respect LDFLAGS, no pre-stripping

Two for the price of one!

Bug: https://bugs.gentoo.org/820200
Closes: https://bugs.gentoo.org/820191
Closes: https://bugs.gentoo.org/820188
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 dev-lang/tcc/tcc-9999.ebuild             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index fd9f2d5cc30..6d413376268 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -68,7 +68,7 @@ src_configure() {
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)"
+	emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index fd9f2d5cc30..6d413376268 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -68,7 +68,7 @@ src_configure() {
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)"
+	emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2021-10-25 13:01 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2021-10-25 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     20c0319f0a049ddc161fcf5d650a6458b035cb64
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 12:57:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 13:00:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c0319f

dev-lang/tcc: update HOMEPAGE

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 dev-lang/tcc/tcc-9999.ebuild             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index 3081fc06884..fd9f2d5cc30 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -7,7 +7,7 @@ inherit toolchain-funcs
 
 MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="https://bellard.org/tcc/"
+HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/"
 
 if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index 3081fc06884..fd9f2d5cc30 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -7,7 +7,7 @@ inherit toolchain-funcs
 
 MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="https://bellard.org/tcc/"
+HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/"
 
 if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2022-02-07  8:56 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2022-02-07  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     c221d61f1b77c554e329c144e5f9077dbd63bc53
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 08:55:20 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 08:55:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c221d61f

dev-lang/tcc: keyword ~riscv

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index a0b29c7f57b5..f99fb69925e6 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -22,7 +22,7 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 if [[ ${PV} != *9999* ]] ; then
-	KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
+	KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
 fi
 
 BDEPEND="dev-lang/perl" # doc generation


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2022-02-07  8:56 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2022-02-07  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     711adf4cd82b095e1ceffb1a63b39ae7edbea8c9
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 08:54:51 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 08:54:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711adf4c

dev-lang/tcc: keyword ~arm64

Closes: https://bugs.gentoo.org/832722
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index ebcf4086791e..a0b29c7f57b5 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -22,7 +22,7 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 if [[ ${PV} != *9999* ]] ; then
-	KEYWORDS="~amd64 ~x86 ~amd64-linux"
+	KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
 fi
 
 BDEPEND="dev-lang/perl" # doc generation


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2022-02-07  8:56 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2022-02-07  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     992a3fd5df31571b945e98a3a89d500aa4501c11
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 08:55:45 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 08:55:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992a3fd5

dev-lang/tcc: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/Manifest          |  1 -
 dev-lang/tcc/tcc-0.9.27.ebuild | 65 ------------------------------------------
 2 files changed, 66 deletions(-)

diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest
index fb3b05d6eecc..67b6967077d6 100644
--- a/dev-lang/tcc/Manifest
+++ b/dev-lang/tcc/Manifest
@@ -1,2 +1 @@
-DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7
 DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3

diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild
deleted file mode 100644
index 7090fdeb01d1..000000000000
--- a/dev-lang/tcc/tcc-0.9.27.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit toolchain-funcs
-
-DESCRIPTION="A very small C compiler for ix86/amd64"
-HOMEPAGE="https://bellard.org/tcc/"
-SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-
-DEPEND="dev-lang/perl" # doc generation
-RDEPEND=""
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-src_prepare() {
-	# Don't strip
-	sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die
-
-	# Fix examples
-	sed -i -e '1{
-		i#! /usr/bin/tcc -run
-		/^#!/d
-	}' examples/ex*.c || die
-	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
-
-	# Fix texi2html invocation
-	sed -i -e 's/-number//' Makefile || die
-	sed -i -e 's/--sections//' Makefile || die
-
-	eapply_user
-}
-
-src_configure() {
-	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
-					# better fixes welcome, it feels wrong to hack the env like this
-	# not autotools, so call configure directly
-	./configure --cc="$(tc-getCC)" \
-		--prefix="${EPREFIX}/usr" \
-		--libdir="${EPREFIX}/usr/$(get_libdir)" \
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	dodoc Changelog README TODO VERSION
-	#dohtml tcc-doc.html
-	exeinto /usr/share/doc/${PF}/examples
-	doexe examples/ex*.c
-}
-
-src_test() {
-	# this is using tcc bits that don't know as-needed etc.
-	TCCFLAGS="" emake test
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2023-01-04  0:28 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2023-01-04  0:28 UTC (permalink / raw
  To: gentoo-commits

commit:     1b2e36e1d2ca03a062d0fa4983a4168a691d422e
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 00:24:46 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 00:27:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2e36e1

dev-lang/tcc: fix shabang in man documentation

Closes: https://bugs.gentoo.org/888115
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 5 ++++-
 dev-lang/tcc/tcc-9999.ebuild             | 7 +++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index f99fb69925e6..a6f9afd599ac 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.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
@@ -45,6 +45,9 @@ src_prepare() {
 	}' examples/ex*.c || die
 	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
 
+	# bug 888115
+	sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die
+
 	# Fix texi2html invocation
 	sed -i -e 's/-number//' Makefile || die
 	sed -i -e 's/--sections//' Makefile || die

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index ebcf4086791e..a6f9afd599ac 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.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
@@ -22,7 +22,7 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 if [[ ${PV} != *9999* ]] ; then
-	KEYWORDS="~amd64 ~x86 ~amd64-linux"
+	KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
 fi
 
 BDEPEND="dev-lang/perl" # doc generation
@@ -45,6 +45,9 @@ src_prepare() {
 	}' examples/ex*.c || die
 	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
 
+	# bug 888115
+	sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die
+
 	# Fix texi2html invocation
 	sed -i -e 's/-number//' Makefile || die
 	sed -i -e 's/--sections//' Makefile || die


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2023-01-07 11:30 Arthur Zamarin
  0 siblings, 0 replies; 20+ messages in thread
From: Arthur Zamarin @ 2023-01-07 11:30 UTC (permalink / raw
  To: gentoo-commits

commit:     57495d9351909f9cc1ec293dadccd84de97ba3c8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  7 11:30:36 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 11:30:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57495d93

dev-lang/tcc: Stabilize 0.9.27_p20211022 amd64, #888111

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index a6f9afd599ac..9026c599b410 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -22,7 +22,7 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 if [[ ${PV} != *9999* ]] ; then
-	KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
+	KEYWORDS="amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
 fi
 
 BDEPEND="dev-lang/perl" # doc generation


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2023-03-03 19:46 Yixun Lan
  0 siblings, 0 replies; 20+ messages in thread
From: Yixun Lan @ 2023-03-03 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     1d2a55131eb4ebb5e1f3703b9f9b99cf528287f5
Author:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Feb 25 16:28:55 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Mar  3 19:46:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2a5513

dev-lang/tcc: add 20230223 snapshot

Closes: https://github.com/gentoo/gentoo/pull/29788
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-lang/tcc/Manifest                    |  1 +
 dev-lang/tcc/tcc-0.9.27_p20230223.ebuild | 88 ++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest
index 67b6967077d6..5d342ed19601 100644
--- a/dev-lang/tcc/Manifest
+++ b/dev-lang/tcc/Manifest
@@ -1 +1,2 @@
 DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3
+DIST tcc-0.9.27_p20230223.tar.gz 944179 BLAKE2B a8f77baf53846987f15a9005e100f109458e89805f0a6c7daafa55f8c22e0b47ca034cd8332839ef2a9e5840baa963e8a9185aa7fe4640ff89e5225f5be201b1 SHA512 335e40229572fa2dad82485d357349e26f4c999ea6622d3d3caa4b8eef357b2c5b56f76565e98073e57691b9adc919ded88ff015f9a95a86ce453392938b42f4

diff --git a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild
new file mode 100644
index 000000000000..c2d9231863d2
--- /dev/null
+++ b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_COMMIT="29ae3ed4d5b83eec43598d6cd7949bccb41c8083"
+DESCRIPTION="A very small C compiler for ix86/amd64"
+HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/"
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git"
+	inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+	SRC_URI="https://repo.or.cz/tinycc.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/tinycc-29ae3ed
+else
+	SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+	KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux"
+fi
+
+BDEPEND="dev-lang/perl" # doc generation
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_prepare() {
+	default
+
+	# Don't strip
+	sed -i \
+		-e 's|$(INSTALL) -s|$(INSTALL)|' \
+		-e 's|STRIP_yes = -s|STRIP_yes =|' \
+		Makefile || die
+
+	# Fix examples
+	sed -i -e '1{
+		i#! /usr/bin/tcc -run
+		/^#!/d
+	}' examples/ex*.c || die
+	sed -i -e '1s/$/ -lX11/' examples/ex4.c || die
+
+	# bug 888115
+	sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die
+
+	# Fix texi2html invocation
+	sed -i -e 's/-number//' Makefile || die
+	sed -i -e 's/--sections//' Makefile || die
+}
+
+src_configure() {
+	local libc
+
+	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
+					# better fixes welcome, it feels wrong to hack the env like this
+
+	use elibc_musl && libc=musl
+
+	# not autotools, so call configure directly
+	./configure --cc="$(tc-getCC)" \
+		${libc:+--config-${libc}} \
+		--prefix="${EPREFIX}/usr" \
+		--libdir="${EPREFIX}/usr/$(get_libdir)" \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}"
+}
+
+src_test() {
+	# this is using tcc bits that don't know as-needed etc.
+	TCCFLAGS="" emake test
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dodoc Changelog README TODO VERSION
+	#dohtml tcc-doc.html
+	exeinto /usr/share/doc/${PF}/examples
+	doexe examples/ex*.c
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
@ 2024-03-17  8:42 Sam James
  0 siblings, 0 replies; 20+ messages in thread
From: Sam James @ 2024-03-17  8:42 UTC (permalink / raw
  To: gentoo-commits

commit:     418e0544c39c797803d3bf0bafcd11682c4b6935
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 08:17:18 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 08:42:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418e0544

dev-lang/tcc: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/866815
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 11 +++++++++--
 dev-lang/tcc/tcc-0.9.27_p20230223.ebuild | 11 +++++++++--
 dev-lang/tcc/tcc-9999.ebuild             | 11 +++++++++--
 3 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index 9026c599b410..c26113ad0aff 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
@@ -54,6 +54,13 @@ src_prepare() {
 }
 
 src_configure() {
+	# fails tests
+	# https://bugs.gentoo.org/866815
+	#
+	# Also distributes static libraries:
+	# https://bugs.gentoo.org/926120
+	filter-lto
+
 	local libc
 
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise

diff --git a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild
index c2d9231863d2..700abda72d4c 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 MY_COMMIT="29ae3ed4d5b83eec43598d6cd7949bccb41c8083"
 DESCRIPTION="A very small C compiler for ix86/amd64"
@@ -54,6 +54,13 @@ src_prepare() {
 }
 
 src_configure() {
+	# fails tests
+	# https://bugs.gentoo.org/866815
+	#
+	# Also distributes static libraries:
+	# https://bugs.gentoo.org/926120
+	filter-lto
+
 	local libc
 
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index a6f9afd599ac..c9e9a83a18e4 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c"
 DESCRIPTION="A very small C compiler for ix86/amd64"
@@ -54,6 +54,13 @@ src_prepare() {
 }
 
 src_configure() {
+	# fails tests
+	# https://bugs.gentoo.org/866815
+	#
+	# Also distributes static libraries:
+	# https://bugs.gentoo.org/926120
+	filter-lto
+
 	local libc
 
 	use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-03-17  8:42 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-14 22:40 [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/ Yixun Lan
  -- strict thread matches above, loose matches on Subject: below --
2024-03-17  8:42 Sam James
2023-03-03 19:46 Yixun Lan
2023-01-07 11:30 Arthur Zamarin
2023-01-04  0:28 Yixun Lan
2022-02-07  8:56 Yixun Lan
2022-02-07  8:56 Yixun Lan
2022-02-07  8:56 Yixun Lan
2021-10-25 13:01 Sam James
2021-10-25 13:01 Sam James
2021-10-25 12:38 Sam James
2021-10-25 12:35 Sam James
2020-02-14 22:40 Yixun Lan
2019-04-11  4:10 Yixun Lan
2019-04-11  4:10 Yixun Lan
2019-04-09  3:14 Austin English
2018-05-13 19:20 Aaron Bauman
2017-12-18 21:11 Austin English
2017-12-18 21:11 Austin English
2016-06-02  4:40 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox