public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kwin/, kde-plasma/kwin/files/
Date: Tue, 19 Apr 2016 16:09:54 +0000 (UTC)	[thread overview]
Message-ID: <1461082069.059c31670c57e299982d417b871026905d3cd2d4.johu@gentoo> (raw)

commit:     059c31670c57e299982d417b871026905d3cd2d4
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 16:07:49 2016 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 16:07:49 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=059c3167

kde-plasma/kwin: Fix build with future glibc

Patch by Andreas Sturmlechner <andreas.sturmlechner <AT> gmail.com>,
https://git.reviewboard.kde.org/r/127662.

Gentoo-bug: 580042

Package-Manager: portage-2.2.28

 .../kwin/files/kwin-5.6.3-glibc-sysmacros.patch    | 24 ++++++++++++++++++++++
 kde-plasma/kwin/kwin-5.6.3.ebuild                  |  2 ++
 kde-plasma/kwin/kwin-5.6.49.9999.ebuild            |  2 ++
 kde-plasma/kwin/kwin-9999.ebuild                   |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/kde-plasma/kwin/files/kwin-5.6.3-glibc-sysmacros.patch b/kde-plasma/kwin/files/kwin-5.6.3-glibc-sysmacros.patch
new file mode 100644
index 0000000..06016e0
--- /dev/null
+++ b/kde-plasma/kwin/files/kwin-5.6.3-glibc-sysmacros.patch
@@ -0,0 +1,24 @@
+diff --git a/logind.cpp b/logind.cpp
+index 22a86cdfceaac3138a186cb2f7ab3eae674a1c77..7be9366614c0b70808c6944161a5801773f34a24 100644
+--- a/logind.cpp
++++ b/logind.cpp
+@@ -28,6 +28,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ #include <QDBusUnixFileDescriptor>
+ 
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <unistd.h>
+ #include "utils.h"
+ 
+diff --git a/virtual_terminal.cpp b/virtual_terminal.cpp
+index 40628315620e3d943b7ae0462c4415072fc256b8..8ceb74d3adaae610d99fa7e8349d93cea366d2e8 100644
+--- a/virtual_terminal.cpp
++++ b/virtual_terminal.cpp
+@@ -36,6 +36,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ #include <sys/ioctl.h>
+ #include <sys/signalfd.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ 
+ #define RELEASE_SIGNAL SIGUSR1
+ #define ACQUISITION_SIGNAL SIGUSR2

diff --git a/kde-plasma/kwin/kwin-5.6.3.ebuild b/kde-plasma/kwin/kwin-5.6.3.ebuild
index 566e23a..401efc2 100644
--- a/kde-plasma/kwin/kwin-5.6.3.ebuild
+++ b/kde-plasma/kwin/kwin-5.6.3.ebuild
@@ -84,6 +84,8 @@ DEPEND="${COMMON_DEPEND}
 	test? (	x11-libs/xcb-util-wm )
 "
 
+PATCHES=( "${FILESDIR}/${P}-glibc-sysmacros.patch" )
+
 src_prepare() {
 	kde5_src_prepare
 	use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"

diff --git a/kde-plasma/kwin/kwin-5.6.49.9999.ebuild b/kde-plasma/kwin/kwin-5.6.49.9999.ebuild
index e92ff08..40b5b4a 100644
--- a/kde-plasma/kwin/kwin-5.6.49.9999.ebuild
+++ b/kde-plasma/kwin/kwin-5.6.49.9999.ebuild
@@ -84,6 +84,8 @@ DEPEND="${COMMON_DEPEND}
 	test? (	x11-libs/xcb-util-wm )
 "
 
+PATCHES=( "${FILESDIR}/${PN}-5.6.3-glibc-sysmacros.patch" )
+
 src_prepare() {
 	kde5_src_prepare
 	use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"

diff --git a/kde-plasma/kwin/kwin-9999.ebuild b/kde-plasma/kwin/kwin-9999.ebuild
index e92ff08..40b5b4a 100644
--- a/kde-plasma/kwin/kwin-9999.ebuild
+++ b/kde-plasma/kwin/kwin-9999.ebuild
@@ -84,6 +84,8 @@ DEPEND="${COMMON_DEPEND}
 	test? (	x11-libs/xcb-util-wm )
 "
 
+PATCHES=( "${FILESDIR}/${PN}-5.6.3-glibc-sysmacros.patch" )
+
 src_prepare() {
 	kde5_src_prepare
 	use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"


             reply	other threads:[~2016-04-19 16:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 16:09 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-13 21:05 [gentoo-commits] proj/kde:master commit in: kde-plasma/kwin/, kde-plasma/kwin/files/ Andreas Sturmlechner
2024-03-08 20:17 Andreas Sturmlechner
2023-12-02 20:30 Andreas Sturmlechner
2021-02-15 14:48 Andreas Sturmlechner
2020-06-08 12:34 Andreas Sturmlechner
2020-06-07 22:45 Andreas Sturmlechner
2019-08-06 23:02 Andreas Sturmlechner
2019-03-22 22:48 Andreas Sturmlechner
2017-06-13 21:09 Andreas Sturmlechner
2016-09-17 17:50 Michael Palimaka
2015-09-03 10:53 Michael Palimaka
2015-06-11 20:55 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1461082069.059c31670c57e299982d417b871026905d3cd2d4.johu@gentoo \
    --to=johu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox