mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
sys-devel/dev86: remove unnecessary package
Remove unnecessary package sys-apps/dev86. We can do so because sys-firmware/vgabios is now gone.
This commit is contained in:
parent
c8219909ce
commit
94a78bda6c
@ -1,94 +0,0 @@
|
||||
# ChangeLog for sys-devel/dev86
|
||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*dev86-0.16.21 (09 Aug 2015)
|
||||
*dev86-0.16.19 (09 Aug 2015)
|
||||
|
||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +dev86-0.16.19.ebuild,
|
||||
+dev86-0.16.21.ebuild, +files/dev86-0.16.17-fortify.patch,
|
||||
+files/dev86-0.16.17-make382.patch, +files/dev86-0.16.19-fortify.patch,
|
||||
+files/dev86-0.16.19-memmove.patch, +files/dev86-pic.patch, +metadata.xml:
|
||||
proj/gentoo: Initial commit
|
||||
|
||||
This commit represents a new era for Gentoo:
|
||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
||||
|
||||
This commit is the start of the NEW history.
|
||||
Any historical data is intended to be grafted onto this point.
|
||||
|
||||
Creation process:
|
||||
1. Take final CVS checkout snapshot
|
||||
2. Remove ALL ChangeLog* files
|
||||
3. Transform all Manifests to thin
|
||||
4. Remove empty Manifests
|
||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
||||
|
||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
||||
tests
|
||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
||||
project
|
||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
||||
developer, wrote Git features for the migration
|
||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
||||
cvs2svn
|
||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
||||
work in migration
|
||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
||||
the bikeshed
|
||||
|
||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||
Use https by default
|
||||
|
||||
Convert all URLs for sites supporting encrypted connections from http to
|
||||
https
|
||||
|
||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||
|
||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
||||
|
||||
repoman does not yet accept the https version.
|
||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
||||
|
||||
Bug: https://bugs.gentoo.org/552720
|
||||
|
||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
||||
Remove explicit notion of maintainer-needed, for GLEP 67
|
||||
|
||||
GLEP 67 removes the explicit notion of maintainer-needed@g.o being used
|
||||
for packages lacking maintainers, in favor of assuming maintainer-needed
|
||||
whenever the package has no maintainers.
|
||||
|
||||
*dev86-0.16.21-r1 (06 Feb 2016)
|
||||
|
||||
06 Feb 2016; David Seifert <soap@gentoo.org> +dev86-0.16.21-r1.ebuild,
|
||||
+files/dev86-0.16.21-non-void-return-clang.patch, files/dev86-pic.patch:
|
||||
Include patch for building with clang
|
||||
|
||||
Gentoo-Bug: 523096
|
||||
* EAPI=6
|
||||
* Amend patches for -p1
|
||||
* Thanks Fabio Scaccabarozzi for the patch
|
||||
|
||||
Package-Manager: portage-2.2.27
|
||||
|
||||
*dev86-0.16.21-r2 (12 Feb 2016)
|
||||
|
||||
12 Feb 2016; David Seifert <soap@gentoo.org> -dev86-0.16.21-r1.ebuild,
|
||||
+dev86-0.16.21-r2.ebuild:
|
||||
Revbump to fix broken symlink
|
||||
|
||||
Gentoo-Bug: 574014
|
||||
|
||||
Package-Manager: portage-2.2.27
|
||||
|
||||
28 Feb 2016; Ulrich Müller <ulm@gentoo.org> metadata.xml:
|
||||
metadata.xml: Add maintainer-needed comment to packages without maintainer.
|
||||
|
||||
Bug: 575810
|
||||
|
@ -1,134 +0,0 @@
|
||||
# ChangeLog for sys-devel/dev86
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-devel/dev86/ChangeLog,v 1.31 2015/04/04 06:18:43 mr_bones_ Exp $
|
||||
|
||||
04 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org> -dev86-0.16.20.ebuild:
|
||||
old
|
||||
|
||||
*dev86-0.16.21 (12 Jun 2014)
|
||||
|
||||
12 Jun 2014; Lars Wendler <polynomial-c@gentoo.org> -dev86-0.16.17-r6.ebuild,
|
||||
-dev86-0.16.18.ebuild, +dev86-0.16.21.ebuild:
|
||||
Version bump. Removed old.
|
||||
|
||||
18 May 2014; Mike Frysinger <vapier@gentoo.org> dev86-0.16.20.ebuild:
|
||||
Add ppc/ppc64 keywords as this project can build on any arch (it will still
|
||||
generate x86 output, but that is what projects usually want).
|
||||
|
||||
*dev86-0.16.20 (10 Nov 2013)
|
||||
|
||||
10 Nov 2013; Agostino Sarubbo <ago@gentoo.org> +dev86-0.16.20.ebuild:
|
||||
Version bump to 0.16.20
|
||||
|
||||
25 Feb 2013; Agostino Sarubbo <ago@gentoo.org> dev86-0.16.19.ebuild:
|
||||
Stable for x86, wrt bug #457478
|
||||
|
||||
25 Feb 2013; Agostino Sarubbo <ago@gentoo.org> dev86-0.16.19.ebuild:
|
||||
Stable for amd64, wrt bug #457478
|
||||
|
||||
28 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> metadata.xml:
|
||||
Dropped myself as maintainer.
|
||||
|
||||
*dev86-0.16.19 (02 Nov 2012)
|
||||
|
||||
02 Nov 2012; Mike Frysinger <vapier@gentoo.org> +dev86-0.16.19.ebuild,
|
||||
+files/dev86-0.16.19-fortify.patch, +files/dev86-0.16.19-memmove.patch:
|
||||
Version bump. Include fix from Debian for ncc #354351 by Joerg Neikes. Fix
|
||||
stripping errors #413275 by Michele Ciacci. Also fix up libdir handling as
|
||||
bcc had /usr/lib/gcc/ hardcoded.
|
||||
|
||||
06 Aug 2012; Rick Farina <zerochaos@gentoo.org> dev86-0.16.18.ebuild:
|
||||
fixed multilib-strict QA violation
|
||||
|
||||
28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> dev86-0.16.18.ebuild:
|
||||
x86 stable wrt bug #400685
|
||||
|
||||
25 Jan 2012; Markos Chandras <hwoarang@gentoo.org> dev86-0.16.18.ebuild:
|
||||
Stable on amd64 wrt bug #400685
|
||||
|
||||
20 Apr 2011; Justin Lecher <jlec@gentoo.org> dev86-0.16.17-r6.ebuild,
|
||||
dev86-0.16.18.ebuild:
|
||||
Respect CC
|
||||
|
||||
*dev86-0.16.18 (07 Dec 2010)
|
||||
|
||||
07 Dec 2010; Lars Wendler <polynomial-c@gentoo.org> +dev86-0.16.18.ebuild:
|
||||
Version bump.
|
||||
|
||||
15 Nov 2010; Lars Wendler <polynomial-c@gentoo.org>
|
||||
dev86-0.16.17-r6.ebuild:
|
||||
Don't mess with CPPFLAGS as they tend to break compilation (bug #343655).
|
||||
|
||||
24 Oct 2010; Lars Wendler <polynomial-c@gentoo.org>
|
||||
dev86-0.16.17-r6.ebuild, +files/dev86-0.16.17-make382.patch:
|
||||
Fixed compilation with make-3.82 (bug #336544). Patch kindly provided by
|
||||
upstream.
|
||||
|
||||
09 Nov 2009; Markus Meier <maekke@gentoo.org> dev86-0.16.17-r6.ebuild:
|
||||
amd64 stable, bug #289014
|
||||
|
||||
18 Oct 2009; Christian Faulhammer <fauli@gentoo.org>
|
||||
dev86-0.16.17-r6.ebuild:
|
||||
stable x86, bug 289014
|
||||
|
||||
05 Oct 2009; Mike Frysinger <vapier@gentoo.org> dev86-0.16.17-r6.ebuild:
|
||||
Update HOMEPAGE/SRC_URI #259106 by Mr. Anderson, and clean up some of the
|
||||
build code in the process.
|
||||
|
||||
*dev86-0.16.17-r6 (02 Feb 2009)
|
||||
|
||||
02 Feb 2009; Harald van Dijk <truedfx@gentoo.org>
|
||||
+files/dev86-0.16.17-fortify.patch, +dev86-0.16.17-r6.ebuild:
|
||||
Fix possible buffer overflow (#256782)
|
||||
|
||||
06 Mar 2008; Christoph Mende <angelos@gentoo.org> dev86-0.16.17-r5.ebuild:
|
||||
Stable on amd64, bug #208905
|
||||
|
||||
*dev86-0.16.17-r5 (26 Feb 2008)
|
||||
|
||||
26 Feb 2008; Raúl Porcel <armin76@gentoo.org> -dev86-0.16.17-r3.ebuild,
|
||||
-dev86-0.16.17-r4.ebuild, +dev86-0.16.17-r5.ebuild:
|
||||
Fix bug #167790 and bug #201313
|
||||
|
||||
*dev86-0.16.17-r4 (04 Nov 2007)
|
||||
|
||||
04 Nov 2007; Charlie Shepherd <masterdriverz@gentoo.org>
|
||||
+dev86-0.16.17-r4.ebuild:
|
||||
Move man pages from /usr/man to /usr/share/man. Bug 167790, thanks to Andy
|
||||
Romeril for reporting.
|
||||
|
||||
15 Jul 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
|
||||
Assigning to m-needed, as beu is being retired (#66608).
|
||||
|
||||
13 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
|
||||
add <herd>no-herd</herd>
|
||||
|
||||
11 Dec 2006; Elfyn McBratney <beu@gentoo.org> dev86-0.16.17-r3.ebuild:
|
||||
Kill redundant DEPEND on virtual/libc.
|
||||
|
||||
11 Aug 2006; Chris Bainbridge <chrb@gentoo.org> -dev86-0.16.17-r2.ebuild,
|
||||
dev86-0.16.17-r3.ebuild:
|
||||
stable on x86
|
||||
|
||||
*dev86-0.16.17-r3 (04 Aug 2006)
|
||||
|
||||
04 Aug 2006; Chris Bainbridge <chrb@gentoo.org> +dev86-0.16.17-r3.ebuild:
|
||||
Add bin86 as a depend and fix collisions, bug #139188
|
||||
|
||||
*dev86-0.16.17-r2 (11 Nov 2005)
|
||||
|
||||
11 Nov 2005; <chrb@gentoo.org> +files/dev86-pic.patch,
|
||||
+dev86-0.16.17-r2.ebuild:
|
||||
Fix PIC compile, CFLAGS (#111257)
|
||||
|
||||
*dev86-0.16.17-r1 (10 Nov 2005)
|
||||
|
||||
10 Nov 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+dev86-0.16.17-r1.ebuild:
|
||||
New revision that compiles on amd64.
|
||||
|
||||
*dev86-0.16.17 (26 Oct 2005)
|
||||
|
||||
26 Oct 2005; Chris Bainbridge <chrb@gentoo.org> +metadata.xml,
|
||||
+dev86-0.16.17.ebuild:
|
||||
This package was submitted by Olaf Wepner in bug #101754
|
@ -1,14 +0,0 @@
|
||||
AUX dev86-0.16.17-fortify.patch 658 SHA256 8f03870ef8e769d0d112f992f7d911e946e54579c1e214495abf9cd2f126b626 SHA512 91829385361708eb004bdd4c09c44cb01e38bd982e3a4aed0d001405da9c404d5184d38896828b48ee1ba5f50f4a85bbe7dccbd5a8c787fa3bf3691fb3d79b8e WHIRLPOOL 8d7784bf3c8dc6f0d332531e0c4e478327c4846c92b64d48a16e02586ba62a524ae939c572f3caceff7d165a43b2299876c4a32e008cc792dd3aa5fbdec54b6b
|
||||
AUX dev86-0.16.17-make382.patch 299 SHA256 782d221b2e829a29e4d056d1d52b7c6d0b1ccfc21fc7ce7c07416a28a64303ef SHA512 8e7264f1d7d8ea8e8f6ac92a43e53c8741d08f6f0f95391210f7f05dac1e6abd0fae13dd578a74c9aaba7768275a5a618257071aadd61b7a12acf4ad75441de4 WHIRLPOOL 68dbc9dea46105718953656942c1f84fbebcdc43dabe4a6d3b1edc55852abeca9b6b2034871ac66480f4f9d44a085c839fe4960701784b62b92bd6e983d9fa18
|
||||
AUX dev86-0.16.19-fortify.patch 325 SHA256 1a10082f8bfcd0e1e5335c53b0243994360dcdc75d9c3da431bc069e76a1af44 SHA512 04195831db5802ae25a5a1957979b5439168c708d9d3702a62c1d267090fca59e565ac78bb3a6bfb312282ce002b52760903e9d4ab30f3c906568a70dc349696 WHIRLPOOL 600dd6ab2947b593d65e220307faa7a95b23140c6c02c329b28d4857101b58d127631c5a22f3b41e811cfa772577071e86ad105de34965afcb03102c405eede9
|
||||
AUX dev86-0.16.19-memmove.patch 401 SHA256 f8a0db2d1f9bd944fa3e5a918fe6fc990820883d0dd8046c55429e10318b4ca5 SHA512 4fa5ee815636048db2a0f5faeeb48b06e559639fb21be1db3319495bfe5f5e1ee1afcfc920d496845cf4bb3eae7ff4bf9aa77124638788f918ae27599d153a6a WHIRLPOOL 6e54a52fa49a846353d63b1e89b74e017a64ffe6a33b256a58ed21aeb7df76c72ec47bffc17058e749910194a8acb3dd44c5535a9e76d88a5a88211c6f077008
|
||||
AUX dev86-0.16.21-non-void-return-clang.patch 425 SHA256 b70f642d85c76ad407ec070d3b44d9a4264fc653f1ee1404c2c105a5472032e8 SHA512 57781aab833999b86d57a4c62d686b61f11a64225debf82ca57252bfe5043d0bdef04749bbbf3e1af73a6d40242ebd5efa41b147e4677b7c8ed4b071c5100318 WHIRLPOOL e6de7774e46f353fae44b16915e3f22f950974218b0d96bcec7c846e62357d772f26ec27bc75241ce72aa0e8a815a667a128f0c3c78ccf9d81a7940f91bc7d9f
|
||||
AUX dev86-pic.patch 574 SHA256 8609db79d42d7b6a71b512de264279d9f0502dc0855a42eb38f5a8f8ba4f1d7f SHA512 44f0649fbb4b2514ecdd54c988db1a5547d68afed2bff7ebe15163ff287fd4be81bc2d700ed92414caea5c967b7455817fdefd1d19a86609221940a495b5ceda WHIRLPOOL 5e399825ad525400d1dd11899ab14cb789538d489a35e8393e00a6f804417c8854e9c322073b3dfeb014a270e5c2dd690bbb0957ec7db66ee8cffceb084b34bb
|
||||
DIST Dev86src-0.16.19.tar.gz 713688 SHA256 33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e SHA512 4077f7ac800330eb4658ffaa53dc8cc982792b1dcd7a59625cba4a5dac494117c6bd4ec5307bf02349ad6ae3d0c0903ab2e41123a8df94373e469092fa005cd3 WHIRLPOOL 87862b606be25f81c2c487534f36b20ac04d1df4303d644a46563e9f382686574dbe650c80265d44e53913f5bda7503c35cf056f7ffd8c5e559729e36c9db4d2
|
||||
DIST Dev86src-0.16.21.tar.gz 717215 SHA256 234b110e6df9b7f6843e2ee53473127c2211243a16748f229fc0127845f68d94 SHA512 6d35dc3c7f9735cf7967cdb2bc0f7bee967ae26667cd8cef56bbdf7d7855ef1d35057db4c0031ff86b9b95d3c8ee44aff408446115b35b6c10cf207a33838016 WHIRLPOOL a60b6c30bf4367e250942d2debe4baaf139908adf2f3b97139e3b29788d1ae8a1c97c63c016bf0c546336458de95e390b2db9e3d525ec4526f86250ad3538a8f
|
||||
EBUILD dev86-0.16.19.ebuild 1827 SHA256 8ad13a4df38d4679922ffcf1b85ae9e19ccccedcc1be5ca4ad2f1b079de8f879 SHA512 8be12d90574923e602c245b7a9b98fc94265421731ab197f369c5c5dde96afd5fa7ed6bc1ba6cf30e92fea72c074b7b5d57e0dafe1985254be61c9610519858a WHIRLPOOL 597c8eed4921161853c374bfc0144c4133806bcb3d6720a34bf4fc0af2ca59b50d25c0cc673c54db14872d5ff0a6ab38a0645ea9a1f692e8a60733e449d3fe6d
|
||||
EBUILD dev86-0.16.21-r2.ebuild 1843 SHA256 a7e1ffee43d022817ea52e5e051170aac978f93b6fb3ac863d643692adc38e6d SHA512 57ba743abcfa66d94703e369082fc27aaad530b4d2624a22085ce992c5951e44034cb76728424af31d78947797055ee4a9c1b8a4d2c2039335edcc0e73fd1cd2 WHIRLPOOL e8e684c869bb58c2d3acbd22839655b3c1fe6cc23fbbee824a439042d64a6ac72e1b3fae06a09df09976dd4d089def256088677c239e2d3b0721b7fc0cfdb2a6
|
||||
EBUILD dev86-0.16.21.ebuild 1787 SHA256 6b75493547ca78386b275e80b135b2f234e38c60c4bee8614b268d02d7be1ae4 SHA512 de4e54c0688baac5948120595b9537874745ad0ddb40af870ec3d50beb298085d8f12fcd3fe8004f8a7d85affd675aaa4bef302ff0164f8c4755361b4d6176ec WHIRLPOOL f6ba3233e88c204ada510a9e8fe1f5f9e387525eb330a32c0c1e9ed928189545f14d07befa8d06c8ab89417b8a6a0c7dd8118bd6b3709be30e31ab2c78b125c4
|
||||
MISC ChangeLog 3330 SHA256 f5e32a8256f396ca05157c6cef5f49f89076f47c564169e75ceb986129223d53 SHA512 5f151bbd69197e903799442964803e5ccc34df12bbd24cbe8cc60ea84026a06c5056fedc077a5f2dd0100696529fea148141398d83606aa97c779749ec3f301a WHIRLPOOL 7ebbad002095f16f25eca335f544799d3070678d22cb4aebb82659ea6e09404d747f4e39401e3d189a042f56342405d9f37f4f250446b63787ca428ed1baa662
|
||||
MISC ChangeLog-2015 4649 SHA256 e51974fb70bee565209238b23603d55f8d596e64e87d73554bd22351a435a71f SHA512 8e3a17867cc48bd197a380793d9171828f3df355b03fff86361e6aaeab7de7f6f7621bd7eacd06ba078eb806b3246e84984b32e17b8ef6f6210a52fafb1b4afb WHIRLPOOL bb58002ab16298548c0d11ae616c5463b2e6a87c55f4b082ccf1014ed918e19403fd7b05bd916531005b12f720f17dfbbd5c08101966ba31fa4a0856dc2b4a15
|
||||
MISC metadata.xml 269 SHA256 8e0fab94b619276a0a8b2a159374f0b2a59fd05006291ad2f8def48a2f105a93 SHA512 fc49c52f63fc653414208095ec460b4d991d1710b0ea92ca8ab598bca9316b42144e498503b79e7f1db22e3a8c26c009f51cf2d5eb0163a6afc18ed40d4541f2 WHIRLPOOL b8e1127db570cc189ce2417eec744127fae51ea6fc1cdb9505d66acbd0d83355445045b98b5021bd8a29e2bf17b612785532be8c4f0d32cad7152f10a75fc21c
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
|
||||
HOMEPAGE="http://www.debath.co.uk/"
|
||||
SRC_URI="http://www.debath.co.uk/dev86/Dev86src-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-devel/bin86"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gperf"
|
||||
|
||||
STRIP_MASK="/usr/*/bcc/lib*.a /usr/*/i386/libc.a"
|
||||
|
||||
src_prepare() {
|
||||
# elksemu doesn't compile under amd64
|
||||
if use amd64; then
|
||||
einfo "Not compiling elksemu on amd64"
|
||||
sed -i \
|
||||
-e 's,alt-libs elksemu,alt-libs,' \
|
||||
-e 's,install-lib install-emu,install-lib,' \
|
||||
makefile.in || die
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/dev86-pic.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.16.19-fortify.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.16.19-memmove.patch #354351
|
||||
sed -i \
|
||||
-e "s:-O2 -g:${CFLAGS}:" \
|
||||
-e '/INEXE=/s:-s::' \
|
||||
makefile.in || die
|
||||
sed -i \
|
||||
-e "s:/lib/:/$(get_libdir)/:" \
|
||||
bcc/bcc.c || die
|
||||
sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die
|
||||
sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Don't mess with CPPFLAGS as they tend to break compilation
|
||||
# (bug #343655).
|
||||
CPPFLAGS=""
|
||||
|
||||
# First `make` is also a config, so set all the path vars here
|
||||
emake -j1 \
|
||||
DIST="${D}" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="/usr/$(get_libdir)/bcc" \
|
||||
INCLDIR="/usr/$(get_libdir)/bcc"
|
||||
|
||||
export PATH=${S}/bin:${PATH}
|
||||
cd bin
|
||||
ln -s ncc bcc
|
||||
cd ..
|
||||
cd bootblocks
|
||||
ln -s ../bcc/version.h .
|
||||
emake DIST="${D}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-all DIST="${D}"
|
||||
dobin bootblocks/makeboot
|
||||
# remove all the stuff supplied by bin86
|
||||
cd "${D}"
|
||||
rm usr/bin/{as,ld,nm,objdump,size}86 || die
|
||||
rm usr/man/man1/{as,ld}86.1 || die
|
||||
dodir /usr/share/man
|
||||
mv usr/man usr/share/
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
|
||||
HOMEPAGE="http://v3.sk/~lkundrak/dev86/"
|
||||
SRC_URI="http://v3.sk/~lkundrak/dev86/Dev86src-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-devel/bin86"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gperf"
|
||||
|
||||
STRIP_MASK="/usr/*/bcc/lib*.a /usr/*/i386/libc.a"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-pic.patch"
|
||||
"${FILESDIR}/${PN}-0.16.19-fortify.patch"
|
||||
"${FILESDIR}/${P}-non-void-return-clang.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# elksemu doesn't compile under amd64
|
||||
if use amd64; then
|
||||
einfo "Not compiling elksemu on amd64"
|
||||
sed -i \
|
||||
-e 's,alt-libs elksemu,alt-libs,' \
|
||||
-e 's,install-lib install-emu,install-lib,' \
|
||||
makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i -e "s:-O2 -g:${CFLAGS}:" -e '/INEXE=/s:-s::' makefile.in || die
|
||||
sed -i -e "s:/lib/:/$(get_libdir)/:" bcc/bcc.c || die
|
||||
sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die
|
||||
sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Don't mess with CPPFLAGS as they tend to break compilation
|
||||
# (bug #343655).
|
||||
unset CPPFLAGS
|
||||
|
||||
# First `make` is also a config, so set all the path vars here
|
||||
emake -j1 \
|
||||
DIST="${D}" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="/usr/$(get_libdir)/bcc" \
|
||||
INCLDIR="/usr/$(get_libdir)/bcc"
|
||||
|
||||
export PATH=${S}/bin:${PATH}
|
||||
|
||||
cd bin || die
|
||||
ln -s ncc bcc || die
|
||||
cd .. || die
|
||||
|
||||
cd bootblocks || die
|
||||
emake DIST="${D}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-all DIST="${D}"
|
||||
dobin bootblocks/makeboot
|
||||
# remove all the stuff supplied by bin86
|
||||
rm "${D}"/usr/bin/{as,ld,nm,objdump,size}86 || die
|
||||
rm "${D}"/usr/man/man1/{as,ld}86.1 || die
|
||||
|
||||
dodir /usr/share
|
||||
mv "${D}"/usr/{man,share/man} || die
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Bruce's C compiler - Simple C compiler to generate 8086 code"
|
||||
HOMEPAGE="http://v3.sk/~lkundrak/dev86/"
|
||||
SRC_URI="http://v3.sk/~lkundrak/dev86/Dev86src-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-devel/bin86"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gperf"
|
||||
|
||||
STRIP_MASK="/usr/*/bcc/lib*.a /usr/*/i386/libc.a"
|
||||
|
||||
src_prepare() {
|
||||
# elksemu doesn't compile under amd64
|
||||
if use amd64; then
|
||||
einfo "Not compiling elksemu on amd64"
|
||||
sed -i \
|
||||
-e 's,alt-libs elksemu,alt-libs,' \
|
||||
-e 's,install-lib install-emu,install-lib,' \
|
||||
makefile.in || die
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/dev86-pic.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.16.19-fortify.patch
|
||||
sed -i \
|
||||
-e "s:-O2 -g:${CFLAGS}:" \
|
||||
-e '/INEXE=/s:-s::' \
|
||||
makefile.in || die
|
||||
sed -i \
|
||||
-e "s:/lib/:/$(get_libdir)/:" \
|
||||
bcc/bcc.c || die
|
||||
sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die
|
||||
sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Don't mess with CPPFLAGS as they tend to break compilation
|
||||
# (bug #343655).
|
||||
CPPFLAGS=""
|
||||
|
||||
# First `make` is also a config, so set all the path vars here
|
||||
emake -j1 \
|
||||
DIST="${D}" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="/usr/$(get_libdir)/bcc" \
|
||||
INCLDIR="/usr/$(get_libdir)/bcc"
|
||||
|
||||
export PATH=${S}/bin:${PATH}
|
||||
cd bin
|
||||
ln -s ncc bcc
|
||||
cd ..
|
||||
cd bootblocks
|
||||
ln -s ../bcc/version.h .
|
||||
emake DIST="${D}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-all DIST="${D}"
|
||||
dobin bootblocks/makeboot
|
||||
# remove all the stuff supplied by bin86
|
||||
cd "${D}"
|
||||
rm usr/bin/{as,ld,nm,objdump,size}86 || die
|
||||
rm usr/man/man1/{as,ld}86.1 || die
|
||||
dodir /usr/share/man
|
||||
mv usr/man usr/share/
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
--- dev86-0.16.17/bcc/bcc.c
|
||||
+++ dev86-0.16.17/bcc/bcc.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#ifdef __STDC__
|
||||
#include <stdlib.h>
|
||||
#ifndef MSDOS
|
||||
+#include <limits.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#else
|
||||
@@ -596,12 +597,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
-void
|
||||
-command_reset()
|
||||
-{
|
||||
#ifndef MAXPATHLEN
|
||||
+#ifdef PATH_MAX
|
||||
+#define MAXPATHLEN PATH_MAX
|
||||
+#else
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
+#endif
|
||||
+
|
||||
+void
|
||||
+command_reset()
|
||||
+{
|
||||
char buf[MAXPATHLEN];
|
||||
char ** prefix;
|
||||
char * saved_cmd;
|
||||
@@ -1308,11 +1314,7 @@
|
||||
|
||||
for(d=s=ptr; d && *s; s=d)
|
||||
{
|
||||
-#ifdef MAXPATHLEN
|
||||
char buf[MAXPATHLEN];
|
||||
-#else
|
||||
- char buf[1024];
|
||||
-#endif
|
||||
|
||||
free(temp);
|
||||
d=strchr(s, ':');
|
@ -1,11 +0,0 @@
|
||||
--- libc/i386sys/Makefile
|
||||
+++ libc/i386sys/Makefile
|
||||
@@ -12,7 +12,7 @@
|
||||
DOBJ=opendir.o closedir.o readdir.o
|
||||
|
||||
ifeq ($(LIB_CPU)-$(LIB_OS),i386-ELKS)
|
||||
-OBJ=$(LOBJ3) $(LOBJ) $(EOBJ) $(DOBJ) setjmp3.o
|
||||
+OBJ=$(LOBJ) $(LOBJ) $(EOBJ) $(DOBJ) setjmp3.o
|
||||
SYSCALLS=syscalls
|
||||
|
||||
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
|
@ -1,23 +0,0 @@
|
||||
--- dev86-0.16.19/bcc/bcc.c
|
||||
+++ dev86-0.16.19/bcc/bcc.c
|
||||
@@ -596,12 +597,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
-void
|
||||
-command_reset()
|
||||
-{
|
||||
#ifndef MAXPATHLEN
|
||||
+#ifdef PATH_MAX
|
||||
+#define MAXPATHLEN PATH_MAX
|
||||
+#else
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
+#endif
|
||||
+
|
||||
+void
|
||||
+command_reset()
|
||||
+{
|
||||
char buf[MAXPATHLEN];
|
||||
char ** prefix;
|
||||
char * saved_cmd;
|
@ -1,17 +0,0 @@
|
||||
https://bugs.gentoo.org/354351
|
||||
|
||||
fix sniped from Debian:
|
||||
* Fix "FTBFS: ncc: illegal label": apply patch by dai that replaces strcpy
|
||||
by memmove (closes: #591133).
|
||||
|
||||
--- copt/copt.c
|
||||
+++ copt/copt.c
|
||||
@@ -174,7 +174,7 @@
|
||||
/* Delete leading white spaces */
|
||||
for (cp = buf; *cp && isspace(*cp); cp++) ;
|
||||
if (cp != buf && *cp)
|
||||
- strcpy(buf, cp);
|
||||
+ memmove(buf, cp, strlen(cp) + 1);
|
||||
|
||||
return(buf);
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
Return void properly, else clang aborts with
|
||||
* tok_io.c:231:6: error: non-void function 'do_control' should return a value [-Wreturn-type]
|
||||
See also: https://bugs.gentoo.org/show_bug.cgi?id=523096
|
||||
|
||||
--- dev86-0.16.21/unproto/tok_io.c
|
||||
+++ dev86-0.16.21/unproto/tok_io.c
|
||||
@@ -189,7 +189,7 @@
|
||||
|
||||
/* do_control - parse control line */
|
||||
|
||||
-static int do_control()
|
||||
+static void do_control()
|
||||
{
|
||||
struct token *t;
|
||||
int line;
|
@ -1,20 +0,0 @@
|
||||
--- dev86-0.16.21/elksemu/elks.c.orig 2005-11-04 01:35:37.000000000 +0100
|
||||
+++ dev86-0.16.21/elksemu/elks.c 2005-11-04 01:45:28.000000000 +0100
|
||||
@@ -129,8 +129,17 @@
|
||||
static inline int vm86_mine(struct vm86_struct* v86)
|
||||
{
|
||||
int __res;
|
||||
+#ifndef __PIC__
|
||||
__asm__ __volatile__("int $0x80\n"
|
||||
:"=a" (__res):"a" ((int)OLD_SYS_vm86), "b" ((int)v86));
|
||||
+#else
|
||||
+ __asm__ __volatile__(
|
||||
+ "movl %%ebx,%%ecx\n\t"
|
||||
+ "movl %2,%%ebx\n\t"
|
||||
+ "int $0x80\n\t"
|
||||
+ "movl %%ecx,%%ebx\n\t"
|
||||
+ :"=a" (__res):"a" ((int)OLD_SYS_vm86), "r" ((int)v86) : "ecx");
|
||||
+#endif
|
||||
return __res;
|
||||
}
|
||||
#endif
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
Bruce's C compiler - Simple C compiler to generate 8086 code
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user