dev-embedded/cc65: Bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1665 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
4bd67ed90f
commit
33d392088d
@ -2,6 +2,11 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
07 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
+files/patch-2.12.0-01.patch, +files/patch-2.12.0-02.patch,
|
||||||
|
+cc65-2.13.0.ebuild:
|
||||||
|
Bump
|
||||||
|
|
||||||
08 Jul 2009; Mario Fetka <mario.fetka@gmail.com> cc65-2.12.0.ebuild:
|
08 Jul 2009; Mario Fetka <mario.fetka@gmail.com> cc65-2.12.0.ebuild:
|
||||||
build doc
|
build doc
|
||||||
|
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
AUX cc65-2.12.0-asneeded-1.patch 1556 RMD160 3d0d4d86f4b8f577bc547449ab3204a8cba6e90f SHA1 4232567b3d483ae239e687bcebe3eab7b52e5631 SHA256 3e59a84b84c8bc4924e9490204bf99a0f6bed7856aecf8f02482151052dd2977
|
AUX cc65-2.12.0-asneeded-1.patch 1556 RMD160 3d0d4d86f4b8f577bc547449ab3204a8cba6e90f SHA1 4232567b3d483ae239e687bcebe3eab7b52e5631 SHA256 3e59a84b84c8bc4924e9490204bf99a0f6bed7856aecf8f02482151052dd2977
|
||||||
AUX cc65-2.12.0-cbm_dir-1.patch 654 RMD160 16b11bdc5f6612ccb045b9528e035fafc6086410 SHA1 663982a870d8f107f9c1b707b45b8d6aa519e39b SHA256 00faf9ed1cd75bcef43458e54697a7800ae4f382d48d275e016470975b9b2d75
|
AUX cc65-2.12.0-cbm_dir-1.patch 654 RMD160 16b11bdc5f6612ccb045b9528e035fafc6086410 SHA1 663982a870d8f107f9c1b707b45b8d6aa519e39b SHA256 00faf9ed1cd75bcef43458e54697a7800ae4f382d48d275e016470975b9b2d75
|
||||||
|
AUX patch-2.12.0-01.patch 1356 RMD160 f198df987660ab49dacc00d9dd11fb63438e9235 SHA1 6898b0a870f72db1bca87915dda428b9ef26c1b7 SHA256 b20379f5ca6ec4799090bc37c5ad4e4b2cb3ef7bb9e17c4f3a36adc65d5f6ef3
|
||||||
|
AUX patch-2.12.0-02.patch 919 RMD160 f750c63aa82328131f3b4c5443dad7161716e2bf SHA1 7e21671a749840a0bfe19e3ffa80936372dcc92d SHA256 670d0ba6c9a92f87df4af704d989ec8a2b46ec60a5c60e9f8fa7550edcbc0ff0
|
||||||
DIST cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942 RMD160 ccbf10ad16dd5951ddea9caa0fd7762f7f4fabfd SHA1 a80b2b6d941487373270470f3adec855699cb10d SHA256 71ebec814b7866f0746bdc8c3c2a7ab1b3ce4d7ebc21888deb004f225b2bbe81
|
DIST cc65-snapshot-sources-2.11.9.20070329.tar.bz2 1020942 RMD160 ccbf10ad16dd5951ddea9caa0fd7762f7f4fabfd SHA1 a80b2b6d941487373270470f3adec855699cb10d SHA256 71ebec814b7866f0746bdc8c3c2a7ab1b3ce4d7ebc21888deb004f225b2bbe81
|
||||||
DIST cc65-snapshot-sources-2.11.9.20070704.tar.bz2 1045275 RMD160 d23c31f44531981ecfc4a18af9c9b380f668367d SHA1 7b1aa7cc0478c63b66ecc34ce88cb08b4aaecc81 SHA256 4eab7cdc9c2573912a5a1ebae5364b83f592d974adda074c85d92fa75141c492
|
DIST cc65-snapshot-sources-2.11.9.20070704.tar.bz2 1045275 RMD160 d23c31f44531981ecfc4a18af9c9b380f668367d SHA1 7b1aa7cc0478c63b66ecc34ce88cb08b4aaecc81 SHA256 4eab7cdc9c2573912a5a1ebae5364b83f592d974adda074c85d92fa75141c492
|
||||||
DIST cc65-snapshot-sources-2.11.9.20070903.tar.bz2 1048993 RMD160 fce9950ed13c98e5f1f6a0fd4861a1dee3d60801 SHA1 ff29a74f21d3c3e3b989827121670daf9ee9ad65 SHA256 da3bb7c7bf2da5dcb4a1c33c9e19a80d88fc404e28e4c4d61da50aa53d49f3ec
|
DIST cc65-snapshot-sources-2.11.9.20070903.tar.bz2 1048993 RMD160 fce9950ed13c98e5f1f6a0fd4861a1dee3d60801 SHA1 ff29a74f21d3c3e3b989827121670daf9ee9ad65 SHA256 da3bb7c7bf2da5dcb4a1c33c9e19a80d88fc404e28e4c4d61da50aa53d49f3ec
|
||||||
DIST cc65-snapshot-sources-2.11.9.20071213.tar.bz2 1048211 RMD160 6d6481750fba6e4dbe44e425cd5f0abba3d4aa6a SHA1 409fa8d7f04e9c1c220742b4bef247382828d5d9 SHA256 e39174f898e8e10e8a560e652884eeecdbd820d93f06ef629c0f4cfd16c2a34e
|
DIST cc65-snapshot-sources-2.11.9.20071213.tar.bz2 1048211 RMD160 6d6481750fba6e4dbe44e425cd5f0abba3d4aa6a SHA1 409fa8d7f04e9c1c220742b4bef247382828d5d9 SHA256 e39174f898e8e10e8a560e652884eeecdbd820d93f06ef629c0f4cfd16c2a34e
|
||||||
DIST cc65-snapshot-sources-2.11.9.20080228.tar.bz2 1049273 RMD160 443cdf888e2b44421fe13514e6fab0d46746b628 SHA1 9ff95828a8a1d67a6c22832f9e8a4f6c4923778a SHA256 e26e9a19b397ea4b9b1cfc0f718dcc51fadf33dcb083ae14468c170a2c01f0a2
|
DIST cc65-snapshot-sources-2.11.9.20080228.tar.bz2 1049273 RMD160 443cdf888e2b44421fe13514e6fab0d46746b628 SHA1 9ff95828a8a1d67a6c22832f9e8a4f6c4923778a SHA256 e26e9a19b397ea4b9b1cfc0f718dcc51fadf33dcb083ae14468c170a2c01f0a2
|
||||||
DIST cc65-sources-2.12.0.tar.bz2 1051755 RMD160 579e4877f5f129f8bdff8ce3ad4f15a44c57f25c SHA1 e009060fda9fbec9fcfa01761abdb1b5aaa01b34 SHA256 ea74a374ccc8a711667b207e4b1792ea738138aa1875feca23cf162a5b4e3965
|
DIST cc65-sources-2.12.0.tar.bz2 1051755 RMD160 579e4877f5f129f8bdff8ce3ad4f15a44c57f25c SHA1 e009060fda9fbec9fcfa01761abdb1b5aaa01b34 SHA256 ea74a374ccc8a711667b207e4b1792ea738138aa1875feca23cf162a5b4e3965
|
||||||
|
DIST cc65-sources-2.13.0.tar.bz2 1084580 RMD160 7cce192625d570f72c22a8d5f9b6e689875b50af SHA1 3631954e482dbf64840248729ceda6f9b6c6e9f5 SHA256 943f4ec28e883271843f1bce0da4b6a70c3b52a6ae3b35ddee110ae974382286
|
||||||
EBUILD cc65-2.11.9.20070329.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
EBUILD cc65-2.11.9.20070329.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
||||||
EBUILD cc65-2.11.9.20070704.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
EBUILD cc65-2.11.9.20070704.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
||||||
EBUILD cc65-2.11.9.20070903.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
EBUILD cc65-2.11.9.20070903.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe6655776148432b38 SHA1 f9d37817fa72baeed7f97afaa1a0fbe295b95b2d SHA256 bbf88046de3dd265abc228833ae31e948757870851713416b0188a0bf3d1f90f
|
||||||
EBUILD cc65-2.11.9.20071213.ebuild 1723 RMD160 ac96f87cfcbe8f3c3c27e46aebd6ecf2589a750e SHA1 cf8f6f91edfe70b0fa7c559d4133e3a18378e737 SHA256 a5f7817b37dd394053cf03e015a7dcde41ac68d51b66560e9a77353b16ad9ea5
|
EBUILD cc65-2.11.9.20071213.ebuild 1723 RMD160 ac96f87cfcbe8f3c3c27e46aebd6ecf2589a750e SHA1 cf8f6f91edfe70b0fa7c559d4133e3a18378e737 SHA256 a5f7817b37dd394053cf03e015a7dcde41ac68d51b66560e9a77353b16ad9ea5
|
||||||
EBUILD cc65-2.11.9.20080228.ebuild 1723 RMD160 0b2c75ebe779c226aa615ff894870b8969585a19 SHA1 d44d83598dce3d73d63c0f5f55d9c1d32bc6f385 SHA256 b3ca0cbcb1bbe257592bb9b9e498ec2f86838b66e82fec00fd609312e7a0a091
|
EBUILD cc65-2.11.9.20080228.ebuild 1723 RMD160 0b2c75ebe779c226aa615ff894870b8969585a19 SHA1 d44d83598dce3d73d63c0f5f55d9c1d32bc6f385 SHA256 b3ca0cbcb1bbe257592bb9b9e498ec2f86838b66e82fec00fd609312e7a0a091
|
||||||
EBUILD cc65-2.12.0.ebuild 2378 RMD160 e6e419c4b017c2afc6f0ddd60599575134214bf0 SHA1 a55877f38cc6af61c3135b341c4ff1b0a016489d SHA256 b22cca7fc663335eace72098adc24b8c8030b05ef931dabd17fb5f2c48771e7c
|
EBUILD cc65-2.12.0.ebuild 2378 RMD160 e6e419c4b017c2afc6f0ddd60599575134214bf0 SHA1 a55877f38cc6af61c3135b341c4ff1b0a016489d SHA256 b22cca7fc663335eace72098adc24b8c8030b05ef931dabd17fb5f2c48771e7c
|
||||||
MISC ChangeLog 1128 RMD160 9ae7e80b77f157cacc571ad5984291d6223ebb7a SHA1 b24e6a17083d0088a58c43a82e85c60d3189e999 SHA256 3390726b8f75c840928990bbd65077ed0074e47e5b30a988aaf1943fe180b3c4
|
EBUILD cc65-2.13.0.ebuild 2380 RMD160 85b1eec4f7367089c84a524426762f59632c1fb7 SHA1 ed60b68ad2ffbe3204f0f7aa8c2275cba954f18d SHA256 e177c60964079a3ee2eaf617bf211d43ec64dfe3cecd65c2ea9e69168bcddf61
|
||||||
|
MISC ChangeLog 1272 RMD160 8d62916a23eee6d1c5cc97e5fe5f8a6c597e193c SHA1 c8df8657a0dfb413d21f97aff3966c268633362a SHA256 c0f2556cf055b4fa251258df3f7987e306a9ffa6b2e7c4257b79de31c91a54a5
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
64
dev-embedded/cc65/cc65-2.13.0.ebuild
Normal file
64
dev-embedded/cc65/cc65-2.13.0.ebuild
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# Copyright 1999-2009 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs multilib
|
||||||
|
|
||||||
|
DESCRIPTION="It's a complete cross development package for 65(C)02 systems."
|
||||||
|
HOMEPAGE="http://www.cc65.org"
|
||||||
|
#SRC_URI="ftp://ftp.musoftware.de/pub/uz/cc65/snapshot/cc65-snapshot-sources-${PV}.tar.bz2"
|
||||||
|
SRC_URI="ftp://ftp.musoftware.de/pub/uz/${PN}/${PN}-sources-${PV}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
DEPEND="dev-libs/boehm-gc
|
||||||
|
app-text/linuxdoc-tools"
|
||||||
|
|
||||||
|
#S=${WORKDIR}/${PN}-snapshot-${PV}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cd "${S}"
|
||||||
|
sed -i -e "s:od65:od65 sim65:g" src/make/gcc.mak
|
||||||
|
sed -i -e "s:)/lib:)/$(get_libdir):g" make/gcc.mak
|
||||||
|
sed -i -e "s:/lib/cc65/inc:/$(get_libdir)/cc65/inc:g" src/cc65/make/gcc.mak
|
||||||
|
sed -i -e "s:/lib/cc65/lib:/$(get_libdir)/cc65/lib:g" src/ld65/make/gcc.mak
|
||||||
|
sed -i -e "s:/lib/cc65/lib:/$(get_libdir)/cc65/lib:g" doc/ld65.sgml
|
||||||
|
# epatch "${FILESDIR}"/cc65-2.12.0-asneeded-1.patch
|
||||||
|
# epatch "${FILESDIR}"/cc65-2.12.0-cbm_dir-1.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1 -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)" || die "src build fail"
|
||||||
|
emake -j1 -C libsrc || die "libsrc build fail"
|
||||||
|
emake -j1 -C doc || die "doc build fail"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin src/*65/*65 src/ca65html/ca65html src/grc/grc || die "dobin fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/emd
|
||||||
|
doins libsrc/*.emd || die "install memory map fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/joy
|
||||||
|
doins libsrc/*.joy || die "install joystick driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/mou
|
||||||
|
doins libsrc/*.mou || die "install mouse driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/ser
|
||||||
|
doins libsrc/*.ser || die "install UART driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/tgi
|
||||||
|
doins libsrc/*.tgi || die "install graphic driver fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/asminc
|
||||||
|
doins asminc/*.inc || die "install asm include fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/include
|
||||||
|
doins -r include/* || die "install include fail"
|
||||||
|
insinto /usr/$(get_libdir)/cc65/lib
|
||||||
|
doins libsrc/*.lib || die "install lib definations fail"
|
||||||
|
doins libsrc/*.o || die "install lib fail"
|
||||||
|
use doc && dohtml doc/*.htm*
|
||||||
|
doman packages/debian/*.1 || die "man install fail"
|
||||||
|
doinfo doc/*.info || die "info install fail"
|
||||||
|
dodoc src/ld65/cfg/*.cfg || die "cfg install fail"
|
||||||
|
dodoc src/ca65/macpack/*.mac || die "macro install fail"
|
||||||
|
}
|
37
dev-embedded/cc65/files/patch-2.12.0-01.patch
Normal file
37
dev-embedded/cc65/files/patch-2.12.0-01.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
Index: typeconv.c
|
||||||
|
===================================================================
|
||||||
|
--- typeconv.c (revision 3903)
|
||||||
|
+++ typeconv.c (working copy)
|
||||||
|
@@ -102,7 +102,7 @@
|
||||||
|
LoadExpr (CF_NONE, Expr);
|
||||||
|
|
||||||
|
/* Emit typecast code */
|
||||||
|
- g_typecast (TypeOf (NewType), TypeOf (OldType));
|
||||||
|
+ g_typecast (TypeOf (NewType), TypeOf (OldType) | CF_FORCECHAR);
|
||||||
|
|
||||||
|
/* Value is now in primary and an rvalue */
|
||||||
|
ED_MakeRValExpr (Expr);
|
||||||
|
@@ -148,7 +148,7 @@
|
||||||
|
LoadExpr (CF_NONE, Expr);
|
||||||
|
|
||||||
|
/* Emit typecast code. */
|
||||||
|
- g_typecast (TypeOf (NewType) | CF_FORCECHAR, TypeOf (OldType));
|
||||||
|
+ g_typecast (TypeOf (NewType), TypeOf (OldType) | CF_FORCECHAR);
|
||||||
|
|
||||||
|
/* Value is now a rvalue in the primary */
|
||||||
|
ED_MakeRValExpr (Expr);
|
||||||
|
Index: expr.c
|
||||||
|
===================================================================
|
||||||
|
--- expr.c (revision 3903)
|
||||||
|
+++ expr.c (working copy)
|
||||||
|
@@ -2929,8 +2929,8 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Setup the code generator flags */
|
||||||
|
- lflags |= TypeOf (Expr->Type) | GlobalModeFlags (Expr) | CF_FORCECHAR;
|
||||||
|
- rflags |= TypeOf (Expr2.Type);
|
||||||
|
+ lflags |= TypeOf (Expr->Type) | GlobalModeFlags (Expr);
|
||||||
|
+ rflags |= TypeOf (Expr2.Type) | CF_FORCECHAR;
|
||||||
|
|
||||||
|
/* Convert the type of the lhs to that of the rhs */
|
||||||
|
g_typecast (lflags, rflags);
|
34
dev-embedded/cc65/files/patch-2.12.0-02.patch
Normal file
34
dev-embedded/cc65/files/patch-2.12.0-02.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Index: coptind.c
|
||||||
|
===================================================================
|
||||||
|
--- coptind.c (revision 3903)
|
||||||
|
+++ coptind.c (working copy)
|
||||||
|
@@ -406,17 +406,12 @@
|
||||||
|
/* Remember, we had changes */
|
||||||
|
++Changes;
|
||||||
|
|
||||||
|
- /* Done */
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
/* Check if both are conditional branches, and the condition of
|
||||||
|
* the second is the inverse of that of the first. In this case,
|
||||||
|
* the second branch will never be taken, and we may jump directly
|
||||||
|
* to the instruction behind this one.
|
||||||
|
*/
|
||||||
|
- if ((E->Info & OF_CBRA) != 0 && (N->Info & OF_CBRA) != 0) {
|
||||||
|
+ } else if ((E->Info & OF_CBRA) != 0 && (N->Info & OF_CBRA) != 0) {
|
||||||
|
|
||||||
|
CodeEntry* X; /* Instruction behind N */
|
||||||
|
CodeLabel* LX; /* Label attached to X */
|
||||||
|
@@ -447,10 +442,6 @@
|
||||||
|
|
||||||
|
/* Remember, we had changes */
|
||||||
|
++Changes;
|
||||||
|
-
|
||||||
|
- /* Done */
|
||||||
|
- continue;
|
||||||
|
-
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user