Author: igor
Date: Mon Dec 30 03:52:40 2013
New Revision: 12484

Log:
correct linker flags in imlib2-config

Modified:
   trunk/BOOK/general/graphlib/imlib2.xml
   trunk/BOOK/introduction/welcome/changelog.xml

Modified: trunk/BOOK/general/graphlib/imlib2.xml
==============================================================================
--- trunk/BOOK/general/graphlib/imlib2.xml      Mon Dec 30 02:12:57 2013        
(r12483)
+++ trunk/BOOK/general/graphlib/imlib2.xml      Mon Dec 30 03:52:40 2013        
(r12484)
@@ -88,7 +88,8 @@
     <para>Install <application>Imlib2</application> by running the
     following commands:</para>
 
-<screen><userinput>sed -i "/DGifOpen/s:fd:&amp;, NULL:" 
src/modules/loaders/loader_gif.c &amp;&amp;
+<screen><userinput>sed -i '/DGifOpen/s:fd:&amp;, NULL:' 
src/modules/loaders/loader_gif.c &amp;&amp;
+sed -i 's/@my_libs@//' imlib2-config.in &amp;&amp;
 ./configure --prefix=/usr --disable-static &amp;&amp;
 make</userinput></screen>
 
@@ -107,9 +108,9 @@
     <title>Command Explanations</title>
 
     <para>
-      <command>sed -i "/DGifOpen/s:fd:&amp;, NULL:" ...</command>:
-      This sed fixes building with recent versions of
-      <application>Giflib</application>.
+      <command>sed -i ...</command>: First command fixes building with recent
+      versions of <application>Giflib</application> and the second one corrects
+      linker flags for libImlib2 usage.
     </para>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Mon Dec 30 02:12:57 
2013        (r12483)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Mon Dec 30 03:52:40 
2013        (r12484)
@@ -47,6 +47,10 @@
       <para>December 30th, 2013</para>
       <itemizedlist>
         <listitem>
+          <para>[igor] - Correct linker flags in imlib2-config, reported by 
Chris
+          Staub. Fixes <ulink 
url="&blfs-ticket-root;4504">#4504</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[pierre] - Text fixes from Chris Staub. Fixes
           <ulink url="&blfs-ticket-root;4505">#4505</ulink>.</para>
         </listitem>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to