r8199 - in trunk/BOOK: basicnet/mailnews introduction/welcome

ag at linuxfromscratch.org ag at linuxfromscratch.org
Thu Jan 7 15:08:00 PST 2010


Author: ag
Date: 2010-01-07 16:08:00 -0700 (Thu, 07 Jan 2010)
New Revision: 8199

Modified:
   trunk/BOOK/basicnet/mailnews/procmail.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Rename procmail's getline to avoid conflict with getline from glibc

Modified: trunk/BOOK/basicnet/mailnews/procmail.xml
===================================================================
--- trunk/BOOK/basicnet/mailnews/procmail.xml	2010-01-07 22:37:01 UTC (rev 8198)
+++ trunk/BOOK/basicnet/mailnews/procmail.xml	2010-01-07 23:08:00 UTC (rev 8199)
@@ -5,7 +5,7 @@
   %general-entities;
 
   <!ENTITY procmail-download-http "http://www.procmail.org/procmail-&procmail-version;.tar.gz">
-  <!ENTITY procmail-download-ftp  "ftp://ftp.procmail.net/pub/procmail/procmail-&procmail-version;.tar.gz">
+  <!ENTITY procmail-download-ftp  "ftp://ftp.psg.com/pub/unix/procmail/procmail-&procmail-version;.tar.gz">
   <!ENTITY procmail-md5sum        "1678ea99b973eb77eda4ecf6acae53f1">
   <!ENTITY procmail-size          "226 KB">
   <!ENTITY procmail-buildsize     "1.7 MB">
@@ -67,7 +67,8 @@
     <para>Install <application>Procmail</application> by running the following
     commands as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role='root'><userinput>make LOCKINGTEST=/tmp install &&
+<screen role='root'><userinput>sed -i 's/getline/get_line/' src/*.[ch] &&
+make LOCKINGTEST=/tmp install &&
 make install-suid</userinput></screen>
 
   </sect2>
@@ -75,6 +76,10 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para><command>sed -i 's/getline/get_line/' src/*.[ch]</command>: This renames
+    procmail's getline function to avoid conflict with the getline function from
+    <application>glibc</application>.</para>
+
     <para><command>make LOCKINGTEST=/tmp install</command>: This prevents
     <command>make</command> from asking you where to test file-locking
     patterns.</para>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-01-07 22:37:01 UTC (rev 8198)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-01-07 23:08:00 UTC (rev 8199)
@@ -44,6 +44,10 @@
       <para>January 8th, 2010</para>
       <itemizedlist>
         <listitem>
+          <para>[ag] - Apply a sed to procmail to rename the internal
+          getline function, to avoid conflict with getline from glibc.</para>
+        </listitem>
+        <listitem>
           <para>[ag] - Updated to curl-7.19.7.</para>
         </listitem>
         <listitem>




More information about the blfs-book mailing list