[arch] patching with makepkg

Michel Di Croci michel.dicroci at gmail.com
Tue Jan 9 13:17:29 EST 2007


Jsut a tought like this,

Should we had a line in the pkgbuild file for patches? like source or
something similar that pacman or maekpkg could apply directly to the source?

Michel

On 1/1/07, Andreas Radke <a.radke at arcor.de> wrote:
>
> Am Mon, 01 Jan 2007 21:12:18 +0100
> schrieb Johannes Held <mail at hehejo.de>:
>
> > Hi,
> >
> > what is need to be done, that a patch is applied using makepkg?
> >
> > I looked into the PKGBUILD of rhythmbox - there's no special command
> > for applying patches.
> >
> > I put the patch named as "crossfade.patch"
> > into /var/abs/local/rhythmbox and ran makepkg.
> > Is the patch now applied?
> >
> >
> use the usual patch command in the build section of the pkgbuild, eg:
>
> patch -Np1 -i ../foo.patch || return 1
>
> _______________________________________________
> arch mailing list
> arch at archlinux.org
> http://www.archlinux.org/mailman/listinfo/arch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.archlinux.org/pipermail/arch/attachments/20070109/507ac687/attachment.html 


More information about the arch mailing list