Bug 93191 - xorg-gtest CPPflags string aren't properly quoted with new pkg-config
Summary: xorg-gtest CPPflags string aren't properly quoted with new pkg-config
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 09:48 UTC by Marco Trevisan (Treviño)
Modified: 2015-12-01 09:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg-gtest.pc.in-Fix-CPPflags-escaping-for-string-pa.patch (957 bytes, text/plain)
2015-12-01 09:48 UTC, Marco Trevisan (Treviño)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Trevisan (Treviño) 2015-12-01 09:48:05 UTC
Created attachment 120222 [details]
xorg-gtest.pc.in-Fix-CPPflags-escaping-for-string-pa.patch

As per the pkg-config fix for Bug 67904, xorg-gtest CPPflags aren't properly escaped anymore.

old_behavior $ pkg-config --variable=CPPflags xorg-gtest 
-I/usr/include -I/usr/include/xorg -I/usr/src/xorg-gtest -DDUMMY_CONF_PATH=\"/usr/share/xorg/gtest/dummy.conf\" -DLOGFILE_DIR=\"/tmp\"


new_behavior $ pkg-config --variable=CPPflags xorg-gtest 
-I/usr/include -I/usr/include/xorg -I/usr/src/xorg-gtest -DDUMMY_CONF_PATH=/usr/share/xorg/gtest/dummy.conf -DLOGFILE_DIR=/tmp

Attached is a patch that fixes this


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.