Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 412294 Details for
Bug 560862
kde-frameworks/kdesu-5.13.0 fails to build with musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for ::musl
0001-kde-frameworks-kdesu-Define-the-correct-feature-macr.patch (text/plain), 4.48 KB, created by
Vic Kerr (wikky)
on 2015-09-19 19:35:05 UTC
(
hide
)
Description:
Proposed patch for ::musl
Filename:
MIME Type:
Creator:
Vic Kerr (wikky)
Created:
2015-09-19 19:35:05 UTC
Size:
4.48 KB
patch
obsolete
>From 9ac2f8cf6df6b2a1f8c415450932425bd3ffeaea Mon Sep 17 00:00:00 2001 >From: Wiktor W Brodlo <wiktor@brodlo.net> >Date: Sat, 19 Sep 2015 19:33:14 +0000 >Subject: [PATCH] kde-frameworks/kdesu: Define the correct feature macros. Bug > #560862 > >--- > kde-frameworks/kdesu/Manifest | 4 +++ > .../files/kdesu-5.13.0-feature-macros-musl.patch | 20 +++++++++++++ > kde-frameworks/kdesu/kdesu-5.13.0-r99.ebuild | 35 ++++++++++++++++++++++ > kde-frameworks/kdesu/metadata.xml | 5 ++++ > 4 files changed, 64 insertions(+) > create mode 100644 kde-frameworks/kdesu/Manifest > create mode 100644 kde-frameworks/kdesu/files/kdesu-5.13.0-feature-macros-musl.patch > create mode 100644 kde-frameworks/kdesu/kdesu-5.13.0-r99.ebuild > create mode 100644 kde-frameworks/kdesu/metadata.xml > >diff --git a/kde-frameworks/kdesu/Manifest b/kde-frameworks/kdesu/Manifest >new file mode 100644 >index 0000000..ad6aa90 >--- /dev/null >+++ b/kde-frameworks/kdesu/Manifest >@@ -0,0 +1,4 @@ >+AUX kdesu-5.13.0-feature-macros-musl.patch 444 SHA256 c073b44542df47ee6872093f90567dee1673cd244dfd27951ff47636f9cb01c6 SHA512 8ea004d563033fc22c4d2e37723fcd78518eef724cbc946ec16500a5808146d822db183a0d69ae7096b45075f0eee63a237ea1f0db37b032e4d1b838aac5f3a3 WHIRLPOOL 25aa3eaef25d21d11c0e9bb32ae52626ae4801a7002ac64270a4048f8c32331e84fe3cb1a60711de25980015aa5a64c3a1bf00a93aeeffd6390629b6a45c4148 >+DIST kdesu-5.13.0.tar.xz 43672 SHA256 0f14b9d5926fdbd63f780b006746108f914de933b1c22eac1c1df2fc5aa32310 SHA512 240a613baab52e20172c8169d62e924eb570876c278f99a3475ac5160dd35c123a9843c327d5dec84e82378467d150ef7318abfc2b635216f6017e4f7f641290 WHIRLPOOL 601d9822a2b3c309b30dc19b68adb301e7d5937c353505425311908713f4b9da1d66eee2806e1f72113303ea862f7a4f1ea667f71114d0d65196ad7ca6caf938 >+EBUILD kdesu-5.13.0-r99.ebuild 669 SHA256 1910f519460e8a2e74623201d67aa6437d77c3d298c013d00734008d38b23c18 SHA512 e26f539365b4ef2e8706d0329a9b0e496acccb6dfb3f87f92b1d3dc7aa42ac04ec22b44c7604a88700487f20e7bcd8e2173b06d8c3d256d32f887eb0c784f9b2 WHIRLPOOL 78cbe31da1c5c39e5d7fd6a6a9d6e051f2c5fd931b34e96b2d5a43b8da2436904ced96a615853f1c83546d1ba062e60a6e711a8f508b7932bb9116826a54c8c8 >+MISC metadata.xml 157 SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892 SHA512 657d6b0a31ceb7ac10bedfd5cbd634d4ff47938bd2f321203f0233e53686f7e0fd460e81f82793804895c7e97cfa472c1ca44b93314574262ee8cc5745a3efd0 WHIRLPOOL 785331909f1834cdd5d797ad484ea0e35c3e44c79a8a7517a6fb5de926acd181abd57910c8d960fb2e11ea38ddea336bca309af16fcc2df68fe4b602bca120b3 >diff --git a/kde-frameworks/kdesu/files/kdesu-5.13.0-feature-macros-musl.patch b/kde-frameworks/kdesu/files/kdesu-5.13.0-feature-macros-musl.patch >new file mode 100644 >index 0000000..ca62827 >--- /dev/null >+++ b/kde-frameworks/kdesu/files/kdesu-5.13.0-feature-macros-musl.patch >@@ -0,0 +1,20 @@ >+diff -ru a/src/kdesu_stub.c b/src/kdesu_stub.c >+--- a/src/kdesu_stub.c 2015-09-05 17:23:13.675568681 +0000 >++++ b/src/kdesu_stub.c 2015-09-05 17:22:56.911569069 +0000 >+@@ -38,6 +38,8 @@ >+ * - environment Additional envvars strings, last one is empty >+ */ >+ >++#define _XOPEN_SOURCE >++ >+ #include <config-kdesu.h> >+ >+ #include <stdio.h> >+@@ -50,6 +52,7 @@ >+ #include <signal.h> >+ >+ #if HAVE_INITGROUPS >++#define _BSD_SOURCE >+ #include <grp.h> >+ #endif >+ >diff --git a/kde-frameworks/kdesu/kdesu-5.13.0-r99.ebuild b/kde-frameworks/kdesu/kdesu-5.13.0-r99.ebuild >new file mode 100644 >index 0000000..863cef8 >--- /dev/null >+++ b/kde-frameworks/kdesu/kdesu-5.13.0-r99.ebuild >@@ -0,0 +1,35 @@ >+# Copyright 1999-2015 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Id$ >+ >+EAPI=5 >+ >+KDE_TEST="false" >+inherit eutils kde5 >+ >+DESCRIPTION="Framework to handle super user actions" >+LICENSE="LGPL-2" >+KEYWORDS="~amd64 ~x86" >+IUSE="X" >+ >+RDEPEND=" >+ $(add_frameworks_dep kconfig) >+ $(add_frameworks_dep kcoreaddons) >+ $(add_frameworks_dep ki18n) >+ $(add_frameworks_dep kpty) >+ $(add_frameworks_dep kservice) >+ X? ( x11-libs/libX11 ) >+" >+DEPEND="${RDEPEND} >+ X? ( x11-proto/xproto ) >+" >+ >+src_configure() { >+ epatch "${FILESDIR}"/${PN}-5.13.0-feature-macros-musl.patch >+ >+ local mycmakeargs=( >+ $(cmake-utils_use_find_package X X11) >+ ) >+ >+ kde5_src_configure >+} >diff --git a/kde-frameworks/kdesu/metadata.xml b/kde-frameworks/kdesu/metadata.xml >new file mode 100644 >index 0000000..a23f444 >--- /dev/null >+++ b/kde-frameworks/kdesu/metadata.xml >@@ -0,0 +1,5 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> >+<pkgmetadata> >+ <herd>kde</herd> >+</pkgmetadata> >-- >2.4.6 >
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 560862
:
412294
|
428478