Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 516998 Details for
Bug 611418
xfce-extra/xfce4-diskperf-plugin-2.6.1 : devperf.c:69:21: error: 'major' redeclared as different kind of symbol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch taken from upstream Git, with small change to patch configure.ac instead of configure.ac.in
xfce4-diskperf-plugin-2.6.1-upstream-fix-for-glibc-update.patch (text/plain), 1.11 KB, created by
Nico R.
on 2018-01-28 14:26:06 UTC
(
hide
)
Description:
patch taken from upstream Git, with small change to patch configure.ac instead of configure.ac.in
Filename:
MIME Type:
Creator:
Nico R.
Created:
2018-01-28 14:26:06 UTC
Size:
1.11 KB
patch
obsolete
>Slightly adapted by Nico, because distributed package does not have >configure.ac.in. > >From 0787a8972be2b95fac26c502a82427299e7e48c0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Sat, 21 Oct 2017 00:14:32 +0200 >Subject: [PATCH] Support <sys/sysmacros.h> include required for glibc-2.25+ > (Fixes #13940) > >--- > configure.ac | 1 + > panel-plugin/devperf.c | 3 +++ > 2 files changed, 4 insertions(+) > >diff --git a/configure.ac b/configure.ac >index 5458dba..fd2d3eb 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -41,6 +41,7 @@ dnl ********************************** > dnl *** Check for standard headers *** > dnl ********************************** > AC_HEADER_STDC() >+AC_CHECK_HEADERS([sys/sysmacros.h]) > AC_CHECK_LIBM > AC_SUBST(LIBM) > >diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c >index 175fd44..29bcb87 100644 >--- a/panel-plugin/devperf.c >+++ b/panel-plugin/devperf.c >@@ -35,6 +35,9 @@ > #include <sys/time.h> > /* for major() and minor() */ > #define _BSD_SOURCE >+#ifdef HAVE_SYS_SYSMACROS_H >+#include <sys/sysmacros.h> >+#endif > #include <sys/types.h> > > >-- >2.16.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 611418
:
465764
|
465766
|
465768
|
465770
|
465772
|
465774
|
465776
|
516996
| 516998 |
517000