summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-02-01 18:32:46 +0100
committerMichael Weber <xmw@gentoo.org>2017-02-01 18:33:01 +0100
commit64be6ff3b3f656796f82582e39c7dbd164094c49 (patch)
treef3b038a9cde6f065f8672b6c7a9ad0186a0afd2c /x11-wm/xpra/files
parentapp-admin/setools: Drop arm, arm64 and mips keywords (needed deps are not ava... (diff)
downloadgentoo-64be6ff3b3f656796f82582e39c7dbd164094c49.tar.gz
gentoo-64be6ff3b3f656796f82582e39c7dbd164094c49.tar.bz2
gentoo-64be6ff3b3f656796f82582e39c7dbd164094c49.zip
x11-wm/xpra: do not interfere with '--param key=value' gcc args (bug 607776, thanks Fabian Henze and Hendrik v. Raven).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'x11-wm/xpra/files')
-rw-r--r--x11-wm/xpra/files/xpra-1.0.1-cflags-param.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-wm/xpra/files/xpra-1.0.1-cflags-param.patch b/x11-wm/xpra/files/xpra-1.0.1-cflags-param.patch
new file mode 100644
index 000000000000..11dbb81ae7bf
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-1.0.1-cflags-param.patch
@@ -0,0 +1,17 @@
+--- xpra-1.0.1/setup.py
++++ xpra-1.0.1/setup.py
+@@ -696,7 +696,14 @@
+ for s in (pkg_config_out, env_cflags, env_ldflags):
+ if not s:
+ continue
++ ahead = False
+ for token in s.split():
++ if token == '--param':
++ ahead = True
++ continue
++ if ahead:
++ ahead = False
++ continue
+ if token[:2] in ignored_flags:
+ pass
+ elif token[:2] in flag_map: