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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Nov 19 18:49:02 2010 UTC (3 years, 4 months ago) by jlec
Branch: MAIN
Import Prefix Changes

(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)

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
23 +++ configure
24 @@ -4565,7 +4565,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 >conftest.$ac_ext <<_ACEOF
31 /* confdefs.h. */
32 _ACEOF
33 @@ -4625,8 +4625,8 @@
34 { $as_echo "$as_me:$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_echo "$as_me:$LINENO: error: external blkid library not found" >&5
43 $as_echo "$as_me: error: external blkid library not found" >&2;}

  ViewVC Help
Powered by ViewVC 1.1.20