Author: ranger Date: Thu Jun 15 21:12:46 2006 New Revision: 112 URL: <http://svn.finkproject.org/websvn/listing.php?sc=1&rev=112&repname=user%3a+ranger> Log: fixed wv2
Modified: trunk/experimental/10.3/main/finkinfo/libs/wv2.patch trunk/experimental/10.4-transitional/main/finkinfo/libs/wv2.patch trunk/experimental/10.4/main/finkinfo/libs/wv2.patch trunk/experimental/common/main/finkinfo/libs/wv2.patch Modified: trunk/experimental/10.3/main/finkinfo/libs/wv2.patch URL: <http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/10.3/main/finkinfo/libs/wv2.patch&rev=112&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/10.3/main/finkinfo/libs/wv2.patch (original) +++ trunk/experimental/10.3/main/finkinfo/libs/wv2.patch Thu Jun 15 21:12:46 2006 @@ -1,6 +1,7 @@ ---- wv2/src/word_helper.h -+++ wv2/src/word_helper.h -@@ -552,8 +552,11 @@ + +--- wv2-0.2.2/src/word_helper.h 2004-05-09 15:53:27.000000000 -0400 ++++ wv2-0.2.2-new/src/word_helper.h 2006-06-15 14:55:47.000000000 -0400 +@@ -552,8 +552,12 @@ const U8 tmp = m_fkp.m_rgb[ m_index ].offset; // Now we have to calculate the real offset and then locate it // within our cached array... @@ -9,8 +10,9 @@ + if ( tmp != 0 ) { + const int pos = tmp * 2 - m_fkp.m_internalOffset; + if (pos < 0 || pos >= 511 - m_fkp.m_internalOffset) -+ return 0; ++ return 0; + return &m_fkp.m_fkp[ pos ]; ++ } } return 0; } Modified: trunk/experimental/10.4-transitional/main/finkinfo/libs/wv2.patch URL: <http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/10.4-transitional/main/finkinfo/libs/wv2.patch&rev=112&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/10.4-transitional/main/finkinfo/libs/wv2.patch (original) +++ trunk/experimental/10.4-transitional/main/finkinfo/libs/wv2.patch Thu Jun 15 21:12:46 2006 @@ -1,6 +1,7 @@ ---- wv2/src/word_helper.h -+++ wv2/src/word_helper.h -@@ -552,8 +552,11 @@ + +--- wv2-0.2.2/src/word_helper.h 2004-05-09 15:53:27.000000000 -0400 ++++ wv2-0.2.2-new/src/word_helper.h 2006-06-15 14:55:47.000000000 -0400 +@@ -552,8 +552,12 @@ const U8 tmp = m_fkp.m_rgb[ m_index ].offset; // Now we have to calculate the real offset and then locate it // within our cached array... @@ -9,8 +10,9 @@ + if ( tmp != 0 ) { + const int pos = tmp * 2 - m_fkp.m_internalOffset; + if (pos < 0 || pos >= 511 - m_fkp.m_internalOffset) -+ return 0; ++ return 0; + return &m_fkp.m_fkp[ pos ]; ++ } } return 0; } Modified: trunk/experimental/10.4/main/finkinfo/libs/wv2.patch URL: <http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/10.4/main/finkinfo/libs/wv2.patch&rev=112&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/10.4/main/finkinfo/libs/wv2.patch (original) +++ trunk/experimental/10.4/main/finkinfo/libs/wv2.patch Thu Jun 15 21:12:46 2006 @@ -1,6 +1,7 @@ ---- wv2/src/word_helper.h -+++ wv2/src/word_helper.h -@@ -552,8 +552,11 @@ + +--- wv2-0.2.2/src/word_helper.h 2004-05-09 15:53:27.000000000 -0400 ++++ wv2-0.2.2-new/src/word_helper.h 2006-06-15 14:55:47.000000000 -0400 +@@ -552,8 +552,12 @@ const U8 tmp = m_fkp.m_rgb[ m_index ].offset; // Now we have to calculate the real offset and then locate it // within our cached array... @@ -9,8 +10,9 @@ + if ( tmp != 0 ) { + const int pos = tmp * 2 - m_fkp.m_internalOffset; + if (pos < 0 || pos >= 511 - m_fkp.m_internalOffset) -+ return 0; ++ return 0; + return &m_fkp.m_fkp[ pos ]; ++ } } return 0; } Modified: trunk/experimental/common/main/finkinfo/libs/wv2.patch URL: <http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/libs/wv2.patch&rev=112&repname=user%3a+ranger> ============================================================================== --- trunk/experimental/common/main/finkinfo/libs/wv2.patch (original) +++ trunk/experimental/common/main/finkinfo/libs/wv2.patch Thu Jun 15 21:12:46 2006 @@ -1,6 +1,7 @@ ---- wv2/src/word_helper.h -+++ wv2/src/word_helper.h -@@ -552,8 +552,11 @@ +diff -uNr wv2-0.2.2/src/word_helper.h wv2-0.2.2-new/src/word_helper.h +--- wv2-0.2.2/src/word_helper.h 2004-05-09 15:53:27.000000000 -0400 ++++ wv2-0.2.2-new/src/word_helper.h 2006-06-15 14:55:47.000000000 -0400 +@@ -552,8 +552,12 @@ const U8 tmp = m_fkp.m_rgb[ m_index ].offset; // Now we have to calculate the real offset and then locate it // within our cached array... @@ -9,8 +10,9 @@ + if ( tmp != 0 ) { + const int pos = tmp * 2 - m_fkp.m_internalOffset; + if (pos < 0 || pos >= 511 - m_fkp.m_internalOffset) -+ return 0; ++ return 0; + return &m_fkp.m_fkp[ pos ]; ++ } } return 0; } _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits