[arch-general] Patching in PKGBUILDS

Jan Alexander Steffens jan.steffens at gmail.com
Tue Dec 31 22:58:11 EST 2013

On Wed, Jan 1, 2014 at 4:51 AM, Mark Lee <mark at markelee.com> wrote:
> My patch command was given in the build() section of the PKGBUILD:
> build() {
>   cd "${srcdir}/${pkgname}-${pkgver}";
>   patch -Np1 -i "${srcdir}/i965_rendering.patch"
>   ./configure --prefix=/usr
>   make
> }
> While debugging libva-intel-driver, I applied the rendering patch via
> the PKGBUILD only to find later that it wasn't actually applied. Makepkg
> didn't stop building the package even though it failed to apply the
> patch.

Nothing wrong with that snippet; the problem lies somewhere else. Did
you actually watch the patch fail and makepkg continue? Are you sure
the package you have installed came from this PKGBUILD?

More information about the arch-general mailing list