On Mon, Aug 29 2022, Antoine Jacoutot <[email protected]> wrote:
> Hi.
>
> Now that we have RTLD_NOLOAD, we should be able to remove this chunk.
> OK?

yup

> Index: patches/patch-modules_access_v4l2_lib_c
> ===================================================================
> RCS file: /cvs/ports/x11/vlc/patches/patch-modules_access_v4l2_lib_c,v
> retrieving revision 1.4
> diff -u -p -r1.4 patch-modules_access_v4l2_lib_c
> --- patches/patch-modules_access_v4l2_lib_c   11 Mar 2022 20:17:31 -0000      
> 1.4
> +++ patches/patch-modules_access_v4l2_lib_c   29 Aug 2022 12:29:15 -0000
> @@ -4,7 +4,7 @@ ed4a5feb243a201b7890672f3d376b4586a16593
>  Index: modules/access/v4l2/lib.c
>  --- modules/access/v4l2/lib.c.orig
>  +++ modules/access/v4l2/lib.c
> -@@ -31,6 +31,16 @@
> +@@ -31,6 +31,12 @@
>   
>   #include "v4l2.h"
>   
> @@ -14,14 +14,10 @@ Index: modules/access/v4l2/lib.c
>  +#define V4L2_LIB "libv4l2.so.0"
>  +#endif
>  +
> -+#ifndef RTLD_NOLOAD
> -+#define RTLD_NOLOAD 0
> -+#endif
> -+
>   static int fd_open (int fd, int flags)
>   {
>       (void) flags;
> -@@ -56,7 +66,7 @@ static void v4l2_lib_load (void)
> +@@ -56,7 +62,7 @@ static void v4l2_lib_load (void)
>   
>       h = dlopen ("libmediaclient.so", RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD);
>       if (h == NULL)

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to