r5029 - in trunk: BOOK/introduction/welcome BOOK/postlfs/security patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Sep 9 16:19:49 PDT 2005


Author: randy
Date: 2005-09-09 17:19:47 -0600 (Fri, 09 Sep 2005)
New Revision: 5029

Added:
   trunk/patches/cyrus-sasl-2.1.21-gcc4-1.patch
Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/cyrus-sasl.xml
Log:
Added a GCC-4 patch to the Cyrus-SASL instructions

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 22:57:39 UTC (rev 5028)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 23:19:47 UTC (rev 5029)
@@ -45,6 +45,10 @@
       <para>September 9th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a GCC-4 patch to the Cyrus-SASL
+          instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added a GCC-4 patch to the Guile instructions.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/postlfs/security/cyrus-sasl.xml
===================================================================
--- trunk/BOOK/postlfs/security/cyrus-sasl.xml	2005-09-09 22:57:39 UTC (rev 5028)
+++ trunk/BOOK/postlfs/security/cyrus-sasl.xml	2005-09-09 23:19:47 UTC (rev 5029)
@@ -59,6 +59,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink
+        url="&patch-root;/cyrus-sasl-&cyrus-sasl-version;-gcc4-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">Cyrus SASL Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -86,7 +94,8 @@
     <para>Install <application>Cyrus SASL</application> by
     running the following commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
+<screen><userinput>patch -Np1 -i ../cyrus-sasl-&cyrus-sasl-version;-gcc4-1.patch &&
+./configure --prefix=/usr --sysconfdir=/etc \
             --with-dbpath=/var/lib/sasl/sasldb2 \
             --with-saslauthd=/var/run &&
 make</userinput></screen>

Added: trunk/patches/cyrus-sasl-2.1.21-gcc4-1.patch
===================================================================
--- trunk/patches/cyrus-sasl-2.1.21-gcc4-1.patch	2005-09-09 22:57:39 UTC (rev 5028)
+++ trunk/patches/cyrus-sasl-2.1.21-gcc4-1.patch	2005-09-09 23:19:47 UTC (rev 5029)
@@ -0,0 +1,24 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-08-12
+Initial Package Version: 2.1.21
+Upstream Status:         Not submitted
+Origin:                  Fedora
+                         http://directory.fedora.redhat.com/sources/cyrus-sasl-2.1.20-gcc4.patch
+Description:             Fixes GCC-4 compilation error
+
+$LastChangedBy$
+$Date$
+
+
+diff -Naur cyrus-sasl-2.1.21-orig/lib/client.c cyrus-sasl-2.1.21/lib/client.c
+--- cyrus-sasl-2.1.21-orig/lib/client.c	2004-11-17 14:19:30.000000000 +0000
++++ cyrus-sasl-2.1.21/lib/client.c	2005-08-12 19:59:06.000000000 +0000
+@@ -61,7 +61,7 @@
+ 
+ static cmech_list_t *cmechlist; /* global var which holds the list */
+ 
+-static sasl_global_callbacks_t global_callbacks;
++sasl_global_callbacks_t global_callbacks;
+ 
+ static int _sasl_client_active = 0;
+ 


Property changes on: trunk/patches/cyrus-sasl-2.1.21-gcc4-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list