Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can you update dependencies with a patch?
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
sbeem
n00b
n00b


Joined: 16 Apr 2024
Posts: 4

PostPosted: Sat Apr 20, 2024 3:27 pm    Post subject: Can you update dependencies with a patch? Reply with quote

I am patching st-0.9 with the alpha patch by putting the .diff in /etc/portage/patches/x11-terms/st-0.9. The patch introduces x11-libs/libXrender as a dependency.

I know I can pull down the ebuild and modify it myself, and then install st with that ebuild. I'd like to keep using the upstream ebuild if possible though.

I know I can also just install the lib, but I don't want to have a package with a silent dependency.

Is there an easier or better way of handling this?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1565

PostPosted: Sat Apr 20, 2024 3:40 pm    Post subject: Reply with quote

No. User patches are applied to the sources, not the ebuild. Better copy the ebuild in a local repo and do it that way.

Best Regards,
Georgi
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