Author: bdubbs Date: Sat Feb 18 09:15:24 2017 New Revision: 18337 Log: Touch up libepoxy check
Modified: trunk/scripts/blfs-chapter25.php Modified: trunk/scripts/blfs-chapter25.php ============================================================================== --- trunk/scripts/blfs-chapter25.php Fri Feb 17 20:02:57 2017 (r18336) +++ trunk/scripts/blfs-chapter25.php Sat Feb 18 09:15:24 2017 (r18337) @@ -202,6 +202,12 @@ $ver = preg_replace( $regex[ $package ], "$1", $l ); if ( $ver == $l ) continue; + if ( $book_index == "libepoxy" ) + { + for ( $i = 0; $i < strlen($ver); $i++ ) if ( $max[$i] == '.' ) $dots++; + if ( $dots < 2 ) $ver .= '.0'; + } + return $ver; // Return first match of regex } -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page