Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eigene Patches in packet einfügen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
drakesoft
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2008
Posts: 129

PostPosted: Sun Sep 07, 2008 10:08 am    Post subject: Eigene Patches in packet einfügen Reply with quote

Hallo,
ich wollte ma fragen wie man eigene patches (*.diff) beim emergen hinzufügen kann. Ich hab schon was im internet gefunden speziell für VDR, dies hat aber leider nicht funktioniert.

Mit Freundlichen Grüßen

drakesoft


Last edited by drakesoft on Sun Sep 07, 2008 10:40 am; edited 1 time in total
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Sun Sep 07, 2008 10:14 am    Post subject: Reply with quote

Am besten kopierst du das ganze ebuild-Verzeichnis aus dem Tree in ein Overlay. Sonst gehen deinen Änderungen beim nächsten Sync flöten. Dann den Patch ins Unterverzeichnis files/ kopieren und das ebuild editieren. In der Funktion src_unpack() dann (am Ende) folgendes einfügen:
Code:
epatch "${FILESDIR}"/mein.patch

Am Ende noch ein
Code:
ebuild mein.ebuild digest

Das war's. Bei Programmen mit selben Version im offiziellen Baum und in einem Overlay nimmt Portage die Version aus dem Overlay.
Back to top
View user's profile Send private message
drakesoft
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2008
Posts: 129

PostPosted: Sun Sep 07, 2008 10:44 am    Post subject: Reply with quote

epatch tut mir leid aber irgentwie finde ich da nicht das richtige ebuild.
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Sun Sep 07, 2008 1:40 pm    Post subject: Reply with quote

Für epatch gibt's kein ebuild, das ist ein Befehl, der IN einem ebuild aufgerufen wird.
Libby wrote:
In der Funktion src_unpack() dann (am Ende) folgendes einfügen:
Code:
epatch "${FILESDIR}"/mein.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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