diff options
author | Bernd Waibel <waebbl-gentoo@posteo.net> | 2021-10-21 07:12:46 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-24 04:06:07 +0000 |
commit | 627f06a62019f29f43fb5f542865b2274cdfc210 (patch) | |
tree | f503302ac518af1dabc9787caa83f3a48e17d4bd /media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch | |
parent | media-libs/lib3mf: bump to 2.2.0 (diff) | |
download | gentoo-627f06a62019f29f43fb5f542865b2274cdfc210.tar.gz gentoo-627f06a62019f29f43fb5f542865b2274cdfc210.tar.bz2 gentoo-627f06a62019f29f43fb5f542865b2274cdfc210.zip |
media-gfx/openscad: fix search for lib3mf
Reported-by: Jan Psota <jasiu@belsznica.pl>
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/22650
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch')
-rw-r--r-- | media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch b/media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch new file mode 100644 index 000000000000..a448deec37da --- /dev/null +++ b/media-gfx/openscad/files/openscad-9999-fix-pkg-config-name-and-include-directory-search.patch @@ -0,0 +1,31 @@ +From 2483ee56960c99c35036273fc9fc2877eac772fc Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Wed, 20 Oct 2021 19:46:08 +0200 +Subject: [PATCH] fix pkg-config name and include directory search + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- + cmake/Modules/FindLib3MF.cmake | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/cmake/Modules/FindLib3MF.cmake b/cmake/Modules/FindLib3MF.cmake +index 44858364..ad2f01ca 100644 +--- a/cmake/Modules/FindLib3MF.cmake ++++ b/cmake/Modules/FindLib3MF.cmake +@@ -14,11 +14,11 @@ + # Travis CI Ubuntu Trusty environment has some issue with pkg-config + # not finding the version. + find_package(PkgConfig REQUIRED QUIET) +-pkg_check_modules(PC_LIB3MF lib3MF) ++pkg_check_modules(PC_LIB3MF lib3mf) + set(LIB3MF_VERSION ${PC_LIB3MF_VERSION}) + + find_path(LIB3MF_INCLUDE_DIRS +- NAMES Model/COM/NMR_DLLInterfaces.h ++ NAMES lib3mf_implicit.hpp + HINTS $ENV{LIB3MF_INCLUDEDIR} + ${PC_LIB3MF_INCLUDEDIR} + ${PC_LIB3MF_INCLUDE_DIRS} +-- +2.33.1 + |