View previous topic :: View next topic |
Author |
Message |
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Dec 28, 2018 2:55 pm Post subject: How can I disable patches of an ebuild? |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Fri Dec 28, 2018 3:08 pm Post subject: |
|
|
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 |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Dec 28, 2018 6:32 pm Post subject: |
|
|
Thanks, NeddySeagoon, for your fast answer!
I created a reverse patch and it works |
|
Back to top |
|
|
|