From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71AF613835A for ; Mon, 28 Dec 2020 23:22:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CB9D2BC056; Mon, 28 Dec 2020 23:22:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 788152BC057 for ; Mon, 28 Dec 2020 23:22:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BC20341420 for ; Mon, 28 Dec 2020 23:22:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28B55493 for ; Mon, 28 Dec 2020 23:22:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1609197241.4b1221ec3844153cdb4b251eb457053ed20dd42c.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/fbc-bootstrap/files/, dev-lang/fbc-bootstrap/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/fbc-bootstrap/Manifest dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch dev-lang/fbc-bootstrap/metadata.xml X-VCS-Directories: dev-lang/fbc-bootstrap/files/ dev-lang/fbc-bootstrap/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 4b1221ec3844153cdb4b251eb457053ed20dd42c X-VCS-Branch: master Date: Mon, 28 Dec 2020 23:22:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5e80000c-95f0-4a56-9e7b-a98391f1ffd7 X-Archives-Hash: 8947f336fa42c1d98a7acfcc8b2a2e25 commit: 4b1221ec3844153cdb4b251eb457053ed20dd42c Author: William Breathitt Gray gmail com> AuthorDate: Mon Dec 28 23:08:35 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Dec 28 23:14:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b1221ec dev-lang/fbc-bootstrap: New package Signed-off-by: William Breathitt Gray gmail.com> dev-lang/fbc-bootstrap/Manifest | 1 + dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild | 26 ++++++++++++++++++++++ .../files/fbc-1.07.0-Pass-ltinfo-to-linker.patch | 25 +++++++++++++++++++++ dev-lang/fbc-bootstrap/metadata.xml | 17 ++++++++++++++ 4 files changed, 69 insertions(+) diff --git a/dev-lang/fbc-bootstrap/Manifest b/dev-lang/fbc-bootstrap/Manifest new file mode 100644 index 00000000..7b009089 --- /dev/null +++ b/dev-lang/fbc-bootstrap/Manifest @@ -0,0 +1 @@ +DIST FreeBASIC-1.07.2-source-bootstrap.tar.xz 10700992 BLAKE2B e7016e5f58ae79086c0445bf6a09f33d4335af771422778be407e3351d583522e16f137763e471ba88e47b4318ab5bd2aec882ef5e5ff85cc334b0eccf27fdc5 SHA512 f381d14343496f68d3401ad1a66ff4fb1314270eddebb72ed2bc5624b856c4b29e7e14062f531a5158d892bb73d9aa80ff54fe7c260b4b8967b1330d26b2ecfc diff --git a/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild new file mode 100644 index 00000000..747c02a5 --- /dev/null +++ b/dev-lang/fbc-bootstrap/fbc-bootstrap-1.07.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Bootstrap package for dev-lang/fbc" +HOMEPAGE="https://www.freebasic.net" +SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz" + +LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch ) + +S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap" + +src_compile() { + emake bootstrap-minimal +} + +src_install() { + newbin bin/fbc fbc-bootstrap + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes + emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib +} diff --git a/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch b/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch new file mode 100644 index 00000000..72bd51fa --- /dev/null +++ b/dev-lang/fbc-bootstrap/files/fbc-1.07.0-Pass-ltinfo-to-linker.patch @@ -0,0 +1,25 @@ +From c62adcd85c4e9d8b793a7a4f71fc88f6fbb79798 Mon Sep 17 00:00:00 2001 +From: William Breathitt Gray +Date: Tue, 27 Aug 2019 20:41:07 +0900 +Subject: [PATCH] Pass -ltinfo to linker + +--- + makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/makefile b/makefile +index e093bb1..eb3f759 100644 +--- a/makefile ++++ b/makefile +@@ -1109,7 +1109,7 @@ endif + # Use gcc to link fbc from the bootstrap .o's + # (assuming the rtlib was built already) + ifneq ($(filter darwin freebsd linux netbsd openbsd solaris,$(TARGET_OS)),) +- BOOTSTRAP_LIBS := -lncurses -lm -pthread ++ BOOTSTRAP_LIBS := -ltinfo -lncurses -lm -pthread + endif + $(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ) + $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS) +-- +2.22.1 + diff --git a/dev-lang/fbc-bootstrap/metadata.xml b/dev-lang/fbc-bootstrap/metadata.xml new file mode 100644 index 00000000..5ef896cc --- /dev/null +++ b/dev-lang/fbc-bootstrap/metadata.xml @@ -0,0 +1,17 @@ + + + + + This package is used only to boot strap dev-lang/fbc. + It is not meant to be used by end users directly. + + + vilhelm.gray@gmail.com + William Breathitt Gray + + + https://github.com/freebasic/fbc/issues + https://www.freebasic.net + freebasic/fbc + +