[blfs-book] r12412 - trunk/BOOK/general/graphlib

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Wed Dec 18 03:17:46 PST 2013


Author: igor
Date: Wed Dec 18 03:17:46 2013
New Revision: 12412

Log:
fix tiffgt bug

Modified:
   trunk/BOOK/general/graphlib/libtiff.xml

Modified: trunk/BOOK/general/graphlib/libtiff.xml
==============================================================================
--- trunk/BOOK/general/graphlib/libtiff.xml	Wed Dec 18 03:02:27 2013	(r12411)
+++ trunk/BOOK/general/graphlib/libtiff.xml	Wed Dec 18 03:17:46 2013	(r12412)
@@ -96,7 +96,8 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr --disable-static &&
+<screen><userinput>sed -i '/glDrawPixels/a glFlush();' tools/tiffgt.c &&
+./configure --prefix=/usr --disable-static &&
 make</userinput></screen>
 
     <para>
@@ -114,6 +115,11 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <para>
+      <command>sed -i ...</command>: This command fixes a bug which is causing
+      <command>tiffgt</command> to open blank windows in some cases.
+    </para>
+
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
       href="../../xincludes/static-libraries.xml"/>
 



More information about the blfs-book mailing list