unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 4e678f7fd4129e0630e9fcf8c27ea2e9d26e5ea1 581 bytes (raw)
name: packages/patches/gemrb-add-path-suffixes-for-vlc-headers.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
Add PATH_SUFFIXES to look inside the sub-directory `vlc` - the original statement
only check for `vlc.h` inside the directory `include`, `bin`, etc.
In Guix, however, `vlc.h` lies inside `/gnu/store/<hash>-vlc-x.y.z/include/vlc/vlc.h`

--- a/cmake/modules/FindLIBVLC.cmake
+++ b/cmake/modules/FindLIBVLC.cmake
@@ -29,7 +29,7 @@ FIND_PATH(LIBVLC_INCLUDE_DIR vlc/vlc.h
   c:/msys/local/include
   NO_DEFAULT_PATH
   )
-FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h)
+FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h PATH_SUFFIXES vlc)
 
 #Put here path to custom location
 #example: /home/user/vlc/lib etc..

debug log:

solving 4e678f7fd4129e0630e9fcf8c27ea2e9d26e5ea1 ...
found 4e678f7fd4129e0630e9fcf8c27ea2e9d26e5ea1 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).