aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/disk.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r--gnu/packages/disk.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index a087141a87..0a6e2c9e1f 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -90,7 +90,7 @@ tables. It includes a library and command-line utility.")
(define-public fdisk
(package
(name "fdisk")
- (version "2.0.0a")
+ (version "2.0.0a1")
(source
(origin
(method url-fetch)
@@ -98,13 +98,27 @@ tables. It includes a library and command-line utility.")
version ".tar.gz"))
(sha256
(base32
- "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3"))))
+ "1d8za79kw8ihnp2br084rgyjv9whkwp7957rzw815i0izx6xhqy9"))))
(build-system gnu-build-system)
(inputs
`(("gettext" ,gettext-minimal)
("guile" ,guile-1.8)
("util-linux" ,util-linux)
("parted" ,parted)))
+ ;; The build neglects to look for its own headers in its own tree. A next
+ ;; release should fix this, but may never come: GNU fdisk looks abandoned.
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-broken-header-probes
+ (lambda _
+ (substitute* "backend/configure"
+ (("gnufdisk-common.h .*") "\n"))
+ #t)))
+ #:make-flags (list (string-append "CPPFLAGS="
+ " -I../common/include "
+ " -I../debug/include "
+ " -I../exception/include"))))
(home-page "https://www.gnu.org/software/fdisk/")
(synopsis "Low-level disk partitioning and formatting")
(description
@@ -245,7 +259,7 @@ and a @command{fsck.vfat} compatibility symlink for use in an initrd.")
(define-public sdparm
(package
(name "sdparm")
- (version "1.09")
+ (version "1.10")
(source
(origin
(method url-fetch)
@@ -253,7 +267,7 @@ and a @command{fsck.vfat} compatibility symlink for use in an initrd.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0jakqyjwi72zqjzss04bally0xl0lc4710mx8da08vpmir1hfphg"))))
+ "1jjq3lzgfy4r76rc26q02lv4wm5cb4dx5nh913h489zjrr4f3jbx"))))
(build-system gnu-build-system)
(home-page "http://sg.danny.cz/sg/sdparm.html")
(synopsis "Provide access to SCSI device parameters")