public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-arch/dump/files: dump-0.4.44-underlinking.patch
@ 2011-06-16  9:54 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2011-06-16  9:54 UTC (permalink / raw
  To: gentoo-commits

pva         11/06/16 09:54:35

  Added:                dump-0.4.44-underlinking.patch
  Log:
  Fix underlinking build problem, bug #369461 thank Diego Elio Pettenò for report.
  
  (Portage version: 2.1.10.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-arch/dump/files/dump-0.4.44-underlinking.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dump/files/dump-0.4.44-underlinking.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/dump/files/dump-0.4.44-underlinking.patch?rev=1.1&content-type=text/plain

Index: dump-0.4.44-underlinking.patch
===================================================================
diff --git a/MCONFIG.in b/MCONFIG.in
index 64cb016..f5d1012 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -40,7 +40,7 @@ GINC+=		@EXT2FS_CFLAGS@
 # indicate where the ext2fs library can be found (this is not needed if you
 # have run `make install-libs' in the e2fsprogs source directory).
 #GLIBDIR=	-L/usr/src/e2fsprogs-0.5c/lib
-GLIBS=		$(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@
+GLIBS=		$(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@ @COM_ERR_LIBS@
 
 #
 # Definitions (don't change them unless you know what you are doing)
diff --git a/configure.in b/configure.in
index 2d69157..c8a9e04 100644
--- a/configure.in
+++ b/configure.in
@@ -414,11 +414,12 @@ fi
 if test "$ext2fs_h" = no -o "x$EXT2FS_LIBS" = "x"; then
 	AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs)
 fi
+PKG_CHECK_MODULES(COM_ERR, [com_err])
 
 dnl
 dnl Check for ext2fs_read_inode_full
 dnl
-AC_CHECK_LIB(ext2fs, ext2fs_read_inode_full, [rif=yes], [rif=no], [-lcom_err])
+AC_CHECK_LIB(ext2fs, ext2fs_read_inode_full, [rif=yes], [rif=no], [$COM_ERR_LIBS])
 if test "$rif" = yes; then
 	AC_DEFINE([HAVE_EXT2FS_READ_INODE_FULL],1,[Define this if your ext2fs libs have the ext2fs_read_inode_full function.])
 fi






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-16  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16  9:54 [gentoo-commits] gentoo-x86 commit in app-arch/dump/files: dump-0.4.44-underlinking.patch Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox