Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844925 - dev-embedded/sdcc-4.2.0 version bump
Summary: dev-embedded/sdcc-4.2.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2022-05-15 20:44 UTC by IvanDSM
Modified: 2023-03-05 10:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sdcc-4.2.0.ebuild (sdcc-4.2.0.ebuild,3.65 KB, text/plain)
2022-05-15 20:45 UTC, IvanDSM
Details
metadata.xml (metadata.xml,2.83 KB, text/xml)
2022-05-15 20:47 UTC, IvanDSM
Details
0001-dev-embedded-sdcc-bump-to-4.2.0.patch (0001-dev-embedded-sdcc-bump-to-4.2.0.patch,5.54 KB, patch)
2022-05-15 21:04 UTC, IvanDSM
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description IvanDSM 2022-05-15 20:44:30 UTC
http://sdcc.sourceforge.net/
https://sourceforge.net/projects/sdcc/files/sdcc/4.2.0/

SDCC 4.2.0 New Feature List:

    C23 memset_explicit
    Support for --oldralloc has been removed from the z80, z180, tlcs90, z80n, ez80_z80, r2k, r2ka, r3ka backends.
    gbz80 port now uses more efficient block-initalization of global variables (users of a custom crt0 need to adapt theirs).
    Full support for __z88dk_callee for the z80, z180, gbz80, tlcs90, z80n, ez80_z80, r2k, r2ka, r3ka, stm8 backends.
    Support for __raisonance, __iar and __cosmic calling conventions for stm8.
    Support for a new __sdcccall(1) calling convention in the stm8 port AS NEW DEFAULT.
    Support for a new __sdcccall(1) calling convention in the gbz80 port AS NEW DEFAULT.
    Support for a new __sdcccall(1) calling convention in the z80, z80n and z180 ports AS NEW DEFAULT.
    Support for a new __sdcccall(1) calling convention in the r2k, r2ka, r3k, tlcs90 and ez80_z80 ports.
    Removed support for --profile for gbz80, z80, z180, tlcs90, z80n, ez80_z80, r2k, r2ka, r3ka backends.
    The z80n port Z80N Core minimum version has been raised from 1.0 to 2.0.
    Improved rematerialization support in the stm8, gbz80, z80, z180, tlcs90, z80n, ez80_z80, r2k, r2ka, r3ka backends.
    The gbz80 port was renamed to sm83.
    New in-development mos6502 port.

Numerous other new features and bug fixes are included as well.

Reproducible: Always
Comment 1 IvanDSM 2022-05-15 20:45:59 UTC
Created attachment 779159 [details]
sdcc-4.2.0.ebuild

Suggested ebuild for SDCC 4.2.0, including renamed GameBoy port and new 6502/65C02 ports.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-15 20:46:45 UTC
(In reply to IvanDSM from comment #1)
> Created attachment 779159 [details]
> sdcc-4.2.0.ebuild
> 
> Suggested ebuild for SDCC 4.2.0, including renamed GameBoy port and new
> 6502/65C02 ports.

Please attach a git am-able patch (use git format-patch) and include the GCO signoff (Signed-off-by: Real Name <email>).
Comment 3 IvanDSM 2022-05-15 20:47:24 UTC
Created attachment 779162 [details]
metadata.xml

Suggested update to manifest.xml, adding USE flag descriptions for the 6502/650C2 ports and updating the GameBoy port USE flag as well as its description.
Comment 4 IvanDSM 2022-05-15 20:49:34 UTC
(In reply to Sam James from comment #2)
> (In reply to IvanDSM from comment #1)
> > Created attachment 779159 [details]
> > sdcc-4.2.0.ebuild
> > 
> > Suggested ebuild for SDCC 4.2.0, including renamed GameBoy port and new
> > 6502/65C02 ports.
> 
> Please attach a git am-able patch (use git format-patch) and include the GCO
> signoff (Signed-off-by: Real Name <email>).

Will do. I'll also correct the tabulation issues caused by my text editor settings. :)
Comment 5 IvanDSM 2022-05-15 21:04:56 UTC
Created attachment 779165 [details, diff]
0001-dev-embedded-sdcc-bump-to-4.2.0.patch

Properly signed-off patch with the suggested ebuild and metadata.xml update previously attached.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-05 10:14:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec9f33c18f0621452246ff37762a42485ad050ca

commit ec9f33c18f0621452246ff37762a42485ad050ca
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2022-12-01 18:49:37 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-03-05 10:14:21 +0000

    dev-embedded/sdcc: Bump to 4.2.0
    
    This update also fixes a long-standing bug with regards to the pic14 and
    pic16 ports. Be sure to build with USE="pic14 pic16 non-free device-lib"
    (all linked bugs are a copy of this, can be closed when this package
    goes stable)
    
    Bug: https://bugs.gentoo.org/682086
    Bug: https://bugs.gentoo.org/730484
    Bug: https://bugs.gentoo.org/731848
    Closes: https://bugs.gentoo.org/844925
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/28496
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 dev-embedded/sdcc/Manifest                         |   2 +
 .../sdcc/files/sdcc-4.2.0-link-tinfo.patch         |  24 +++
 dev-embedded/sdcc/metadata.xml                     |  17 ++-
 dev-embedded/sdcc/sdcc-4.2.0.ebuild                | 167 +++++++++++++++++++++
 dev-embedded/sdcc/sdcc-9999.ebuild                 | 134 +++++++++--------
 5 files changed, 276 insertions(+), 68 deletions(-)