Subject: pkg/37544: multimedia/xawtv -- Patch to fix build errors on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <frank@dynamical-systems.org>
List: pkgsrc-bugs
Date: 12/14/2007 18:15:01
>Number:         37544
>Category:       pkg
>Synopsis:       multimedia/xawtv -- Patch to fix build errors on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 14 18:15:01 +0000 2007
>Originator:     Frank W. Josellis
>Release:        
>Organization:
>Environment:
>Description:
On Linux multimedia/xawtv configures to include all the framebuffer stuff which, however, is not taken into account in the buildlink environment. Thus running 'bmake' ends up with errors. With the patch below this issue could be fixed in my case.

I haven't yet sent a PR using a web interface, and I fear the patch might be broken if it's just pasted in here. For this reason I uuencoded it for the submission, hoping that's ok this way.

NB, running a post-install 'bmake package' still gave me errors on Linux. Testing the patch on Dragonfly just worked fine, so this might be a more general problem with pkgsrc on Linux?

>How-To-Repeat:

>Fix:
begin 644 xawtv.patch
M9&EF9B`M3G5R('AA=W1V+D)!2R]-86ME9FEL92!X87=T=B]-86ME9FEL90HM
M+2T@>&%W='8N0D%++TUA:V5F:6QE"3(P,#<M,#@M,#<@,#,Z-#(Z-#4N,#`P
M,#`P,#`P("LP,C`P"BLK*R!X87=T=B]-86ME9FEL90DR,#`W+3$R+3$T(#$T
M.C4P.C4S+C`P,#`P,#`P,"`K,#$P,`I`0"`M-#8L-B`K-#8L-R!`0`H@+FEN
M8VQU9&4@(BXN+RXN+V=R87!H:6-S+TUE<V%,:6(O8G5I;&1L:6YK,RYM:R(*
M("YI;F-L=61E("(N+B\N+B]G<F%P:&EC<R]J<&5G+V)U:6QD;&EN:S,N;6LB
M"B`N:6YC;'5D92`B+BXO+BXO>#$Q+UAA=S-D+V)U:6QD;&EN:S,N;6LB"BLN
M:6YC;'5D92`B+BXO+BXO>#$Q+VQI8D93+V)U:6QD;&EN:S,N;6L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