/[gentoo-x86]/sys-fs/e2fsprogs/files/e2fsprogs-1.41.12-mint-blkid.patch
Gentoo

Contents of /sys-fs/e2fsprogs/files/e2fsprogs-1.41.12-mint-blkid.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jan 3 21:18:58 2011 UTC (3 years, 11 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Update mint blkid patch, bug #350342 by Alan Hourihane

(Portage version: 2.2.01.17555-prefix/cvs/Darwin powerpc)

1 http://bugs.gentoo.org/276055
2
3 <alanh@fairlite.co.uk>:
4 The configure test program links against libblkid to test. This works
5 fine on shared library systems as libblkid automatically depends on
6 libuuid. But on static systems it needs explicit linking.
7
8
9 --- configure.in
10 +++ configure.in
11 @@ -398,8 +398,8 @@
12 fi
13
14 AC_CHECK_LIB(blkid, blkid_get_cache,
15 - [LIBBLKID=`$PKG_CONFIG --libs blkid`;
16 - STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`],
17 + [LIBBLKID=`$PKG_CONFIG --libs blkid --libs uuid`;
18 + STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid --libs uuid`],
19 [AC_MSG_ERROR([external blkid library not found])],
20 [$LIBBLKID])
21 BLKID_CMT=#
22 --- configure.old 2011-01-01 14:20:07.000000000 +0000
23 +++ configure 2011-01-01 14:22:01.000000000 +0000
24 @@ -5228,7 +5228,7 @@
25 $as_echo_n "(cached) " >&6
26 else
27 ac_check_lib_save_LIBS=$LIBS
28 -LIBS="-lblkid $LIBBLKID $LIBS"
29 +LIBS="-lblkid -luuid $LIBBLKID $LIBS"
30 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31 /* end confdefs.h. */
32
33 @@ -5259,8 +5259,8 @@
34 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
35 $as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
36 if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then :
37 - LIBBLKID=`$PKG_CONFIG --libs blkid`;
38 - STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
39 + LIBBLKID=`$PKG_CONFIG --libs blkid --libs uuid`;
40 + STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid --libs uuid`
41 else
42 as_fn_error "external blkid library not found" "$LINENO" 5
43 fi

  ViewVC Help
Powered by ViewVC 1.1.20