r5028 - in trunk: BOOK/general/prog BOOK/introduction/welcome patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Sep 9 15:57:40 PDT 2005


Author: randy
Date: 2005-09-09 16:57:39 -0600 (Fri, 09 Sep 2005)
New Revision: 5028

Added:
   trunk/patches/guile-1.6.7-gcc4-1.patch
Modified:
   trunk/BOOK/general/prog/guile.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added a GCC-4 patch to the Guile instructions

Modified: trunk/BOOK/general/prog/guile.xml
===================================================================
--- trunk/BOOK/general/prog/guile.xml	2005-09-09 22:45:38 UTC (rev 5027)
+++ trunk/BOOK/general/prog/guile.xml	2005-09-09 22:57:39 UTC (rev 5028)
@@ -55,6 +55,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink
+        url="&patch-root;/guile-&guile-version;-gcc4-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
   </sect2>
 
   <sect2 role="installation">
@@ -63,7 +71,8 @@
     <para>Install <application>Guile</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>patch -Np1 -i ../guile-&guile-version;-gcc4-1.patch &&
+./configure --prefix=/usr &&
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.</para>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 22:45:38 UTC (rev 5027)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-09 22:57:39 UTC (rev 5028)
@@ -45,6 +45,9 @@
       <para>September 9th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a GCC-4 patch to the Guile instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Replaced the Kernel_Headers patch with a GCC-4 patch
           in the Inetutils instructions.</para>
         </listitem>

Added: trunk/patches/guile-1.6.7-gcc4-1.patch
===================================================================
--- trunk/patches/guile-1.6.7-gcc4-1.patch	2005-09-09 22:45:38 UTC (rev 5027)
+++ trunk/patches/guile-1.6.7-gcc4-1.patch	2005-09-09 22:57:39 UTC (rev 5028)
@@ -0,0 +1,30 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-08-11
+Initial Package Version: 1.6.7
+Upstream Status:         Not submitted
+Origin:                  RedHat Development CVS
+Description:             Fixes GCC4 compilation errors
+
+$LastChangedBy$
+$Date$
+
+
+--- guile-1.6.7/libguile/guile.c.ltdl	2005-03-02 16:31:46.000000000 +0100
++++ guile-1.6.7/libguile/guile.c	2005-03-02 16:32:07.000000000 +0100
+@@ -53,6 +53,7 @@
+ #endif
+ 
+ #ifdef DYNAMIC_LINKING
++#include <ltdl.h>
+ #include "guile-ltdl.h"
+ #endif
+ 
+@@ -88,7 +89,7 @@
+ {
+ #ifdef DYNAMIC_LINKING
+   /* libtool automagically inserts this variable into your executable... */
+-  extern const scm_lt_dlsymlist lt_preloaded_symbols[];
++  extern const lt_dlsymlist lt_preloaded_symbols[];
+   scm_lt_dlpreload_default (lt_preloaded_symbols);
+ #endif
+   scm_boot_guile (argc, argv, inner_main, 0);


Property changes on: trunk/patches/guile-1.6.7-gcc4-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list