xorg-gtest CPPflags string aren't properly quoted with new pkg-config
@3v1n0
Submitted by Marco Trevisan Assigned to Xorg Project Team
Description
Created attachment 120222 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
Attachment 120222, "xorg-gtest.pc.in-Fix-CPPflags-escaping-for-string-pa.patch":
0001-xorg-gtest.pc.in-Fix-CPPflags-escaping-for-string-pa.patch