File U_xf86-video-qxl-spiceccid-build.patch of Package xf86-video-qxl
Author: Dominique Leuenberger <dimstar@opensuse.org> Subject: spiceccid: add the correct CFLAGS when buildig spiceccid spiceccid imports headers of pcsc-lite and libcacard; there is no guarantee that all headers we need are in a path we expect. That's the reason for pkg-config files to specify where the headers are to be found. libcacard 2.5.2 changes sufficiently to expose this issue Index: xf86-video-qxl-0.1.4/src/spiceccid/Makefile.am =================================================================== --- xf86-video-qxl-0.1.4.orig/src/spiceccid/Makefile.am +++ xf86-video-qxl-0.1.4/src/spiceccid/Makefile.am @@ -23,6 +23,7 @@ AM_CFLAGS = $(LIBPCSCLITE_CFLAGS) if BUILD_SPICECCID libspiceccid_la_LTLIBRARIES = libspiceccid.la +libspiceccid_la_CFLAGS = $(LIBCACARD_CFLAGS) $(LIBPCSCLITE_CFLAGS) libspiceccid_la_LDFLAGS = $(LIBPCSCLITE_LDFLAGS) libspiceccid_la_SOURCES = spiceccid.c libspiceccid_ladir = @cciddir@/