Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I disable patches of an ebuild?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1542
Location: Frankfurt, Germany

PostPosted: Fri Dec 28, 2018 2:55 pm    Post subject: How can I disable patches of an ebuild? Reply with quote

app-text/ghostscript-gpl-9.26 comes with two patches that lead to a faulty font mapping file Fontmap.GS (see: 1, 2 )
  • ghostscript-9.25-urw-fonts-naming-1.patch
  • ghostscript-9.25-urw-fonts-naming-2.patch
How can I tell emerge to skip those patches?

I know that I can ADD patches in /etc/portage/patches. But how can I DISABLE (or skip) patches that are part of an ebuild?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43754
Location: 56N 3W

PostPosted: Fri Dec 28, 2018 3:08 pm    Post subject: Reply with quote

mike155,

You can cheat.

Create reverse patches from ghostscript-9.25-urw-fonts-naming-1.patch and ghostscript-9.25-urw-fonts-naming-2.patch then add them in the normal way.
The ebuild will do its thing, then apply your reverse patches, giving the result you want.

That's all I can think of without an ebuild modification.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1542
Location: Frankfurt, Germany

PostPosted: Fri Dec 28, 2018 6:32 pm    Post subject: Reply with quote

Thanks, NeddySeagoon, for your fast answer!

I created a reverse patch and it works :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum