Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37528703
en ru br
ALT Linux repos
S:0.2.5-alt1_1

Group :: System/Libraries
RPM: libldm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-build-with-gcc7.patch
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 },
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin