Author: xry111
Date: Sun Apr 11 22:35:02 2021
New Revision: 24463

Log:
libblockdev: fix FTBFS with glib-2.68

Modified:
   trunk/BOOK/general/genlib/libblockdev.xml

Modified: trunk/BOOK/general/genlib/libblockdev.xml
==============================================================================
--- trunk/BOOK/general/genlib/libblockdev.xml   Sun Apr 11 10:05:01 2021        
(r24462)
+++ trunk/BOOK/general/genlib/libblockdev.xml   Sun Apr 11 22:35:02 2021        
(r24463)
@@ -104,6 +104,14 @@
     <title>Installation of libblockdev</title>
 
     <para>
+      Fix the usage of a glib function deprecated for security:
+    </para>
+
+<screen><userinput>sed 's/g_memdup/&amp;2/' -i             \
+    src/lib/plugin_apis/vdo.{c,api} \
+    src/plugins/vdo.c</userinput></screen>
+
+    <para>
       Install <application>libblockdev</application> by running
       the following commands:
     </para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to