[kde-freebsd] Fix KDE4 with jpeg-7

Stefan Ehmann shoesoft at gmx.net
Fri Jul 31 08:43:59 CEST 2009


Konqueror is rather unsuable ATM due to the jpeg library update.
This was fixed in r998545. I think it's desirable to include this patch in the 
ports tree unless KDE 4.3 will be commited very soon.


--- trunk/KDE/kdelibs/khtml/imload/decoders/jpegloader.cpp	2008/08/30 20:44:26	
854969
+++ trunk/KDE/kdelibs/khtml/imload/decoders/jpegloader.cpp	2009/07/17 22:31:07	
998545
@@ -324,7 +324,7 @@
                 scaleDown *= 2;
             }
             
-            cinfo.scale_denom = scaleDown;
+            cinfo.scale_denom *= scaleDown;
             
             if (scaleDown > 8) {
                 // Still didn't fit... Abort.



More information about the kde-freebsd mailing list