[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

patch to parted-1.7.1



Hi all,
         The patch file attached with this mail will patch parted-1.7.1 and it has been tested to build parted after patching with this. If there are any problems with the build again, please inform me. The version of parted on which this patch is generated is obtained through *apt-get source parted* on Debian Hurd K-16. And the .deb binaries I have built as a part of testing is available at http://madhusudancs.info/parted-hurdi386. The .changes file points at the previous change as I had forgotten to make the debian/changelog entry before building. I am really sorry. But the patch is very clear on what the changes are done. I need to build the packages again. I will make the necessary changelog entries and build. Please inform me about this.

--
Thanks and regards,
Madhusudan.C.S

Blogs at: www.madhusudancs.info
--- partedorig/parted-1.7.1/debian/patches/00list	2007-01-22 16:13:06.000000000 +0530
+++ parted/parted-1.7.1/debian/patches/00list	2008-05-09 23:25:22.000000000 +0530
@@ -11,7 +11,6 @@ parted-print-name
 
 # Will also stay debian specific, but depends on some of the above :/
 lvm2
-s390
 sparc-fix-raid
 
 # Patch which may be obsolet.
--- partedorig/parted-1.7.1/parted/ui.c	2007-03-06 14:38:52.000000000 +0530
+++ parted/parted-1.7.1/parted/ui.c	2008-05-25 19:50:02.000000000 +0530
@@ -1181,7 +1181,7 @@ init_ui ()
 	readline_state.in_readline = 0;
 #endif
 
-#ifdef HAVE_SIGACTION
+#ifdef HAVE_SIGINFO
     sigset_t curr;
     sigfillset (&curr);
 
@@ -1204,7 +1204,7 @@ init_ui ()
     sigaction (SIGINT, &sig_int, NULL);
     sigaction (SIGFPE, &sig_fpe, NULL);
     sigaction (SIGILL, &sig_ill, NULL);
-#endif /* HAVE_SIGACTION */
+#endif /* HAVE_SIGINFO */
 
     return 1;
 }
--- partedorig/parted-1.7.1/libparted/arch/gnu.c	2006-05-25 22:59:06.000000000 +0530
+++ parted/parted-1.7.1/libparted/arch/gnu.c	2008-05-10 01:31:53.000000000 +0530
@@ -656,7 +656,7 @@ doggy_first_block_write:
 
 	/* We are now left with (strictly) less then a store block to write
 	   to disk.  Thus, we read the block, overlay the buffer and flush.  */
-	PED_ASSERT (count * PED_SECTOR_SIZE
+	PED_ASSERT (count * PED_SECTOR_SIZE_DEFAULT
 			< arch_specific->store->block_size, return 0);
 
 doggy_last_block_read:

Reply to: