Skip to content

gcc{15,16}: tweak patch sequence#915

Open
Icenowy wants to merge 2 commits into
openRuyi-Project:mainfrom
Icenowy:gcc-fminmax-patch-fix
Open

gcc{15,16}: tweak patch sequence#915
Icenowy wants to merge 2 commits into
openRuyi-Project:mainfrom
Icenowy:gcc-fminmax-patch-fix

Conversation

@Icenowy

@Icenowy Icenowy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Rework of #850 , which has the patch added to GCC16 but not applied.

Checklist

  • I have read the [openRuyi Code of Conduct] and agree to abide by it.

Icenowy added 2 commits July 14, 2026 13:56
Although 1000 isn't used before this, listing it as 1000 will imply the
next upstream backport patch should come as 1001, which will leads to
confliction.

Change it to 2000 instead.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Currently the patch numbers are hardcoded with a %patch macro, which
leads to the fmin/fmax patch being not applied.

Change it to a %autopatch.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
@openruyi-bot openruyi-bot Bot added BuildSystem: misc Issue/PR not related to any BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Jul 14, 2026
@openruyi-bot openruyi-bot Bot added Workflow: In Review Issues that are undergoing code review and/or undergoing design review. and removed Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Jul 14, 2026
Comment thread SPECS/gcc16/gcc16.spec

#test patching start
%patch -p1 -P 2000 -P 2001
%autopatch -p1 -m 1000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe just

-%setup -q -n gcc-%{version}
-
-#test patching start
-%patch -p1 -P 2000 -P 2001
-#test patching end
+%autosetup -p1 -n gcc-%{version}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BuildSystem: misc Issue/PR not related to any BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: In Review Issues that are undergoing code review and/or undergoing design review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants