[mythtv-users] Trunk Compile Issue
Kevon
mythtv at reidsresidence.com
Sat Apr 7 00:35:52 UTC 2012
On 04/06/2012 04:45 PM, Simon Jones wrote:
> Can someone tell me how I should apply these patches, I have put in my
> PKGBUILD file
>
> patch -Np0 -i "${srcdir}/mythtv_0.25_gcc_4.7.patch"
>
> I have tried replacing the 0 with 1, but I think it's the format of
> the patch file that it just complains it can't find the file
> specified... Here's the error
>
> ==> Patching MythTV for GCC 4.7 Compile
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |*** ./mythtv/libs/libmythbase/compat.h.org 2012-03-31
> 20:52:30.430461503 -0400
> |--- ./mythtv/libs/libmythbase/compat.h 2012-03-31 20:59:05.935585911 -0400
> --------------------------
> File to patch: ^C
>
> Line 3 is the stars?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
The path in the patch is relative so you have to patch from the
directory containing the mythtv source. Eg:
cd <dir with mythtv> && patch -Np0 -i "${srcdir}/mythtv_0.25_gcc_4.7.patch"
More information about the mythtv-users
mailing list