Magellan Linux

Annotation of /trunk/hal/patches/hal-0.5.10-fix-version-check-code-for-libmsbios-in-configure.in.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 597 - (hide annotations) (download)
Mon May 19 19:05:19 2008 UTC (16 years ago) by niro
File size: 915 byte(s)
-gentoo patches

1 niro 597 From 8befc1aaf2cd10f29fa9252235299953537b317f Mon Sep 17 00:00:00 2001
2     From: Michael E Brown <Michael_E_Brown@dell.com>
3     Date: Thu, 15 Nov 2007 21:35:26 +0100
4     Subject: [PATCH] fix version check code for libmsbios in configure.in
5    
6     This patch fixes the version check for libsmbios. It currently
7     fails if the major bumps (which I am planning to do shortly).
8     ---
9     configure.in | 3 ++-
10     1 files changed, 2 insertions(+), 1 deletions(-)
11    
12     diff --git a/configure.in b/configure.in
13     index d2b273f..fc5a691 100644
14     --- a/configure.in
15     +++ b/configure.in
16     @@ -405,7 +405,8 @@ if test "$LIB_SMBIOS" = "yes" ; then
17    
18     if ( sscanf( LIBSMBIOS_RELEASE_VERSION , "%d.%d.%d", &major, &minor, &micro ) == 3 ) {
19     if ((major == 0 && minor == 13 && micro >= 4) ||
20     - (major >= 0 && minor > 13)) {
21     + (major == 0 && minor > 13) ||
22     + (major >= 0)) {
23     return 0;
24     }
25     }
26     --
27     1.5.3.7
28