tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gmplayer does not compile on NetBSD-current



Hi,

It is a fallout of multimedia/ffmpeg3-3.4.
Could you try
pkgsrc/multimedia/mplayer-share/patches/patch-libvo_vo__vdpau.c ?

Thank you.

From: Martin Husemann <martin%duskware.de@localhost>, Date: Mon, 23 Oct 2017 08:54:02 +0200

> Compiling multimedia/gmplayer on NetBSD-current fails with:
> 
> libvo/vo_x11.c: In function 'draw_slice':
> libvo/vo_x11.c:495:27: warning: passing argument 2 of 'sws_scale' from incompat$
>      sws_scale(swsContext, src, stride, y, h, dst, dstStride);
>                            ^
> In file included from libvo/vo_x11.c:53:0:
> /usr/pkgobj/multimedia/gmplayer/work/.buildlink/include/ffmpeg3/libswscale/swsc$
>  int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
>      ^
> libvo/vo_vdpau.c:131:8: error: unknown type name 'VdpPresentationQueueTargetCre$
>  static VdpPresentationQueueTargetCreateX11       *vdp_presentation_queue_targe$
>         ^
> libvo/vo_vdpau.c: In function 'win_x11_init_vdpau_procs':
> libvo/vo_vdpau.c:394:10: error: 'VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X$
>          {VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11,   
>           ^
> libvo/vo_vdpau.c:394:10: note: each undeclared identifier is reported only once$
> 
> 
> Martin

--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index