Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1265732 Details for
Bug 1423864
libldm: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
FTBFS fixes
0001-modern-tooling-FTBFS-fixes.patch (text/plain), 2.17 KB, created by
Yanko Kaneti
on 2017-03-23 12:25:47 UTC
(
hide
)
Description:
FTBFS fixes
Filename:
MIME Type:
Creator:
Yanko Kaneti
Created:
2017-03-23 12:25:47 UTC
Size:
2.17 KB
patch
obsolete
>From 6e0a5040f86e9e819b484ccd3c1867dc3ad908d6 Mon Sep 17 00:00:00 2001 >From: Yanko Kaneti <yaneti@declera.com> >Date: Thu, 23 Mar 2017 14:20:59 +0200 >Subject: [PATCH] modern tooling FTBFS fixes > >--- > libldm-doubleconst.patch | 12 ++++++++++++ > libldm-sysmacros.patch | 11 +++++++++++ > libldm.spec | 4 ++++ > 3 files changed, 27 insertions(+) > create mode 100644 libldm-doubleconst.patch > create mode 100644 libldm-sysmacros.patch > >diff --git a/libldm-doubleconst.patch b/libldm-doubleconst.patch >new file mode 100644 >index 0000000..3098770 >--- /dev/null >+++ b/libldm-doubleconst.patch >@@ -0,0 +1,12 @@ >+diff -ur libldm-0.2.3/src/ldmtool.c libldm-0.2.3-ldmtool/src/ldmtool.c >+--- libldm-0.2.3/src/ldmtool.c 2012-09-20 13:31:03.000000000 +0300 >++++ libldm-0.2.3-ldmtool/src/ldmtool.c 2017-03-23 14:12:56.782546885 +0200 >+@@ -87,7 +87,7 @@ >+ 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 }, >diff --git a/libldm-sysmacros.patch b/libldm-sysmacros.patch >new file mode 100644 >index 0000000..cc97f35 >--- /dev/null >+++ b/libldm-sysmacros.patch >@@ -0,0 +1,11 @@ >+diff -ur libldm-0.2.3/src/ldm.c libldm-0.2.3-sysmajor/src/ldm.c >+--- libldm-0.2.3/src/ldm.c 2012-09-21 13:21:17.000000000 +0300 >++++ libldm-0.2.3-sysmajor/src/ldm.c 2017-03-23 14:19:23.903622659 +0200 >+@@ -31,6 +31,7 @@ >+ #include <sys/ioctl.h> >+ #include <sys/mman.h> >+ #include <sys/stat.h> >++#include <sys/sysmacros.h> >+ #include <unistd.h> >+ #include <uuid/uuid.h> >+ >diff --git a/libldm.spec b/libldm.spec >index 06f92b7..577aa23 100644 >--- a/libldm.spec >+++ b/libldm.spec >@@ -9,6 +9,8 @@ Source0: %{url}/downloads/%{name}-%{version}.tar.gz > Patch0: cast_be64toh.patch > Patch1: libldm-gtype.patch > Patch2: libldm-security.patch >+Patch3: libldm-sysmacros.patch >+Patch4: libldm-doubleconst.patch > > BuildRequires: glib2-devel >= 2.26.0 > BuildRequires: json-glib-devel >= 0.14.0 >@@ -40,6 +42,8 @@ developing applications that use %{name}. > %patch0 -p1 > %patch1 -p1 > %patch2 -p1 >+%patch3 -p1 >+%patch4 -p1 > > > %build >-- >2.12.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1423864
:
1252924
|
1252925
|
1252926
| 1265732