Author: thomas
Date: Sun Feb  4 17:21:14 2018
New Revision: 19732

Log:
postgresql: Add sed to come over a naming issue with new glibc-2.27

Modified:
   trunk/BOOK/server/databases/postgresql.xml

Modified: trunk/BOOK/server/databases/postgresql.xml
==============================================================================
--- trunk/BOOK/server/databases/postgresql.xml  Sun Feb  4 13:44:44 2018        
(r19731)
+++ trunk/BOOK/server/databases/postgresql.xml  Sun Feb  4 17:21:14 2018        
(r19732)
@@ -92,6 +92,7 @@
     following commands: </para>
 
 <screen><userinput>sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' 
src/include/pg_config_manual.h &amp;&amp;
+sed -i "s/copy_file_range/rewind_&amp;/" src/bin/pg_rewind/copy_fetch.c 
&amp;&amp;
 
 ./configure --prefix=/usr          \
             --enable-thread-safety \
@@ -190,7 +191,8 @@
       from <filename class="directory">/tmp</filename> to
       <filename class="directory">/run/postgresql</filename><!-- and fix up the
       regression tests to use <filename class="directory">/tmp</filename> so
-      that they can work reliably-->.
+      that they can work reliably-->. Second sed renames a function as
+      glibc-2.27 introduced one with the same name.
     </para>
 
     
<para><parameter>--docdir=/usr/share/doc/postgresql-&postgresql-version;</parameter>:
-- 
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