Package-Manager: Portage-2.3.3, Repoman-2.3.1
--- /dev/null
+--- 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:
epatch \
"${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch \
- "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch \
+ "${FILESDIR}"/${PN}-1.0.1-cflags-param.patch
if use libav ; then
if ! has_version ">=media-video/libav-9" ; then