forked from pool/util-linux
- add fdisk-dont-shorten-long-path-to-disk.patch (bnc#722959)
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=96
This commit is contained in:
parent
cfed2efb65
commit
547b28ab26
32
fdisk-dont-shorten-long-path-to-disk.patch
Normal file
32
fdisk-dont-shorten-long-path-to-disk.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 8176a344041c7a2b7bf6f05353bf9414c9d3b254 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Wed, 12 Oct 2011 10:15:58 +0200
|
||||||
|
Subject: [PATCH] fdisk: don't shorten long path to disk device
|
||||||
|
|
||||||
|
Reported-by: Petr Uzel <petr.uzel@suse.cz>
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
|
||||||
|
---
|
||||||
|
fdisk/partname.c | 3 ++-
|
||||||
|
1 files changed, 2 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
Index: util-linux-2.20/fdisk/partname.c
|
||||||
|
===================================================================
|
||||||
|
--- util-linux-2.20.orig/fdisk/partname.c
|
||||||
|
+++ util-linux-2.20/fdisk/partname.c
|
||||||
|
@@ -5,13 +5,14 @@
|
||||||
|
#include "blkdev.h"
|
||||||
|
#include "pathnames.h"
|
||||||
|
#include "common.h"
|
||||||
|
+#include "c.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* return partition name - uses static storage unless buf is supplied
|
||||||
|
*/
|
||||||
|
char *
|
||||||
|
partname(char *dev, int pno, int lth) {
|
||||||
|
- static char bufp[80];
|
||||||
|
+ static char bufp[PATH_MAX];
|
||||||
|
char *p;
|
||||||
|
int w, wp;
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 12 09:26:40 UTC 2011 - puzel@suse.com
|
||||||
|
|
||||||
|
- add fdisk-dont-shorten-long-path-to-disk.patch (bnc#722959)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 4 11:32:11 UTC 2011 - uli@suse.com
|
Tue Oct 4 11:32:11 UTC 2011 - uli@suse.com
|
||||||
|
|
||||||
|
@ -89,6 +89,7 @@ Patch2: util-linux-2.17.1-mount_losetup_crypto.patch
|
|||||||
Patch3: util-linux-sfdisk-manpage-fix.patch
|
Patch3: util-linux-sfdisk-manpage-fix.patch
|
||||||
Patch4: util-linux-lib-sysfs-deinit.patch
|
Patch4: util-linux-lib-sysfs-deinit.patch
|
||||||
Patch5: util-linux-2.20-libmount-deps.patch
|
Patch5: util-linux-2.20-libmount-deps.patch
|
||||||
|
Patch6: fdisk-dont-shorten-long-path-to-disk.patch
|
||||||
|
|
||||||
##
|
##
|
||||||
## adjtimex
|
## adjtimex
|
||||||
@ -193,6 +194,7 @@ Files to develop applications using the libmount library.
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%patch6 -p1
|
||||||
|
|
||||||
#
|
#
|
||||||
cd adjtimex-*
|
cd adjtimex-*
|
||||||
|
Loading…
Reference in New Issue
Block a user