From c5363255c8077b1d8dba234cf534eb730394111f Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 16 Mar 2016 13:00:08 +0100 Subject: Rebase the libpci patch for kinfocenter. --- kde/patch/kinfocenter/kinfocenter_libpci.patch | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kde/patch/kinfocenter/kinfocenter_libpci.patch b/kde/patch/kinfocenter/kinfocenter_libpci.patch index 24dc265..a2bc007 100644 --- a/kde/patch/kinfocenter/kinfocenter_libpci.patch +++ b/kde/patch/kinfocenter/kinfocenter_libpci.patch @@ -1,9 +1,13 @@ ---- kinfocenter-4.96.0/cmake/FindPCIUTILS.cmake.orig 2014-05-22 15:11:30.928207370 +0200 -+++ kinfocenter-4.96.0/cmake/FindPCIUTILS.cmake 2014-05-22 15:19:31.091188117 +0200 -@@ -19,6 +19,10 @@ +--- kinfocenter-5.5.5/cmake/FindPCIUTILS.cmake.orig 2016-03-01 14:32:01.000000000 +0100 ++++ kinfocenter-5.5.5/cmake/FindPCIUTILS.cmake 2016-03-11 13:00:12.412315320 +0100 +@@ -19,6 +19,14 @@ else(RESOLV_LIBRARY) set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARY}) endif(RESOLV_LIBRARY) ++ FIND_LIBRARY(UDEV_LIBRARY NAMES udev) ++ if(UDEV_LIBRARY) ++ set(PCIUTILS_LIBRARIES ${PCIUTILS_LIBRARIES} ${UDEV_LIBRARY}) ++ endif(UDEV_LIBRARY) + FIND_LIBRARY(ZLIB_LIBRARY NAMES z) + if(ZLIB_LIBRARY) + set(ZLIB_LIBRARIES ${ZLIB_LIBRARY}) -- cgit v1.2.3