Group :: System/Libraries
RPM: libldm
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: fix-build-with-gcc7.patch
Download
Download
diff -up ./src/ldm.c.tv ./src/ldm.c
--- ./src/ldm.c.tv 2017-09-21 17:29:24.468108637 +0200
+++ ./src/ldm.c 2017-09-21 17:30:41.365482525 +0200
@@ -33,6 +33,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <uuid/uuid.h>
+#include <sys/sysmacros.h>
#include "mbr.h"
#include "gpt.h"
diff -up ./src/ldmtool.c.tv ./src/ldmtool.c
--- ./src/ldmtool.c.tv 2017-09-21 17:29:24.467108619 +0200
+++ ./src/ldmtool.c 2017-09-21 17:29:51.644594186 +0200
@@ -87,7 +87,7 @@ typedef struct {
const _action_t action;
} _command_t;
-static const _command_t const commands[] = {
+static const _command_t commands[] = {
{ "scan", ldm_scan },
{ "show", ldm_show },
{ "create", ldm_create },