From a1d21e0f42a134e02101e5b6073b265dff3d10d5 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Thu, 23 Nov 2006 19:20:07 +0000 Subject: [PATCH] fixed issue with libparted detection (#330776) add FIXME * configure.in: fixed issue with libparted detection (#330776) * src/GParted_Core.cc: add FIXME --- ChangeLog | 5 +++++ configure.in | 2 +- src/GParted_Core.cc | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 18bb6581..80d5a3e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-23 Bart Hakvoort + + * configure.in: fixed issue with libparted detection (#330776) + * src/GParted_Core.cc: add FIXME + 2006-11-08 Matic Zgur * configure.in: Added sl (Slovenian) to ALL_LINGUAS. diff --git a/configure.in b/configure.in index fdadce15..3d94e108 100644 --- a/configure.in +++ b/configure.in @@ -36,7 +36,7 @@ dnl libparted LIBPARTED_VERSION=1.7.1 AC_MSG_CHECKING(for libparted >= $LIBPARTED_VERSION) LIBS_save="$LIBS" -LIBS="-lparted" +LIBS="-lparted -luuid -ldl" AC_TRY_RUN( #include #include diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 1845dc36..dcd04406 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -306,6 +306,8 @@ bool GParted_Core::apply_operation_to_disk( Operation * operation ) succes = format( operation ->partition_new, operation ->operation_detail ) ; break ; case OPERATION_COPY: + //FIXME: in case of a new partition we should make sure the new partition is >= the source partition... + //i think it's best to do this in the dialog_paste succes = ( operation ->partition_original .type == TYPE_UNALLOCATED || calibrate_partition( operation ->partition_new, operation ->operation_detail ) ) &&