dev-embedded/cc65: as-needed patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@745 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
de35165698
commit
c22ad1b41f
@ -1,7 +1,12 @@
|
||||
# ChangeLog for dev-embedded/cc65
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
02 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/cc65-2.12.0-asneeded-1.patch, +files/cc65-2.12.0-cbm_dir-1.patch,
|
||||
cc65-2.12.0.ebuild:
|
||||
as-needed patch
|
||||
|
||||
08 Jun 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+cc65-2.11.9.20080228.ebuild, +cc65-2.12.0.ebuild:
|
||||
Correct Typo
|
||||
|
@ -1,3 +1,5 @@
|
||||
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
|
||||
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.20070903.tar.bz2 1048993 RMD160 fce9950ed13c98e5f1f6a0fd4861a1dee3d60801 SHA1 ff29a74f21d3c3e3b989827121670daf9ee9ad65 SHA256 da3bb7c7bf2da5dcb4a1c33c9e19a80d88fc404e28e4c4d61da50aa53d49f3ec
|
||||
@ -9,6 +11,6 @@ EBUILD cc65-2.11.9.20070704.ebuild 1689 RMD160 12c7c5392e4f06f3149de7fe665577614
|
||||
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.20080228.ebuild 1723 RMD160 0b2c75ebe779c226aa615ff894870b8969585a19 SHA1 d44d83598dce3d73d63c0f5f55d9c1d32bc6f385 SHA256 b3ca0cbcb1bbe257592bb9b9e498ec2f86838b66e82fec00fd609312e7a0a091
|
||||
EBUILD cc65-2.12.0.ebuild 1823 RMD160 2f7e8e1f1d5a1b3ed0c3ac3ca5e9fe5e9cab9ee7 SHA1 7655af9934f30cf6e333c78396463b9d8f0b141f SHA256 835438658d0d3aa378d364bc055e72afeff5973648647cf32b6c45b567e3a787
|
||||
MISC ChangeLog 593 RMD160 3b6978d63edc840bc4ec6232144390b4923f64ea SHA1 f962a09ba714780e7e1a4d41e223de6ce115215d SHA256 2b85df7323e9292aed9046724858b9a6c30b96ec0852f16b7ef54382c7744349
|
||||
EBUILD cc65-2.12.0.ebuild 1995 RMD160 38b578141360bac657f083c3b3f8281035b4a542 SHA1 c01fe8b35c6988fb805b2563851bca81c3cab500 SHA256 fd951e1c79692b209e83581fcd8dfc022d5adaed567d6d95e9605c4691abeb00
|
||||
MISC ChangeLog 760 RMD160 96d11e8a364e6fb247283073f258cb2d83efd1a7 SHA1 0d60ad7cd32b94af186e9eae504fd7071b7dc7a6 SHA256 d5ede3e4be74a92da36a6a0f22cff786931d77f0ff4d0eabcc81114fc6710ade
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
@ -30,12 +30,14 @@ src_unpack() {
|
||||
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 -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)"
|
||||
emake -C libsrc
|
||||
emake -C doc
|
||||
emake -C src -f make/gcc.mak CC="$(tc-getCC)" AR="$(tc-getAR)" || die "src build fail"
|
||||
emake -C libsrc || die "libsrc build fail"
|
||||
emake -C doc || die "doc build fail"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
43
dev-embedded/cc65/files/cc65-2.12.0-asneeded-1.patch
Normal file
43
dev-embedded/cc65/files/cc65-2.12.0-asneeded-1.patch
Normal file
@ -0,0 +1,43 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2009-02-02
|
||||
Initial Package Version: 2.12.0
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: reorder link command to work with --as-needed link command
|
||||
|
||||
diff -Naur cc65-2.12.0.orig/src/cc65/make/gcc.mak cc65-2.12.0/src/cc65/make/gcc.mak
|
||||
--- cc65-2.12.0.orig/src/cc65/make/gcc.mak 2005-12-11 12:40:50.000000000 +0000
|
||||
+++ cc65-2.12.0/src/cc65/make/gcc.mak 2009-02-02 21:59:15.607008243 +0000
|
||||
@@ -110,7 +110,7 @@
|
||||
endif
|
||||
|
||||
$(EXE): $(OBJS) $(LIBS)
|
||||
- $(CC) $(LDFLAGS) -o $(EXE) $(CFLAGS) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS) -o $(EXE)
|
||||
@if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi
|
||||
|
||||
clean:
|
||||
diff -Naur cc65-2.12.0.orig/src/cl65/make/gcc.mak cc65-2.12.0/src/cl65/make/gcc.mak
|
||||
--- cc65-2.12.0.orig/src/cl65/make/gcc.mak 2005-12-11 12:40:50.000000000 +0000
|
||||
+++ cc65-2.12.0/src/cl65/make/gcc.mak 2009-02-02 22:00:23.431638032 +0000
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
|
||||
cl65: $(OBJS) $(LIBS)
|
||||
- $(CC) $(LDFLAGS) -o cl65 $(OBJS) $(LIBS)
|
||||
+ $(CC) $(OBJS) $(LIBS) $(LDFLAGS) -o cl65
|
||||
@if [ $(OS2_SHELL) ] ; then $(EBIND) cl65 ; fi
|
||||
|
||||
clean:
|
||||
diff -Naur cc65-2.12.0.orig/src/od65/make/gcc.mak cc65-2.12.0/src/od65/make/gcc.mak
|
||||
--- cc65-2.12.0.orig/src/od65/make/gcc.mak 2005-12-11 12:40:51.000000000 +0000
|
||||
+++ cc65-2.12.0/src/od65/make/gcc.mak 2009-02-02 22:01:31.053718478 +0000
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
|
||||
$(EXE): $(OBJS)
|
||||
- $(CC) $(LDFLAGS) -o $(EXE) $(CFLAGS) $(OBJS) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS) -o $(EXE)
|
||||
@if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi
|
||||
|
||||
clean:
|
20
dev-embedded/cc65/files/cc65-2.12.0-cbm_dir-1.patch
Normal file
20
dev-embedded/cc65/files/cc65-2.12.0-cbm_dir-1.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2009-02-02
|
||||
Initial Package Version: 2.12.0
|
||||
Origin: http://www.cc65.org/mailarchive/2009-01/6422.html
|
||||
Upstream Status: unknown
|
||||
Description: patch to get the directory functions in the cbm lib.
|
||||
|
||||
diff -Naur cc65-2.12.0.orig/libsrc/cbm/Makefile cc65-2.12.0/libsrc/cbm/Makefile
|
||||
--- cc65-2.12.0.orig/libsrc/cbm/Makefile 2005-07-24 13:20:49.000000000 +0000
|
||||
+++ cc65-2.12.0/libsrc/cbm/Makefile 2009-02-02 22:18:12.086354969 +0000
|
||||
@@ -31,7 +31,8 @@
|
||||
|
||||
C_OBJS = cbm_dir.o \
|
||||
cbm_load.o \
|
||||
- cbm_save.o
|
||||
+ cbm_save.o \
|
||||
+ cbm_dir.o
|
||||
|
||||
S_OBJS = c_acptr.o \
|
||||
c_basin.o \
|
Loading…
Reference in New Issue
Block a user