public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xvkbd/files/, x11-misc/xvkbd/
Date: Fri, 31 Jan 2020 11:53:07 +0000 (UTC)	[thread overview]
Message-ID: <1580471583.35db8d18eeb785d6cf17b660ba1bacb1f6fad6b5.jer@gentoo> (raw)

commit:     35db8d18eeb785d6cf17b660ba1bacb1f6fad6b5
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 11:52:42 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 11:53:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35db8d18

x11-misc/xvkbd: Fix CFLAGS=-fno-common

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=707430
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch | 22 ++++++++++++++++++++++
 x11-misc/xvkbd/xvkbd-4.0.ebuild                 |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch b/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch
new file mode 100644
index 00000000000..1ca0db04856
--- /dev/null
+++ b/x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/resources.h
++++ b/resources.h
+@@ -19,7 +19,7 @@
+ # define PROGRAM_NAME "xvkbd"
+ #endif
+ 
+-struct appres_struct {
++extern struct appres_struct {
+   String description;
+   String show_manual_command;
+ 
+--- a/xvkbd.c
++++ b/xvkbd.c
+@@ -500,6 +500,8 @@
+ 
+ static Pixmap xvkbd_pixmap = None;
+ 
++struct appres_struct appres;
++
+ static int AddKeysym(KeySym keysym, Boolean top);  /* forward */
+ static void MakeKeyboard(Boolean remake);
+ static void MakeKeypad(Widget form, Widget from_vert, Widget from_horiz);

diff --git a/x11-misc/xvkbd/xvkbd-4.0.ebuild b/x11-misc/xvkbd/xvkbd-4.0.ebuild
index 90d49c1f04f..90be10d4030 100644
--- a/x11-misc/xvkbd/xvkbd-4.0.ebuild
+++ b/x11-misc/xvkbd/xvkbd-4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,6 +27,7 @@ DEPEND="
 "
 PATCHES=(
 	"${FILESDIR}"/${PN}-4.0-destdir.patch
+	"${FILESDIR}"/${PN}-4.0-fno-common.patch
 )
 
 src_prepare() {


             reply	other threads:[~2020-01-31 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 11:53 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-04  6:52 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xvkbd/files/, x11-misc/xvkbd/ Jeroen Roovers

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=1580471583.35db8d18eeb785d6cf17b660ba1bacb1f6fad6b5.jer@gentoo \
    --to=jer@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