From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 19 10:40:02 2014 Return-Path: Delivered-To: freebsd-multimedia@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 131D5500 for ; Sun, 19 Jan 2014 10:40:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40F351210 for ; Sun, 19 Jan 2014 10:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JAe1CI042847 for ; Sun, 19 Jan 2014 10:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0JAe1lD042846; Sun, 19 Jan 2014 10:40:01 GMT (envelope-from gnats) Date: Sun, 19 Jan 2014 10:40:01 GMT Message-Id: <201401191040.s0JAe1lD042846@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org Cc: From: =?ISO-8859-1?Q?Ferenc_G=E1l?= Subject: Re: ports/185848: multimedia/vlc failed to compile with the new freerdp. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: =?ISO-8859-1?Q?Ferenc_G=E1l?= List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 10:40:02 -0000 The following reply was made to PR ports/185848; it has been noted by GNATS. From: =?ISO-8859-1?Q?Ferenc_G=E1l?= To: bug-followup@FreeBSD.org, gferenc88@gmail.com Cc: Subject: Re: ports/185848: multimedia/vlc failed to compile with the new freerdp. Date: Sun, 19 Jan 2014 11:37:09 +0100 --047d7b5d86b57fc10c04f0505bfa Content-Type: text/plain; charset=ISO-8859-1 Hi, i have made a patch for this problem: patch-modules-access-rdp.c: --- modules/access/rdp.c.orig +++ modules/access/rdp.c @@ -198,17 +198,17 @@ demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys; /* Configure connexion */ - p_instance->settings->sw_gdi = true; /* render in buffer */ - p_instance->settings->fullscreen = true; - p_instance->settings->hostname = strdup( p_sys->psz_hostname ); - p_instance->settings->username = + p_instance->settings->SoftwareGdi = true; /* render in buffer */ + p_instance->settings->Fullscreen = true; + p_instance->settings->ServerHostname = strdup( p_sys->psz_hostname ); + p_instance->settings->Username = var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "user" ); - p_instance->settings->password = + p_instance->settings->Password = var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "password" ); - p_instance->settings->port = p_sys->i_port; - p_instance->settings->encryption = + p_instance->settings->ServerPort = p_sys->i_port; + p_instance->settings->EncryptionMethods = var_InheritBool( p_vlccontext->p_demux, CFG_PREFIX "encrypt" ); - + return true; } @@ -217,9 +217,9 @@ vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context; msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)", - p_instance->settings->width, - p_instance->settings->height, - p_instance->settings->color_depth ); + p_instance->settings->DesktopWidth, + p_instance->settings->DesktopHeight, + p_instance->settings->ColorDepth ); p_instance->update->DesktopResize = desktopResizeHandler; p_instance->update->BeginPaint = beginPaintHandler; @@ -415,7 +415,7 @@ p_sys->p_instance->Authenticate = authenticateHandler; /* Set up context handlers and let it be allocated */ - p_sys->p_instance->context_size = sizeof( vlcrdp_context_t ); + p_sys->p_instance->ContextSize = sizeof( vlcrdp_context_t ); freerdp_context_new( p_sys->p_instance ); vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_sys->p_instance->context; --047d7b5d86b57fc10c04f0505bfa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

i have made a patch for this problem= :

patch-modules-access-rdp.c:

--- modules/access/rdp.c.orig+++ modules/access/rdp.c
@@ -198,17 +198,17 @@
=A0=A0=A0=A0 demux_s= ys_t *p_sys =3D p_vlccontext->p_demux->p_sys;

=A0=A0=A0=A0 /* Configure connexion */
-=A0=A0=A0 p_instance->set= tings->sw_gdi =3D true; /* render in buffer */
-=A0=A0=A0 p_instance-= >settings->fullscreen =3D true;
-=A0=A0=A0 p_instance->settings= ->hostname =3D strdup( p_sys->psz_hostname );
-=A0=A0=A0 p_instance->settings->username =3D
+=A0=A0=A0 p_instanc= e->settings->SoftwareGdi =3D true; /* render in buffer */
+=A0=A0= =A0 p_instance->settings->Fullscreen =3D true;
+=A0=A0=A0 p_instan= ce->settings->ServerHostname =3D strdup( p_sys->psz_hostname ); +=A0=A0=A0 p_instance->settings->Username =3D
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 var_InheritString( p_vlccontext->p_demux, CFG_PREFIX = "user" );
-=A0=A0=A0 p_instance->settings->password =3D<= br>+=A0=A0=A0 p_instance->settings->Password =3D
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 var_InheritString( p_vlccontext->p_= demux, CFG_PREFIX "password" );
-=A0=A0=A0 p_instance->sett= ings->port =3D p_sys->i_port;
-=A0=A0=A0 p_instance->settings-&= gt;encryption =3D
+=A0=A0=A0 p_instance->settings->ServerPort =3D = p_sys->i_port;
+=A0=A0=A0 p_instance->settings->EncryptionMethods =3D
=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 var_InheritBool( p_vlccontext->p_demux, CFG_= PREFIX "encrypt" );
-
+
=A0=A0=A0=A0 return true;
=A0= }

@@ -217,9 +217,9 @@
=A0=A0=A0=A0 vlcrdp_context_t * p_vlccontex= t =3D (vlcrdp_context_t *) p_instance->context;

=A0=A0=A0=A0 msg_Dbg( p_vlccontext->p_demux, "connected to desk= top %dx%d (%d bpp)",
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_instan= ce->settings->width,
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_insta= nce->settings->height,
-=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_ins= tance->settings->color_depth );
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_instance->settings->DesktopWi= dth,
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_instance->settings->D= esktopHeight,
+=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 p_instance->setti= ngs->ColorDepth );

=A0=A0=A0=A0 p_instance->update->Desktop= Resize =3D desktopResizeHandler;
=A0=A0=A0=A0 p_instance->update->BeginPaint =3D beginPaintHandler;@@ -415,7 +415,7 @@
=A0=A0=A0=A0 p_sys->p_instance->Authenticate = =3D authenticateHandler;

=A0=A0=A0=A0 /* Set up context handlers and= let it be allocated */
-=A0=A0=A0 p_sys->p_instance->context_size =3D sizeof( vlcrdp_context= _t );
+=A0=A0=A0 p_sys->p_instance->ContextSize =3D sizeof( vlcrdp= _context_t );
=A0=A0=A0=A0 freerdp_context_new( p_sys->p_instance );<= br>
=A0=A0=A0=A0 vlcrdp_context_t * p_vlccontext =3D (vlcrdp_context_t *= ) p_sys->p_instance->context;

--047d7b5d86b57fc10c04f0505bfa--