[v2,2/3] e2fsprogs: flat: Add patch to append uuid link flag after the blkid link flags when checking the blkid library in the FLAT binary mode.

Submitted by Sonic Zhang on Nov. 15, 2013, 9:06 a.m.

Details

Message ID 1384506378-2818-2-git-send-email-Sonic.adi@gmail.com
State Superseded
Headers show

Commit Message

Sonic Zhang Nov. 15, 2013, 9:06 a.m.
From: Sonic Zhang <sonic.zhang@analog.com>

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
---
 ...ogs-0003-append-uuid-link-flag-for-flat-linker.patch | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch

Comments

Thomas De Schampheleire Nov. 15, 2013, 9:19 a.m.
Hi Sonic,

On Fri, Nov 15, 2013 at 10:06 AM,  <sonic.adi@gmail.com> wrote:
> From: Sonic Zhang <sonic.zhang@analog.com>
>
> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
> ---
>  ...ogs-0003-append-uuid-link-flag-for-flat-linker.patch | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch
>
> diff --git a/package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch b/package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch

Thanks for your change.
I see that the e2fsprogs already has a patch, not following the
correct file naming. Do you care to make an extra patch against
buildroot to rename that patch?

Thanks,
Thomas

Patch hide | download patch | download mbox

diff --git a/package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch b/package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch
new file mode 100644
index 0000000..d37e465
--- /dev/null
+++ b/package/e2fsprogs/e2fsprogs-0003-append-uuid-link-flag-for-flat-linker.patch
@@ -0,0 +1,17 @@ 
+Append uuid link flag after the blkid link flags when checking the blkid
+library in the FLAT binary mode.
+
+Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
+
+--- e2fsprogs-1.42.4/configure	2012-05-29 09:29:48.000000000 +0800
++++ e2fsprogs-1.42.4.nommu/configure	2012-09-25 11:28:39.822106303 +0800
+@@ -5039,6 +5039,9 @@
+ else
+   ac_check_lib_save_LIBS=$LIBS
+ LIBS="-lblkid $LIBBLKID $LIBS"
++if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then
++	LIBS="$LIBS -luuid"
++fi
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+