Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] e2fsprogs: bump version number to 1.41.9
@ 2009-10-06 10:53 Daniel Mack
  2009-10-06 10:53 ` [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs Daniel Mack
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Mack @ 2009-10-06 10:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 package/e2fsprogs/e2fsprogs.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index ed9bacb..ca7a37e 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -3,7 +3,7 @@
 # e2fsprogs
 #
 #############################################################
-E2FSPROGS_VERSION:=1.41.3
+E2FSPROGS_VERSION:=1.41.9
 E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
 E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
 E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VERSION)
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs
  2009-10-06 10:53 [Buildroot] [PATCH] e2fsprogs: bump version number to 1.41.9 Daniel Mack
@ 2009-10-06 10:53 ` Daniel Mack
  2009-10-07 13:33   ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Mack @ 2009-10-06 10:53 UTC (permalink / raw)
  To: buildroot

This patch is needed to make e2fsprogs being linked against
SEM_INIT libraries. In this particular case, it causes the
Makefiles to add -lpthread. Without that, all binaries crash
at startup, at least on x86.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
---
 .../e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100644 package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch

diff --git a/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch b/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
new file mode 100644
index 0000000..56f1cc2
--- /dev/null
+++ b/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
@@ -0,0 +1,11 @@
+--- e2fsprogs-1.41.9/MCONFIG.in.orig	2009-10-07 20:25:07.000000000 +0800
++++ e2fsprogs-1.41.9/MCONFIG.in	2009-10-07 20:21:41.000000000 +0800
+@@ -85,7 +85,7 @@
+ #
+ LIB = $(top_builddir)/lib
+ LIBSS = $(LIB)/libss at LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
+-LIBCOM_ERR = $(LIB)/libcom_err at LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
++LIBCOM_ERR = $(LIB)/libcom_err at LIB_EXT@ @SEM_INIT_LIB@
+ LIBE2P = $(LIB)/libe2p at LIB_EXT@
+ LIBEXT2FS = $(LIB)/libext2fs at LIB_EXT@
+ LIBUUID = @LIBUUID@ @SOCKET_LIB@
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs
  2009-10-06 10:53 ` [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs Daniel Mack
@ 2009-10-07 13:33   ` Peter Korsgaard
  2009-10-07 13:41     ` Daniel Mack
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-10-07 13:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:

 Daniel> This patch is needed to make e2fsprogs being linked against
 Daniel> SEM_INIT libraries. In this particular case, it causes the
 Daniel> Makefiles to add -lpthread. Without that, all binaries crash
 Daniel> at startup, at least on x86.

But your patch removes stuff (PRIVATE_LIBS_CMT), it doesn't add
anything?

 Daniel> +-LIBCOM_ERR = $(LIB)/libcom_err at LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
 Daniel> ++LIBCOM_ERR = $(LIB)/libcom_err at LIB_EXT@ @SEM_INIT_LIB@

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs
  2009-10-07 13:33   ` Peter Korsgaard
@ 2009-10-07 13:41     ` Daniel Mack
  2009-10-07 13:56       ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Mack @ 2009-10-07 13:41 UTC (permalink / raw)
  To: buildroot

On Wed, Oct 07, 2009 at 03:33:02PM +0200, Peter Korsgaard wrote:
> >>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:
> 
>  Daniel> This patch is needed to make e2fsprogs being linked against
>  Daniel> SEM_INIT libraries. In this particular case, it causes the
>  Daniel> Makefiles to add -lpthread. Without that, all binaries crash
>  Daniel> at startup, at least on x86.
> 
> But your patch removes stuff (PRIVATE_LIBS_CMT), it doesn't add
> anything?

The e2fsprog make setup is really screwed. They set PRIVATE_LIBS_CMT to
"#" in configure which then causes all subsequent paramters to get
ignored. As I think 'CMT' stands for 'comment', I guess this is
intended. Took me awhile to find out what they do, too ;)

Daniel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs
  2009-10-07 13:41     ` Daniel Mack
@ 2009-10-07 13:56       ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-10-07 13:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Daniel" == Daniel Mack <daniel@caiaq.de> writes:

 >> But your patch removes stuff (PRIVATE_LIBS_CMT), it doesn't add
 >> anything?

 Daniel> The e2fsprog make setup is really screwed. They set
 Daniel> PRIVATE_LIBS_CMT to "#" in configure which then causes all
 Daniel> subsequent paramters to get ignored. As I think 'CMT' stands
 Daniel> for 'comment', I guess this is intended. Took me awhile to find
 Daniel> out what they do, too ;)

Ahh, ok, thanks for the description.

Committed both patches, thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-07 13:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06 10:53 [Buildroot] [PATCH] e2fsprogs: bump version number to 1.41.9 Daniel Mack
2009-10-06 10:53 ` [Buildroot] [PATCH] e2fsprogs: add a patch to link against SEM_INIT libs Daniel Mack
2009-10-07 13:33   ` Peter Korsgaard
2009-10-07 13:41     ` Daniel Mack
2009-10-07 13:56       ` Peter Korsgaard

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