[Pkg-utopia-commits] r1083 - in packages/unstable/hal/debian: . patches

Michael Biebl biebl at costa.debian.org
Fri Oct 20 16:44:13 UTC 2006


Author: biebl
Date: 2006-10-20 16:44:12 +0000 (Fri, 20 Oct 2006)
New Revision: 1083

Added:
   packages/unstable/hal/debian/patches/15_partition_probing.patch
Modified:
   packages/unstable/hal/debian/changelog
Log:
Backport a patch for problems with extended partition tables. Taken from http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=51b841cd59a73fc093535ddd9e512d3036ebbbc4


Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog	2006-10-20 08:00:50 UTC (rev 1082)
+++ packages/unstable/hal/debian/changelog	2006-10-20 16:44:12 UTC (rev 1083)
@@ -2,8 +2,10 @@
 
   * debian/control
     - Added a Recommends on eject to the hal package.
+  * 15_partition_probing.patch
+    - Added. Fixes problems with extended partition tables. (Closes: #393245)
 
- -- Michael Biebl <biebl at debian.org>  Thu, 19 Oct 2006 18:09:17 +0200
+ -- Michael Biebl <biebl at debian.org>  Fri, 20 Oct 2006 18:41:02 +0200
 
 hal (0.5.8.1-2) unstable; urgency=low
 

Added: packages/unstable/hal/debian/patches/15_partition_probing.patch
===================================================================
--- packages/unstable/hal/debian/patches/15_partition_probing.patch	                        (rev 0)
+++ packages/unstable/hal/debian/patches/15_partition_probing.patch	2006-10-20 16:44:12 UTC (rev 1083)
@@ -0,0 +1,15 @@
+diff --git a/partutil/partutil.c b/partutil/partutil.c
+index 5da36d5..3a2c87b 100644
+--- a/partutil/partutil.c
++++ b/partutil/partutil.c
+@@ -585,7 +585,9 @@ part_table_parse_msdos (int fd, guint64 
+ 
+ 		//HAL_INFO (("pe = %p", pe));
+ 
+-		p->entries = g_slist_append (p->entries, pe);
++		if (pe != NULL) {
++			p->entries = g_slist_append (p->entries, pe);
++		}
+ 	}
+ 
+ out:




More information about the Pkg-utopia-commits mailing list